# fx

> A terminal JSON viewer and processor

Source: https://talira.ai/catalog/fx-cgmhjxg6
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [data / cli processing](https://talira.ai/categories/data/cli-processing), [developer tools / terminal / json viewers](https://talira.ai/categories/developer-tools/terminal/json-viewers)
- Platforms: macos, linux, windows, docker, cli[^2]
- Licence: MIT[^1]
- Pricing: Free and open source
- Free tier: yes
- Self-hostable: yes

fx is a CLI for JSON: it shows JSON interactively in your terminal and transforms it with JavaScript. Pipe JSON into it (even `curl -i` output with headers) to explore it with arrow or Vim keys, fuzzy-search paths and run queries that update as you type, with autocomplete. Arguments are JavaScript functions applied in turn (`fx data.json '.users.map(x => x.name)'`), run by the embedded goja engine, with shorthand like `.name` and built-in functions. It streams line-delimited and concatenated JSON, can slurp a stream into an array, and also reads YAML, TOML, EDN, XML, HTML and MAML. It is a single Go binary with shell completion for bash, zsh and fish, installed from Homebrew, Snap, Scoop, pacman, FreeBSD pkg, Go, Docker or Nix.

## Links

- Website: https://fx.wtf/
- GitHub: https://github.com/antonmedv/fx
- Docs: https://fx.wtf/getting-started

## Problems it solves

- explore a large JSON API response interactively in the terminal
- transform JSON on the command line with JavaScript instead of learning jq syntax
- pretty-print and navigate JSON logs in the terminal
- query YAML or TOML files from the terminal
- process a stream of line-delimited JSON records

## Features

- interactive JSON viewer with arrow and Vim keys
- live query input with autocomplete
- fuzzy search of JSON paths
- JavaScript functions as arguments, with built-in functions
- streaming of line-delimited and concatenated JSON, and --slurp
- YAML, TOML, EDN, XML, HTML and MAML input
- shows curl headers in interactive mode
- shell completion for bash, zsh and fish
- single Go binary

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.20 out of 1.
Signals: backing 0.00, extensibility 0.20.

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [jq](https://talira.ai/catalog/jq-ck6s82nt.md): Command-line JSON processor
- [Nushell](https://talira.ai/catalog/nushell-e66gx78k.md): A new type of shell
- [yq](https://talira.ai/catalog/yq-2m106xgh.md): A portable command-line YAML, JSON, XML, CSV, TOML, HCL and properties processor
- [gron](https://talira.ai/catalog/gron-5hrs15k0.md): Make JSON greppable!
- [Miller](https://talira.ai/catalog/miller-ceh56gh8.md): Like awk, sed, cut, join and sort for CSV, TSV and JSON

## Sources

[^1]: https://github.com/antonmedv/fx/blob/master/LICENSE (checked 22 Nov 2026)
[^2]: https://fx.wtf/ (checked 22 Nov 2026)
