JSON
Compare two JSON documents side by side and see every added, removed, and changed value — by path.
Both documents are parsed and compared locally in your browser. Nothing is uploaded, logged, or stored.
Unlike a text diff, this tool compares the parsed data, not the raw characters. Both documents are parsed into JavaScript values, then walked recursively: objects are compared key by key, arrays index by index, and primitives with strict equality. That means formatting differences, key order, and trailing whitespace are ignored — only real data differences are reported.
Every difference is reported with a JSON path such as $.config.theme or $.tools[2], so you can jump straight to the field that changed. Type changes are flagged too: "1" (string) vs 1 (number) is a difference, because in most APIs it really is one.
If either side fails to parse, the exact error message is shown instead of a misleading diff. You can clean up messy input first with the JSON Formatter & Validator.
Compare yesterday's API response with today's to spot schema changes: new fields show as added, missing ones as removed, and value changes are listed with old → new.
Paste staging and production config files to see exactly which settings differ before you deploy.
Compare expected vs. actual output of a function to find the first field where your code diverges from the specification.
Format, minify, and validate JSON with precise error location. Runs entirely in your browser.
Check JSON syntax with precise line and column error location, plus a structural summary of the document.
Explore JSON as a collapsible tree with syntax highlighting — great for large API responses.
Edit JSON with live validation, statistics, and one-click format or minify while you type.
Looking for something else? Browse all tools