🔎 JSON Diff
Compare two JSON objects and see exactly what changed. Free, instant, structure-aware diff running in your browser.
🔎 JSON Diff
🔧 Loading tool…
About the JSON Diff Tool
Comparing JSON as plain text produces noise. Key ordering, indentation, and whitespace differences all register as changes even when the data is semantically identical, burying the two fields that actually differ under a hundred false positives.
A structure-aware diff parses both documents and compares them as data rather than as text, so it reports only real differences: added keys, removed keys, and changed values. That is what you want when checking a configuration change, verifying an API response against a baseline, or tracking down a regression. Comparison runs entirely in your browser.
How to Use JSON Diff
- Paste the first JSON document into the left input.
- Paste the second into the right input.
- Press Compare to run the structural diff.
- Review the additions, removals, and value changes reported.
When to Use This Tool
- Verifying what changed between two versions of a configuration file
- Comparing an API response against an expected baseline in testing
- Tracking down which field caused a behavioural regression
- Reviewing changes in a JSON data file before committing them
- Confirming that a migration produced equivalent output
Things Worth Knowing
- Comparison is structural, so key order and whitespace differences are correctly ignored.
- Both inputs must be valid JSON. Fix any syntax errors first.
- Array comparison is index-based — inserting an element at the start will show as many changes.
Quick Facts
| Tool name | JSON Diff |
| Category | Data Converters |
| Price | Free — no account, no trial, no watermark |
| Where it runs | Entirely in your browser (client-side) |
| Files uploaded | None — your data never leaves your device |
| File size limit | None imposed; limited only by device memory |
| Works offline | Yes, once the page has loaded |
| Platforms | Windows, macOS, Linux, Android, iOS |
Frequently Asked Questions
Does key order affect the comparison?
No. JSON objects are unordered by specification, so the diff compares by key rather than position. Reordered keys are correctly reported as no change.
How are arrays compared?
By index. This means inserting an item at the beginning of an array shifts every subsequent element and reports as a large number of changes, even though conceptually only one item was added.
Can I compare files instead of pasting?
Paste the contents into each input area. Both documents are processed locally in your browser regardless of how they get there.
What counts as a difference?
Keys present in one document but not the other, and keys present in both where the values differ. Type changes — such as the number 5 becoming the string "5" — are reported as changes.