JSON Diff (Compare JSON)

Compare two JSON documents by meaning, not formatting. Each difference is listed with its path, such as user.address.city or items[2].price.

Why a structural JSON diff?

A normal text diff reports changes when keys are reordered or indentation changes, even if the data is identical. This tool parses both documents and compares values, so {"a":1,"b":2} and {"b":2,"a":1} are equal.

Reading the result

Array order

By default arrays are compared item by item. Enable Ignore array order when arrays are sets, for example tags or permission lists.

Frequently asked questions

Is the number 1 equal to the string "1"?

No. They are different types in JSON, so the tool reports a change.

Can I compare API responses?

Yes. It is ideal for comparing responses between environments or versions. Data stays in your browser.

How are moved array items shown?

Without “Ignore array order”, moved items appear as changes at each index. With it, only items missing on one side are reported.