Search tools

Search for a command to run...

JSON Diff (Compare JSON)

Compare two JSON documents semantically — see added, removed and changed values by path, ignoring key order and formatting.

How to use

  1. 1Paste the original JSON on the left and the new JSON on the right.
  2. 2Each difference is listed with its path: + added, − removed, ~ changed.

Frequently asked questions

Does key order matter?

No. Objects are compared by key, so {"a":1,"b":2} and {"b":2,"a":1} are identical.

Does array order matter?

Yes. Arrays are compared position by position, because order is meaningful in JSON arrays.

Are 1 and 1.0 the same?

Yes. JSON numbers are compared by value, so 1 and 1.0 are equal, but 1 and "1" are different types.