JSON Compare
Paste two JSON documents and compare them. Differences are highlighted by path with added, removed, and changed indicators.
How JSON Compare Works
The comparison does a deep recursive diff of two JSON values. It reports three types of differences:
- Added — keys or array items present in JSON B but not in JSON A
- Removed — keys or array items present in JSON A but not in JSON B
- Changed — values that exist in both but have different content
Paths use dot notation for object keys (user.email) and bracket notation for array indices (items[0].price).
Related Tools
- JSON Formatter — format before comparing
- JSON Sorter — sort keys before comparing