THE SAME EXPLORER, IN YOUR TERMINAL

Take Twig
offline.

Explore JSON, YAML, and HAR from your terminal. Keep the navigation, shortcuts, and Dark/Light themes you know from the web, with local file access and support for larger files.

Linux · macOS · Windows x64
Free and open source. Your files stay on your machine.

FROM THE WHOLE FILE TO ONE VALUE
{ } infrastructure.json object
↳ regions array
↳ [0] eu-west-1
↳ status "healthy"
.regions[0].status PATH TO THE SELECTED VALUE
Follow a branch.
Keep its context.
INSTALL TWIG

Install once.
Open any time.

Choose your platform. Each installer downloads a release, verifies its checksum and version, and installs the terminal app for your account.

No Rust or Python needed for a prebuilt release.

Full installation guide ↗
BASH / ZSH
curl -fsSL https://twig.wtf/install.sh | bash

For macOS and Linux with GNU libc. Installs to ~/.local/bin. Requires Bash, curl, and tar.

  1. Run the command in your terminal.
  2. Add ~/.local/bin to PATH if the installer asks.
  3. Run twig --version to check the installation.
macOS / Linux instructions ↗
BROWSER AND TERMINAL · ONE RUST COREJSON { }YAML – :HAR ↗No uploads. No account.
FIND

Find a key or value.

Search keys and values with /, move between matches with n and N, or jump to a known path with :.

All keyboard controls ↗
KEEP

Choose what stays on disk.

The terminal app stores parsed data in an unencrypted local cache. Use --no-cache for temporary disk storage, or --clear-cache to remove saved caches.

Understand local storage ↗
COPY

Copy the value you need.

Copy a path with c or the selected value with y. Copy exports the complete selection up to 10,000 nodes; the inspector remains a limited preview.

Copy and preview limits ↗
CLI COMMANDS

Format, repair,
or validate.

Format an API response, repair malformed JSON, or check a file without opening the interface.

See the CLI reference ↗
01

Format JSON with readable indentation

twig --print response.json --indent 4
02

Repair JSON into a separate file

twig --fix broken.json -o repaired.json
03

Check a file without keeping a cache

twig --check --no-cache data.json
BUILT IN THE OPEN

Help improve Twig.

Report a bug, clarify the docs, or contribute code. Include a small example with private data removed. The contributor guide covers both interfaces, tests, and releases.

Contribute to Twig ↗