JSON Diff
Compare two JSON files or pasted documents field by field. See which values changed and which keys were added or removed when you compare API responses, configuration files or test fixtures.
If one input cannot be read, check its JSON syntax before running the comparison again.
- Use it when
- You have two versions of a response or settings file. See which values changed and which fields appeared or disappeared.
- Keep in mind
- Spacing and object field order are ignored. Moving items in a list can appear as changes.
{"count":1}
{"count":2}/count
1 → 2Your input stays in this browser. We don’t upload it. How we handle your data .
How to compare JSON
Add the original and updated JSON to their respective inputs. Select Compare JSON, then review the list of changed fields.
Frequently asked questions
Does JSON Diff ignore whitespace and object key order?
Yes. Indentation, line breaks and the order of keys in an object do not count as changes. Spaces inside a quoted value are part of that value and can appear as a difference.
How does the comparison handle reordered arrays?
Array items are compared by position, even when records have ID fields. If an item moves from the first to the second position, both positions may show a change.
Are a number and a quoted number treated as equal?
The number 1 and the string “1” have different types and count as a change. Number forms with the same value, such as 1 and 1.0, compare as equal.
Can I download the differences between two JSON files?
Yes. Use Download differences to save a JSON report with the type of change and the affected path. Each entry includes the original value, the updated value, or both, depending on the change.