A JSON diff compares two JSON documents by structure rather than by raw text, so it understands that key order does not matter and shows you exactly which keys were added, removed or changed. This tool does that comparison live in your browser, with the differences clearly highlighted.
How to use it
- Paste the original JSON on the left.
- Paste the updated JSON on the right.
- The structural differences appear below — added, removed and changed values are labelled.
- Reformat either side first if it helps readability.
About JSON Diff
Comparing two JSON payloads is a constant need: an API response before and after a change, two config files, or the expected versus actual output in a test. A plain text diff fails here because reordered keys or different whitespace produce noise that hides the real changes. A structural JSON diff parses both sides and walks the trees, reporting only meaningful differences — a key that appeared, a value that changed, an element that was removed. Because everything runs locally in your browser, you can safely compare payloads that contain real or sensitive data.
FAQ
How is this different from a text diff?
A text diff compares lines literally, so reordered keys or different formatting look like changes. A JSON diff compares structure, so it only reports real differences in keys and values.
Does key order matter?
No. Because the comparison is structural, the same keys in a different order are treated as equal.
Is my data uploaded?
No. Both documents are parsed and compared entirely in your browser.