Paste or type to begin

Original on the left, modified on the right.

Compare two JSON files

Quickly find differences between two JSON documents. This free JSON diff tool auto-formats your JSON with Prettier, highlights every change with syntax-aware coloring, and lets you toggle between side-by-side and inline views. Great for comparing API responses, config files, package.json changes, or any JSON data. Paste minified JSON and format it with one click.

Features

Frequently asked questions

Does this tool format my JSON?
Yes — click Format (or Ctrl+Shift+F) to auto-format both sides with Prettier before comparing.
Can I compare minified JSON?
Absolutely. Paste minified JSON and hit Format to pretty-print it, then compare easily.
Does it validate JSON?
The syntax highlighter will flag invalid JSON with error markers in the editor gutter.
Can I compare JSON API responses?
Yes — paste any two JSON payloads and instantly see what changed between them.
How do I find the difference between two JSON files?
Paste the first JSON on the left and the second on the right. Every key, value, and structural change is highlighted instantly.
Can I compare JSON objects?
Yes. Paste any two JSON objects or arrays. Click Format to normalize both, then compare.
Is the JSON diff tool free?
Yes, completely free with no ads, no sign-up, and no limits. Your JSON data stays in your browser.

More diff tools