Compare & diff
JSON Compare
Diff two JSON documents structurally, then format, validate, or minify them.
Runs entirely in your browser — nothing is uploaded
Original
Changed
Frequently asked questions
How is this different from a text diff?
It compares the JSON structure rather than the raw characters, so reordered keys and differences in whitespace or indentation are not reported as changes.
Can it validate and format JSON too?
Yes. Invalid JSON is reported with the position of the problem, and valid JSON can be pretty-printed or minified.