🔍 JSON Diff (Structural Compare)
Compare two JSON documents structurally and show additions, deletions, and changes with JSON Pointer paths (/path/to/field). Supports key sort, array order ignore, and type-change detection.
✅ 100% free, no signup, runs entirely in your browser
🔒 About Privacy
- ・All processing happens entirely in your browser
- ・Your input data is never sent to any server
Diff Result
🔗 Related Tools
📖 How to Use
-
1
Paste two JSON documentsPaste the old version on the left and the new one on the right. The Sample buttons load example data.
-
2
Adjust optionsChoose the view (tree / flat / unified), whether to ignore key order or array order, and how strict type comparison should be.
-
3
Review the diffAdded (+), removed (-), and changed (~) entries appear color-coded with JSON Pointer paths. The summary shows totals at a glance.
❓ FAQ
What is JSON Pointer?
A slash-separated path notation defined in RFC 6901 for pointing at any value inside a JSON document. For example, /users/0/email points to the email field of the first array element.
What changes when array order is ignored?
Arrays are treated as sets — equal contents in different orders are considered unchanged. Useful when only the contents matter, not the position.
How are string "1" and number 1 compared?
In Strict mode they are reported as a change; in Loose mode they are treated as equal by value. Switch to Loose to tolerate type drift in API responses.
🐛 Found a bug or issue with this tool?
Free to use, no signup. Even just the steps to reproduce are helpful. Reports go directly to the operator and help us fix issues.
✅
Thanks for your report!
Your report has been delivered to the operator and will be used to improve the tool.