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.
Keep its context.
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 ↗curl -fsSL https://twig.wtf/install.sh | bash
For macOS and Linux with GNU libc. Installs to ~/.local/bin. Requires Bash, curl, and tar.
- Run the command in your terminal.
- Add ~/.local/bin to PATH if the installer asks.
- Run twig --version to check the installation.
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 ↗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.
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 ↗Format, repair,
or validate.
Format an API response, repair malformed JSON, or check a file without opening the interface.
See the CLI reference ↗Format JSON with readable indentation
twig --print response.json --indent 4Repair JSON into a separate file
twig --fix broken.json -o repaired.jsonCheck a file without keeping a cache
twig --check --no-cache data.jsonHelp 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.