Schema & Compare · Runs in your browser

JSON Diff

Compare two JSON documents and see exactly what was added, removed or changed — by path, not by line, so formatting and key order don’t matter.

Original
Drop a file to load it
Empty
Modified
Drop a file to load it
Empty
Waiting for inputPaste JSON into both editors to compare them.

How to use it

  1. Paste the original JSON on the left and the modified JSON on the right.
  2. Differences appear instantly below, grouped as added, removed or changed.
  3. Each entry shows its path (like $.users[2].email) and the old and new values.

Structural comparison

Objects are compared key by key, so reordering keys or reformatting doesn’t count as a change.

Arrays

By default arrays are compared position by position, so [a, b] vs [b, a] shows two changes. Turn on “Ignore array order” to treat arrays as sets — items are matched by content wherever they are.

Exact numbers

Numbers are compared by value without rounding: 1.0 equals 1, but two 20-digit IDs that differ only in the last digit are reported as different.