Skip to content

Data tool

JSON Diff Checker

Paste two JSON documents to compare them and see exactly which values were added, removed or changed.

Runs entirely in your browser. Nothing you paste is uploaded.

Paste JSON into both boxes to compare them.

JSON Diff Checker by YegappanFree tool. Open the full page for the guide.

How to use the JSON Diff Checker

  1. Paste the original JSON on the left and the changed JSON on the right.
  2. Select Compare. Each difference is listed with its path, such as $.limits.users.
  3. Turn on Ignore the order of array items when lists may be shuffled but should contain the same things.

How the JSON comparison works

A JSON diff tool compares two JSON documents and shows the difference between them. Unlike a plain text diff, this JSON compare tool understands the structure, so key order and formatting never count as changes.

A plain text diff reports changes whenever formatting or key order differs, even when the data is identical. This checker compares the structure instead: two objects are equal when they have the same keys and values, whatever order the keys are written in.

Each difference is reported once, at the deepest path where the two documents disagree, and labelled Added, Removed or Changed. Values that mean the same thing, like 1 and 1.0, count as equal.

Arrays are compared item by item in order by default. For lists such as tags or IDs where order does not matter, switch on the array-order option to compare them as sets.

Common questions

How do I compare two JSON files online?

Paste the first JSON on one side and the second on the other. The checker lists each difference with its path and marks it as added, removed or changed.

Does key order matter?

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

What does the path column mean?

It is the location of the value inside the document. $ is the root, a dot enters an object key, and [0] is an array position, for example $.items[2].price.

Can it compare very large files?

Yes, within the memory of your browser. The table shows the first 2,000 differences, and the copy button exports all of them.

Is the data uploaded?

No. Both documents are compared locally in your browser.

Guides for the JSON Diff Checker

Related tools