About the JSON Diff
JSON Diff compares two JSON objects key by key, regardless of formatting or key order, and marks each top-level key as added (+), removed (โ), changed (~, showing old and new values) or unchanged. It is handy for comparing API responses, configuration versions and test fixtures.
How to use the JSON Diff
- Paste the original JSON in the first box.
- Paste the modified JSON in the second box.
- Review the summary counts and the list of differences.
Example
Result
name: "Asif"
~ age: 25 โ 26
~ city: "Lahore" โ "Karachi"
+ active: true
Frequently asked questions
Does it compare nested values?
It compares top-level keys. If anything inside a nested object or array differs, that whole key is reported as changed, with both versions shown.
Does key order matter?
No. Keys are matched by name.
Can it compare arrays?
It is designed for objects. For two top-level arrays, positions are compared as if they were keys.