Skip to content

fx, a terminal JSON viewer and processor

fx is a terminal JSON viewer and processor. Version 1 came out in January 2018, version 40 in October 2026.

brew install fx

What changed

  1. 12018The first release: a command-line tool for processing JSON with plain JavaScript, installed from npm.
  2. 32018Interactive mode. Explore JSON in the terminal instead of printing it.
  3. 82018Autocomplete for paths in interactive mode.
  4. 122019Streaming. fx reads JSON values one after another.
  5. 212022Rewritten in Go and shipped as a single binary.
  6. 302023A new JSON parser and a new viewer.
  7. 312023JSON streams in interactive mode.
  8. 322024YAML support.
  9. 332024Shell completion for bash, zsh and fish.
  10. 392025TOML support, in 39.1.
  11. 402026EDN, XML, HTML and MAML support, query autocomplete, and a dungeon.

Try it

Pipe any JSON into fx to explore it. Add a JavaScript expression to transform it.

curl https://fx.wtf/example.json | fx
fx example.json '.users.map(x => x.name)'