Loading…

Skip to content

JSON Diff

Compare two JSON documents and see exactly what was added, removed or changed.

How it works

Both documents are parsed, have their keys sorted and are re-formatted, so differences in spacing or key order are ignored. What remains is highlighted line by line.

Reading the result

Green lines were added in B; red struck-through lines exist only in A.

Frequently asked questions

Does array order matter?

Yes. Arrays are compared in order, so the same items in a different order show as changes.

Related tools