jq alternatives
The closest alternatives to jq are gojq, jaq and yq. Stay with jq when: Inspecting and transforming JSON in shells and scripts.
gojq
Choose it over jq whenChoose it for arbitrary-precision integer arithmetic and YAML input and output. It leaves out flags such as --seq and --sort-keys and has regular-expression differences.
gojq (Go, MIT, v0.12.20 on 2026-11-01): arbitrary-precision integer arithmetic for addition, subtraction, multiplication, modulo and exact division, plus YAML input and output. It leaves out flags such as --seq and --sort-keys and has regular-expression differences (README, release, LICENSE).
MIT
github.com ↗Source ↗Checked 25 November 2026
jaq
Choose it over jq whenChoose it for a jq clone meant as a drop-in replacement that also reads YAML, CBOR, TOML and XML and is usable as a Rust library.
jaq (Rust, v3.2.0 on 2026-11-19): a jq clone meant as a drop-in replacement. It also reads YAML, CBOR, TOML and XML and is usable as a Rust library (README, release).
MIT
github.com ↗Source ↗Checked 25 November 2026
yq
Choose it over jq whenChoose it to edit YAML config files: jq-like syntax over YAML, JSON, XML, INI, CSV and TSV. Its README says it does not yet support everything jq does.
yq (Go, MIT, v4.54.3 on 2026-11-09): jq-like syntax over YAML, JSON, XML, INI, CSV and TSV, and the README says it "doesn't yet support everything jq does" (README, release). Choose it to edit YAML config files.
MIT
github.com ↗Source ↗Checked 25 November 2026