๐ JSON Diff
JSON A (before)
JSON B (after)
Diff result
Changedage30 โ 31
RemovedcityTokyo
AddedcountryJapan
Enter two JSON values and this tool automatically detects and lists added keys, removed keys, and keys whose value changed. Supports nested objects and arrays. Handy for reviewing config file changes or comparing API responses.
How to use
- Enter the original JSON on the left and the JSON to compare against on the right.
- Added, removed, and changed keys are detected and listed automatically.
- If there's no difference, "No differences" is shown.
FAQ
How are arrays with a different element order handled?
Arrays are compared by index position, so the same elements in a different order are detected as "changed".
Does this handle deeply nested objects?
Yes, nested objects are expanded into dot-separated paths (e.g. user.address.city) and compared accurately, no matter how deep the nesting.
What happens if I enter invalid JSON?
An error message appears if either JSON value isn't valid.