JSON Diff (Compare JSON)
Compare two JSON documents and see what changed, ignoring key order and formatting. Added, removed, and changed lines are highlighted. All client-side.
{+ "active": true, "name": "Ada", "role": "engineer", "skills": [ "c",- "assembly"+ "assembly",+ "rust" ] }
Both documents are parsed and re-serialized with sorted keys before comparing, so a difference in key order or indentation is not reported — only genuine changes to keys and values. Everything runs in your browser.
Compare two JSON documents and see exactly what changed. Because both sides are normalized — keys sorted, formatting standardized — before the comparison, reordered keys and different indentation don't show up as noise. Only real changes to keys and values are highlighted, all in your browser.
How to use it
No account, no upload — it all happens on your device.
Why normalize first
Raw text diffs lie about JSON.
Two JSON objects can be identical in meaning yet look completely different as text — keys in another order, tabs instead of spaces, trailing commas. A line-based text diff flags all of that. By parsing each side and re-printing it with sorted keys and uniform spacing, this tool compares the data, not its presentation.
Common uses
- API responses. Spot what changed between two payloads or across versions.
- Config files. Confirm a deploy changed only the keys you intended.
- Fixtures and snapshots.See why a test's expected and actual JSON disagree.