JSON Compare & Diff
Deep diff two JSON objects — added · removed · changed · unchanged — with JSON path for every difference
What is JSON Compare?
JSON Compare is a developer tool that performs a deep recursive diff of two JSON objects. It identifies every added key (green), removed key (red), changed value (amber), and unchanged value — showing the exact JSON path (e.g. $.user.address.city) for every difference. Useful for debugging API response changes, config diffs, and data migrations.
How to Use JSON Compare
Paste JSON A (original) in the left panel and JSON B (modified) in the right panel. The diff runs automatically in real time — no button click needed. Click any stat card to filter by type. Toggle "Hide unchanged" to focus on differences only. Switch between Split view (table) and Unified view for different perspectives. Use AI Explain to get a plain-English summary of what changed.
Frequently Asked Questions
What is JSON Compare?
JSON Compare is a diff tool that finds differences between two JSON objects — added, removed, changed, and unchanged keys — with the exact JSON path of every difference.
How does the diff work?
The diff engine recursively walks both JSON trees simultaneously, comparing each key and value. It detects type changes, value changes, missing keys, and extra keys, showing the full JSON path for every difference.
Is my JSON data safe?
Yes. 100% browser-side. No data is uploaded or sent to any server. Works offline after page load.
What do the colors mean?
Green = added (exists in B only). Red = removed (exists in A only). Amber = changed (different value). Gray = unchanged (same in both).
Can I compare large JSONs?
Yes. The diff engine handles deeply nested objects and large arrays efficiently. File import supports up to 5 MB per file.
What is the JSON path shown?
JSON path (e.g. $.user.address.city) tells you exactly where in the JSON structure the difference is — useful for debugging API responses.