JSON Diff compares two JSON documents side-by-side and highlights every addition, deletion, and modification at the property level. It normalises key order before comparison so structural differences don't drown out meaningful changes. Ideal for API response auditing, configuration drift detection, and code-review workflows where human-readable diff output matters.
How it Works
1Paste the original (left) and modified (right) JSON into the two input panels.
2The tool deep-parses both documents and performs a recursive key-by-key comparison.
3Added keys are shown in green, removed keys in red, and changed values in amber.
4Use the diff summary to jump straight to sections that changed.
Frequently Asked Questions
Does key order affect the diff result?
No. JSON objects are unordered by definition. The differ normalises key order in both documents before comparison, so rearranging properties without changing values produces a clean (no-change) result.
Can I diff large nested JSON structures?
Yes. The diff engine is recursive and handles deeply nested objects and arrays. For very large documents (hundreds of KB) the comparison may take a moment, but all processing happens in-browser with no size limit imposed by a server.
How are array differences handled?
Arrays are compared by index position. If an element is inserted at position 0, all subsequent elements will appear as 'changed' even if their values are identical. For arrays used as sets, consider sorting them before diffing.
Can I use this to track API response changes over time?
Absolutely. Copy the old API response into the left panel and the new one into the right, then run the diff to see exactly which fields were added, removed, or updated between releases.