JSON Compare
Compare two JSON documents and highlight differences instantly in your browser.
Visual Diff
See added, removed, and modified values with color-coded highlighting.
Deep Comparison
Compares nested objects and arrays recursively to find all differences.
Format & Swap
Auto-format both documents or swap them to reverse comparison direction.
How to use
- Paste the original JSON into JSON Document 1.
- Paste the modified JSON into JSON Document 2.
- Click Compare to see the differences.
- Use Format Both to prettify both documents before comparing.
- Click Swap to reverse the comparison direction.
Legend: Green = Added, Red = Removed, Yellow = Modified
FAQ
- Is my data sent to the server?
- No — all comparison happens locally in your browser.
- How does the comparison work?
- The tool performs a deep comparison of JSON structures, comparing keys, values, arrays, and nested objects.
- Can I compare large JSON files?
- Yes, but very large files (>5MB) may slow your browser.