How it works
How to use the JSON Compare
Paste both documents
Put the original JSON on the left and the modified JSON on the right, or open/drop files.
Review the differences
Each change is listed with its JSONPath and the old and new values. Filter by added, removed or changed.
Jump to the source
Click a difference to highlight it in both editors.
Semantic comparison vs. text diff
A text diff reports every moved line and whitespace change. JSON Compare parses both documents and compares their data: object key order never matters, formatting is ignored, and 1.0 equals 1. Enable Ignore array order to treat arrays as sets — ideal for comparing API responses whose lists come back in a different order.
Need a classic line-by-line view instead? Use the JSON Diff tool.
Built for developers
Why developers use it
Private by design
Runs 100% in your browser. Nothing you paste is uploaded, logged or stored on a server.
Instant results
Output updates as you type, with precise error locations when something is wrong.
Works offline
Once loaded, the tool keeps working without a connection. Install it as an app if you like.
Free, no sign-up
No accounts, no limits, no watermarks.
FAQ
Frequently asked questions
Does key order matter when comparing JSON?
No. JSON objects are unordered, so {"a":1,"b":2} and {"b":2,"a":1} are reported as identical.
How are arrays compared?
By default, element by element in order. With "Ignore array order" enabled, equal elements are matched wherever they appear, and only unmatched elements are reported.
Is my data uploaded anywhere?
No. This tool runs entirely in your browser. Your input never leaves your device, is not logged, and works offline once the page has loaded.
Keep going
Related tools
- JSON FormatterFormat, validate and explore JSON
- JSON ValidatorFind and fix JSON syntax errors
- JSON ViewerExplore JSON as a searchable tree
- JSON DiffSide-by-side or unified line diff of two JSON files
- JSON EditorEdit JSON with live validation
- JSON SorterSort JSON keys alphabetically
- JSON to CSVConvert JSON arrays to CSV and CSV back to JSON
- JSON to XMLConvert JSON to XML and XML to JSON