JSON Compare & jq Filter

Compare two JSON documents, inspect exact changes, and extract fields with a jq-style filter.

Differences

0 changes

Run a comparison to see added, removed, and changed values.

jq-style Filter

Supported examples: .users[] | select(.active == true) | {id, name}, .users | map(.name), .users | length

Compare JSON Files Quickly

JSON responses and configuration files can be difficult to compare by hand. This tool reports changes by path, making it easy to identify exactly what was added, removed, or modified.

Both comparison and filtering run in your browser, so private API responses and configuration data stay on your device.

Extract Data with jq-style Filters

Use dot paths to select fields, [] to expand arrays, select() to keep matching records, and object projections to return only the fields you need.

For example, `.users[] | select(.active == true) | {id, name}` returns the id and name of active users.

Frequently Asked Questions

Can I compare nested JSON objects?

Yes. The comparison walks nested objects and arrays and reports the exact path for every added, removed, or changed value.

Which jq filters are supported?

The tool supports dot paths, array expansion, select comparisons, object projections, map expressions, and length.

Is my JSON uploaded?

No. Parsing, filtering, and comparison happen locally in your browser.

Related Tools