About JSON Diff

JSON Diff compares two JSON documents structurally. Objects are compared key by key and arrays by index, and every difference is listed with its path: plus for added, minus for removed, tilde for changed.

Both documents stay in the page. Nothing is uploaded.

How to use it

  1. Paste the original JSON in A and the new one in B.
  2. Read the change list and the summary counts.
  3. Copy the diff if you need it elsewhere.

Common questions

How are arrays compared?

By index. Element 0 is compared to element 0, and so on; extra elements on either side are reported as added or removed.

What about a value that changes type?

A change from, say, an object to an array is reported as a single change, not a deep diff.

Does key order matter?

No. Objects are compared by key regardless of order.

Is my data uploaded?

No. The comparison runs in JavaScript in the open tab.