JSON Diff & Compare
Paste two JSON documents. See exactly what changed, side by side.
Your JSON stays in this browser.
0 / 200,000 characters
Paste JSON in both editors, then compare. Or load the example to try it.
How comparison works & limits
Spaces and object key order are ignored. Arrays compare by position unless you select Ignore array order. A missing field differs from a field set to null, and 1 differs from "1".
Up to 200,000 characters, 20,000 values and 100 nesting levels per side. Files must be UTF-8 JSON, up to 800 KB. Quote long IDs to preserve their digits. Line numbers refer to the formatted comparison, not the original file.
Need to fix invalid input? Use the JSON Formatter & Validator. For whitespace and source-line changes, use Text Diff.
About JSON Diff & Compare
JSON diff compares parsed data rather than lines of text. This JSON comparison tool ignores object key order, spaces and indentation, so reformatting does not create false changes. Use it to review API responses, configuration changes or test fixtures. Each change includes its location and before/after values. Paste JSON or open local files, choose how arrays should be compared, then copy or download the complete report. Processing stays in your browser.