Compare two JSON objects and highlight the differences — added, removed, and modified values.
JSON · compare · diff
Compare two JSON documents side by side and highlight what changed. Ideal for API response regressions, config reviews, and fixture updates — without uploading payloads to an online diff service.
Line-oriented text diffs break down when JSON key order shuffles or whitespace differs but data is identical. A JSON-aware comparison focuses on structural differences: added/removed keys, changed values, and array membership — the signal you want when debugging “why did this response change?”
Arrays: Order-sensitive arrays (lists of events) differ from sets (unordered tags). A reordering can look like mass delete+add. Normalize sort order when order is not meaningful before diffing.
| Issue | What to do |
|---|---|
| Invalid JSON | Validate/format each side first |
Volatile fields (requestId, timestamps) | Strip or freeze them before compare |
| Key order only | Parse+stringify both; ignore pure reorder if values match |
Number vs string "2" | Types matter in JSON — coerce only if your API does |
It is aimed at JSON structure/values. For arbitrary prose, use the Diff Checker.
Comparison runs in the browser. Privacy Policy.
Very large documents may slow or strain the tab. Prefer local CLI tools for huge artifacts.