# gron

> Make JSON greppable!

Source: https://talira.ai/catalog/gron-5hrs15k0
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 / cli / json](https://talira.ai/categories/developer-tools/cli/json)
- Platforms: macos, linux, windows, cli
- Licence: MIT
- Pricing: Free and open source
- Free tier: yes
- Self-hostable: yes
- Creator: Tom Hudson (tomnomnom)

gron transforms JSON into discrete assignments (json.a.b[0] = "x") so you can grep for what you want and see the absolute path to it. It can work backwards with --ungron to turn filtered lines back into JSON, and can fetch URLs directly. It helps explore APIs that return large, poorly documented JSON.

## Links

- GitHub: https://github.com/tomnomnom/gron

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/gron>[^1]
- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/stable/gron>[^2]
- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/gron>[^3]

## Problems it solves

- I do not know the path to the field I need in this huge JSON response
- grep a JSON file and see where in the structure each match lives
- explore an undocumented API response quickly
- jq syntax is hard when I just want to find a key
- diff two JSON files line by line in a meaningful way
- filter JSON with grep and turn it back into JSON
- find which nested object contains a particular value
- flatten JSON into lines for shell tools

## Features

- flatten JSON to assignments
- ungron
- fetch URLs
- no runtime dependencies

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.35 out of 1.
Signals: maintenance 0.06, adoption 0.83, momentum 0.58, community 0.55, backing 0.20, extensibility 0.20.

- latest release v0.7.1 4.6 years ago
- 14.5k GitHub stars
- 23 contributors
- created by Tom Hudson (tomnomnom)

Warnings:

- last commit 18 months ago

## Alternatives

- [jq](https://talira.ai/catalog/jq-ck6s82nt.md): Command-line JSON processor
- [yq](https://talira.ai/catalog/yq-2m106xgh.md): A portable command-line YAML, JSON, XML, CSV, TOML, HCL and properties processor

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 21 Nov 2026)
[^3]: https://mise-versions.jdx.dev/tools.json (checked 21 Nov 2026)
