gron
github.com
What it is
gron is a free, open-source command-line utility that turns JSON into separate assignments with visible paths. This representation helps users grep values in large or deeply nested JSON, including responses from poorly documented APIs. Input can come from a file, URL, or standard input. The --ungron option converts assignments back into JSON, while --json emits a JSON stream. Other options provide value-only output, colored or monochrome display, line-by-line streaming, insecure certificate handling, and sorting control. The output is valid JavaScript, and the project demonstrates comparing JSON files by diffing their gron output. If array entries are missing, ungron inserts null values to preserve keys. gron has no runtime dependencies. Installation instructions cover binary downloads, Homebrew, and Go install. It runs on Linux, macOS, and Windows; plan information also lists FreeBSD binaries. The repository uses the MIT license.
Spec sheet
- Purpose
- gron transforms JSON into discrete assignments so users can grep for values and see their paths.Read 9 Oct 2026 · github.com
- Intended users
- The README describes gron as useful for finding paths in deeply nested JSON when the structure is not yet known.Read 9 Oct 2026 · github.com
- License
- The repository lists the MIT license.Read 9 Oct 2026 · github.com
- Founded
- 2016Read 28 Sep 2026 · github.com
- Array behavior
- When array entries are missing, ungron pads arrays with null values to preserve their keys.Read 9 Oct 2026 · github.com
- Dependencies
- The installation instructions state that gron has no runtime dependencies.Read 9 Oct 2026 · github.com
- Diffing
- The README demonstrates diffing JSON by comparing gron output from two files.Read 9 Oct 2026 · github.com
- Input sources
- gron accepts input from a file, URL, or standard input.Read 9 Oct 2026 · github.com
- Installation
- The README provides binary downloads and instructions for Homebrew and Go install.Read 9 Oct 2026 · github.com
- JavaScript output
- The README states that gron output is valid JavaScript.Read 9 Oct 2026 · github.com
- JSON exploration
- The README says gron helps explore APIs that return large JSON blobs with poor documentation.Read 9 Oct 2026 · github.com
- JSON stream
- The --json option represents gron data as a JSON stream.Read 9 Oct 2026 · github.com
- 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.Read 9 Oct 2026 · github.com
- Reverse conversion
- The --ungron option turns gron assignments back into JSON.Read 9 Oct 2026 · github.com
- Security option
- The --insecure option disables certificate validation when fetching URLs.Read 9 Oct 2026 · github.com
Plans and prices
Strong points and limits
Strong points
- Free and open source
- No runtime dependencies
- Reads files, URLs, or standard input
- Converts assignments back to JSON
- Supports JSON diff workflows
Limits
- Command-line tool only
- Insecure mode disables certificate validation
- No free trial because it is free software
Who it suits
gron suits developers exploring unfamiliar JSON structures, especially deeply nested API responses. It is also useful for command-line JSON comparison and transformation.
Verdict
gron offers a focused way to inspect, search, compare, and reconstruct JSON from the command line. Its broad platform availability and dependency-free installation reduce setup requirements.
Where Specifiction places it
- JSON Tools#11 of 298.0
- AI Background Removers#79 of 947.3