Integration Lab JSON Tools

JSON Compare

Compare two JSON documents and see every added, removed and changed value, listed by path.

Original

Empty
0 B

Changed

Empty
0 B

Paste JSON on both sides

Differences appear here as you type, listed by path.

How to use the JSON Compare

  1. Paste the original JSON on the left and the changed JSON on the right.
  2. Differences appear as you type, grouped as added, removed and changed.
  3. Filter the list, or copy it as a plain-text report.

Questions

Does key order matter?
No. Objects are compared by key, so the same keys in a different order are equal.
What does 'Ignore array order' do?
It treats arrays as sets of items, so [1, 2] and [2, 1] are equal and only items that appear on one side are reported.
How are moved items in arrays shown?
Arrays are lined up by matching items first, so inserting one item near the start reports one addition rather than a change to everything after it.