JSON Compare
Client-sideFeaturedCompare two JSON documents structurally. Find added, removed, changed, and type-changed paths — privately in your browser.
Processed in your browser — data stays on your device
About JSON Compare
JSON Compare performs a structural walk of two documents and lists path-level differences — added keys, removed keys, changed values, and type changes.
Unlike a raw text diff, object key order is ignored so you focus on meaningful data changes instead of formatting noise.
Features
Path-level report
Every difference is anchored to a path such as $.user.role.
Change kinds
Distinguish added, removed, changed, and type-changed entries.
Side-by-side inputs
Paste left and right JSON, or drop two files for comparison.
Exportable summary
Copy or download the compare report for PRs and incident notes.
How it works
Paste left and right JSON
Provide two documents to compare side by side.
Run compare
The tool walks both structures and lists path-level differences.
Export the report
Copy or download the compare report for reviews or tickets.
Example walkthroughs
Changed field
Only $.role is reported as changed; identical fields are ignored.
{"id":1,"name":"Ada","role":"admin"}Added key
$.b appears as an added path on the right document.
{"a":1}
Use cases
API regression checks
Compare before/after responses when validating a backend change.
Config drift
Spot keys that appeared or disappeared between environments.
Migration verification
Confirm transformed documents keep expected fields and types.
Frequently asked questions
How is this different from JSON Diff?
Compare focuses on structural path changes. Diff shows a line-oriented unified diff of pretty-printed JSON.
Are object key orders treated as differences?
No. Object key order is ignored; only values and presence of keys matter.
Does my data leave the device?
No. Comparison is fully client-side.
Related tools
JSON Formatter
Format, beautify, and minify JSON in your browser. Free, private, and instant — no upload to a server.
JSON Validator
Validate JSON instantly in your browser. See type, size, and node counts — or exact parse errors with line and column.
JSON Viewer
Explore JSON as an interactive tree with paths, types, and expandable nodes — all processed locally in your browser.
JSON Diff
Generate a unified diff of two JSON documents after pretty-printing. Ideal for reading line-level changes quickly.
JSON Escape
Escape text into a JSON string literal, or unescape a JSON string back to raw text — instantly and offline.