How to use the JSON Compare
- Paste the original JSON on the left and the changed JSON on the right.
- Press Compare.
- Review the change list, or switch to the text view to see a formatted side-by-side diff.
Features
- Detects added, removed and changed values, and type changes (for example "5" becoming 5)
- Key order and number formatting (1.0 and 1) are ignored
- Optional: compare arrays as unordered, ignore string case
- Side-by-side text view of both documents, normalised and with keys sorted
- Copy or download the change report
Supported input
Two valid JSON documents.
Limitations
- Arrays are compared position by position unless "Ignore array order" is on. An insertion at the start of an array therefore shows as several changes.
- The change list stops at 5,000 entries.
Privacy
Everything this tool does happens in your browser. What you paste or open is never uploaded, stored, logged or used for advertising. Closing the tab discards it. Read the privacy policy.
Frequently asked questions
01Why is a semantic diff better than a text diff for JSON?
Two files can contain identical data and still differ in key order, whitespace or number formatting. A semantic diff compares the data itself, so it shows only real changes.
02Is my data uploaded anywhere?
No. This tool runs entirely in your browser tab. Your input is never sent to our servers, stored, or logged. You can disconnect from the internet after the page loads and it keeps working.