Skip to content

🔍 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

Diff Result

🔗 Related Tools

📖 How to Use

  1. 1
    Paste two JSON documents
    Paste the old version on the left and the new one on the right. The Sample buttons load example data.
  2. 2
    Adjust options
    Choose the view (tree / flat / unified), whether to ignore key order or array order, and how strict type comparison should be.
  3. 3
    Review the diff
    Added (+), 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.

* Browser info (UA / screen / language / URL) is sent automatically to help reproduce the issue