Free Online JSON Diff, Compare Two Documents By Structure
Compare two JSON documents in your browser and get a list of what actually changed, by path. Because the comparison walks both trees rather than the text, reordered keys and different indenting are not reported as differences. Values whose type changed are listed separately, since that is the change that breaks code quietly.
Enjoying WizTools123? Help keep our server infrastructure 100% free and open for everyone.
How to Compare Two JSON Documents
A few steps, and nothing is uploaded.
What to Know About Comparing JSON
Why a text diff misleads, and what array order means.
Key Features & Capabilities
What this tool does, and what it deliberately does not.
About the JSON Diff
Comparing two JSON documents with a text diff is one of those habits that feels productive and wastes an afternoon. The tool is right there, it runs instantly, and it reports fifty differences in two files that are identical apart from the order their keys happen to be written in. JSON objects have no defined order, so a server is free to emit the same data in a different sequence on every call, and a line based diff cannot tell the difference between that and a real change.
Walking the parsed trees instead gives a short answer: these keys were added, these were removed, these values changed, and here is the path to each. The report is about the data, which is what you were asking about. It also means the output is stable: run it twice on the same pair and you get the same list, which a text diff does not guarantee when formatting varies.
The one thing worth separating out is a change of type. When a field that held the number 1007 starts holding the string "1007", nothing looks broken. The document is valid, the value reads the same to a human, and most schema checks let it through. The code comparing it to a number stops working and the bug surfaces somewhere else entirely, which is why those changes get their own list rather than being mixed in with ordinary edits.
Frequently Asked Questions
Key order, arrays, types and large documents.