JSON Diff Tool
Compare two JSON objects field by field, ignoring key order, with added, removed, and changed values clearly color-coded. Runs entirely in your browser.
🔒 This tool runs entirely in your browser. Your files are never uploaded to a server.
Example shown - replace with your own JSON.
Differences
How the JSON diff tool works
- Paste the original JSON on the left and the changed version on the right.
- Both are parsed and compared key by key, recursing into nested objects.
- Added, removed, and changed fields are listed with their full path and colored by change type.
FAQ
How does this differ from a plain text diff?
It compares JSON structurally - key by key and value by value - rather than line by line, so it correctly identifies added, removed, or changed fields even if the formatting or key order differs.
What do the colors mean?
Green (+) means a key was added in the changed JSON, red (-) means a key was removed, and amber (~) means a value changed but the key exists in both.
Does key order matter?
No. Since the comparison is structural, reordering keys within an object doesn't register as a difference - only actual additions, removals, and value changes do.
What happens if my JSON is invalid?
The tool shows an error message and doesn't attempt a comparison until both inputs parse as valid JSON.
How we compare
| Feature | Online Tool Store | Plain text diff | jsondiff.com |
|---|---|---|---|
| Ignores key reordering | ✓ | ✗ | ✓ |
| No file upload - runs in your browser | ✓ | ✓ | ✗ |
| No ads | ✓ | ✓ | ✗ |
For a structural JSON comparison that ignores formatting noise, JSON Diff Tool is more useful than a plain text diff.