What gron is
gron is a free, open-source command-line tool that turns JSON into separate assignments with visible paths. That layout helps you search for values in deeply nested data even when you do not yet know its structure, including large responses from poorly documented APIs. It accepts input from a file, a URL, or standard input, and the --ungron option converts assignments back into JSON. With --json, it can represent gron data as a JSON stream; other options include value-only output, color or monochrome display, line-by-line streaming, and skipping sorting. Its output is valid JavaScript, and the project demonstrates comparing JSON files by diffing their gron output. If array entries are missing, ungron pads with null values to preserve their keys. The tool has no runtime dependencies. Installation instructions include binary downloads, Homebrew, and Go install. It is available for Linux, macOS, and Windows, and the repository lists the MIT license.
Who it suits
gron suits developers and others who need to find paths in unfamiliar or deeply nested JSON, including API responses. It is aimed at command-line use on Linux, macOS, or Windows.
Good to know, and what to watch
- Reads from files, URLs, or standard input
- Converts assignments back to JSON
- Supports JSON stream output
- No runtime dependencies
- Available for Linux, macOS, and Windows
- Command-line tool rather than a listed graphical app
- URL fetching can disable certificate validation
Plans
Every plan and pricegron
Open source
The verdict
gron makes unfamiliar JSON easier to search by exposing paths as assignments, while retaining a way to reconstruct JSON. Its focused command-line approach and lack of runtime dependencies make it a practical option for JSON exploration and comparison.
What the maker publishes
- Array behavior
- When array entries are missing, ungron pads arrays with null values to preserve their keys. source
- Dependencies
- The installation instructions state that gron has no runtime dependencies. source
- Diffing
- The README demonstrates diffing JSON by comparing gron output from two files. source
- Founded
- 2016 source
- Input sources
- gron accepts input from a file, URL, or standard input. source
- Installation
- The README provides binary downloads and instructions for Homebrew and Go install. source
- Intended users
- The README describes gron as useful for finding paths in deeply nested JSON when the structure is not yet known. source
- JavaScript output
- The README states that gron output is valid JavaScript. source
- JSON exploration
- The README says gron helps explore APIs that return large JSON blobs with poor documentation. source
- JSON stream
- The --json option represents gron data as a JSON stream. source
- License
- The repository lists the MIT license. source
- Other options
- The help output lists value-only output, colorized or monochrome output, line-by-line streaming, insecure certificate mode, and an option to skip sorting. source
- Purpose
- gron transforms JSON into discrete assignments so users can grep for values and see their paths. source
- Reverse conversion
- The --ungron option turns gron assignments back into JSON. source
- Security option
- The --insecure option disables certificate validation when fetching URLs. source
Checked against the maker's pages on 9 Oct 2026.