JSON Compare
Paste two JSON documents to see exactly what was added, removed, or changed between them — a structural diff, not a text diff, so formatting differences never get in the way. Runs entirely in your browser; nothing you paste is ever sent anywhere.
Quick Learn
Comparing two JSON documents means finding exactly what changed between them — which keys were added, which were removed, and which had their value changed. This shows up constantly in real work: diffing an API response before and after a deploy, comparing two config files, or reviewing what a merge actually changed in a data file.
A structural diff walks both documents together, key by key and array index by index, rather than comparing them as raw text. That matters because two JSON documents can be byte-for-byte different (different key order, different whitespace) while being completely equivalent in meaning. This tool ignores formatting differences entirely and only reports real structural changes — additions, removals, and value changes — all computed locally in your browser.
Best Practices
- •Don't rely on a plain text diff for JSON — key reordering will show as a change even when nothing structurally moved.
- •Array comparisons are position-based here: inserting an item in the middle of an array will show every item after it as "changed", not just the new one. For order-sensitive data, consider comparing by a stable ID field instead.
- •A key present with value null is different from a key that's missing entirely — this tool treats them as distinct and will report one as "changed" and the other as "added"/"removed".
- •When comparing API responses across environments, strip out inherently-different fields (timestamps, request IDs) before comparing, or you'll get noise on every run.
More JSON Tools
JSON Formatter & Validator
Pretty-print, minify, and validate JSON with precise error locations.
JSON ↔ YAML Converter
Convert between JSON and YAML instantly.
JSON ↔ CSV Converter
Flatten and unflatten tabular JSON to CSV.
JSON Schema Generator
Infer a JSON Schema from a sample payload.
JSON to TypeScript Interface
Generate TS types from a JSON sample.
JSONPath Tester
Query and extract values from JSON interactively.
JSON Validator
Deep, schema-aware validation for JSON documents.
JSON to Table
View JSON as an interactive, sortable table.
Frequently Asked Questions
Want the engineering deep-dives behind tools like this one?