# 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 when: Choose 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](https://github.com/itchyny/gojq), [release](https://github.com/itchyny/gojq/releases/tag/v0.12.20), [LICENSE](https://github.com/itchyny/gojq/blob/main/LICENSE)).

- Licence: MIT
- Official site: https://github.com/itchyny/gojq
- Source: https://github.com/itchyny/gojq
- Checked: 25 November 2026

## jaq

Choose it over jq when: Choose 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](https://github.com/01mf02/jaq), [release](https://github.com/01mf02/jaq/releases/tag/v3.2.0)).

- Licence: MIT
- Official site: https://github.com/01mf02/jaq
- Source: https://github.com/01mf02/jaq
- Checked: 25 November 2026

## yq

Choose it over jq when: Choose 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](https://github.com/mikefarah/yq), [release](https://github.com/mikefarah/yq/releases/tag/v4.54.3)). Choose it to edit YAML config files.

- Licence: MIT
- Official site: https://github.com/mikefarah/yq
- Source: https://github.com/mikefarah/yq
- Checked: 25 November 2026

- [jq](https://www.devcurator.com/tools/jq.md)
