Compare two JSON objects — see what changed, what was added, what was removed.
Added
0
Removed
0
Changed
0
Unchanged
0
Paste two JSON objects above and click Compare.
Privacy: Everything runs in your browser. No JSON is ever sent to a server.
Yes. Nested objects and arrays of any depth are diffed recursively. Arrays of objects are matched by content (or position, depending on the option you pick).
By default, the diff treats arrays as ordered: ["a","b"] and ["b","a"] would show every element as changed. Turn the option on to treat arrays as sets — only presence matters, not position.
No. The diff runs entirely in your browser using JavaScript. Nothing is uploaded, logged, or stored.
Added = key exists in the new JSON but not the old. Removed = key exists in the old JSON but not the new. Changed = key exists in both but the value differs.
The JSON Diff Tool helps developers, API consumers, and data engineers quickly spot differences between two JSON payloads. Whether you’re comparing API responses, config files, or test fixtures, the color-coded line-by-line output makes changes obvious at a glance. The tool handles arbitrarily nested structures, treats objects as unordered (keys in any order are equal), and gives you the option to either respect or ignore array ordering. Everything runs locally in your browser — perfect for diffing sensitive configuration or production data without leaving your machine.