JSON Diff — compare two JSON files
Put JSON on each side — paste it, or drop a file — and see what changed, color-coded and lined up. Nothing to sign up for, and nothing is uploaded: We never see your data.
A free JSON diff online — compare two JSON files, configs, or API responses without installing anything.
Semantic JSON comparison, not a text diff
JSON objects do not depend on key order, and indentation does not change their meaning. Before comparing, this tool normalizes both documents so reordered keys, spaces, and equivalent number or string spellings disappear from the diff. Arrays stay ordered, so moving an item still appears as a real change.
That makes the result useful for API responses, configuration files, test fixtures, and exported data: the highlighted lines are changes to values or structure rather than formatting noise.
How it works
No upload, no sign-up.
The comparison appears on its own
There is no compare button to press. As soon as both sides hold valid JSON, the differences show up — additions in green, removals in red, with formatting and object key order ignored. If one side won’t load, we point at the exact line to fix.
Keep editing while you compare
Both sides stay editable, so you can change a value and watch the comparison update straight away — or press Swap sides to look at it the other way round.
FAQ
Does JSON key order or formatting count as a difference?
No. Objects are normalized before comparison, so whitespace, indentation, equivalent number or string spelling, and object key order do not create false changes. Array order still matters.
Are my JSON files uploaded?
No. Both files are read and compared inside your browser. We never see your data.
How is a JSON diff different from a text diff?
A text diff treats formatting and key order as changes. This JSON diff first understands the data structure, then highlights real additions, removals, and changed values.
Comparing Jupyter notebooks? Use the notebook-aware diff. Or open the JSON viewer.