JSON Compare – Find Differences
Paste two JSON documents and see exactly what was added, removed or changed, with the path to each difference.
How to use the JSON Compare
- Paste both JSON documentsPut the original on the left and the changed version on the right, or open two .json files.
- Choose what to ignoreKey order and formatting are always ignored. You can also ignore the order of array items, text case and extra spaces.
- Read the differencesEach difference shows its path, such as $.settings.theme, with the old and new value. Copy or download the report.
Example
In the sample, $.email and $.settings.theme changed, $.settings.lang was removed and $.verified was added: 8 differences in total.
$.orders[0].total changed from the number 49.5 to the text "49.50", which is shown as a type change. Turn on “Ignore array order” and the roles list only shows "admin" as added.
Frequently asked questions
Does key order matter?
No. {"a":1,"b":2} and {"b":2,"a":1} are treated as identical, because JSON objects have no order. Spacing and line breaks are ignored too.
What does the path mean?
$ is the top of the document. .name is a key, and [2] is the third item of an array (counting from 0). $.orders[0].total is the total of the first order.
When should I ignore array order?
When the array is a set, like tags or roles, where ["a","b"] and ["b","a"] mean the same. Keep it off for lists where position matters, such as steps or rankings.
Is my JSON uploaded?
No. The comparison runs in your browser, so API responses, configs and private data never leave your device.