JSON Compare
Diff two JSON objects — see added, removed, and changed keys at a glance.
How JSON Compare Works
This tool performs a deep recursive comparison of two JSON objects. It walks every key at every nesting level and classifies each as added (only in B), removed (only in A), changed (in both but different values), or identical.
Paths are shown in dot notation (e.g. settings.theme) so you can locate differences in deeply nested structures at a glance.
Reading the Diff
Added
Key exists in JSON B but not in JSON A.
Removed
Key exists in JSON A but not in JSON B.
Changed
Key exists in both but values differ.
Identical
Key and value are the same in both JSONs.
FAQ
Is my data sent to a server?
No. The comparison runs entirely in your browser. Your JSON data never leaves your device.
Does it handle arrays?
Yes. Arrays are compared element-by-element using their index as the key (e.g. items.0, items.1).
What does the path notation mean?
Paths use dot notation to show where in the nested structure the difference is. For example "user.address.city" means the city field inside address inside user.
Can I compare arrays at the top level?
Yes. If both JSON A and JSON B are arrays, the comparison works from the root.