What is JSON Diff Tool?
JSON Diff compares two parsed JSON structures rather than their raw whitespace. Formatting differences do not count as changes. The tool recursively compares objects and arrays and reports paths for added, removed, and modified values.
What can you use it for?
- Compare two API responses to see what changed.
- Review configuration changes between environments.
- Inspect changes to nested objects and arrays.
- Check whether a data update changed a specific property.
How to use this tool
- Paste the original JSON into the first field.
- Paste the updated JSON into the second field.
- Select Compare JSON.
- Review the change type, JSON path, and old or new values.
Example input
Load the example into the first field, then change the version or add a property in the second field before comparing.
{"name":"Info4PHP","version":1,"active":true}
Tips and things to know
- Both inputs must be valid JSON.
- Object property order and insignificant whitespace are ignored.
- Array items are compared by index; reordering an array can therefore appear as multiple changes.
- The comparison is performed locally in your browser.
Frequently asked questions
Does JSON Diff compare formatting?
No. It parses both documents first, so whitespace and object key order do not create differences.
How are arrays compared?
Arrays are compared by index. An inserted item may cause later indexes to appear changed.
Are my JSON documents uploaded?
No. Parsing and comparison run in your browser.