Home / Terminal

jq

The command-line JSON processor that turns raw API output into readable, scriptable data.

Previewjqlang.github.io
Screenshot of jq's website

Best for

Anyone who pipes JSON through a terminal and is tired of eyeballing minified output.

Why it deserves attention

jq reads JSON and lets you select, filter, map, and reshape it with a small query language, so a verbose API response becomes a few fields you can diff or loop over. It is a single static binary, works on macOS, Linux, and Windows, and is MIT-licensed with 36,000 GitHub stars. It is also a fixture of shell scripts and CI, which makes it worth learning once. The syntax is terse and takes practice, and it only handles JSON, not YAML or TOML.

Ratings & reviews

0 ratings
—/ 5

0 people rated this

Rating distribution
50
40
30
20
10

No ratings yet. Be the first to rate this tool.

Can replace

  • python -m json.tool

Related and alternatives

More in Terminal

← Back to Terminal