JSON Diff

Compare two JSON snippets; list added, removed and changed key paths

How to use

Diff expands every level recursively, using dots for object paths and [n] for array indices. Arrays are compared element by element; a change in order is treated as a modification.

FAQ

How are array order changes counted?

Elements are compared by the same index. If an element just moved position, the old and new values at that index differ, so it is marked as changed.

Does diff ignore field order?

Yes. Object keys in a different order but with the same content count as no difference; only added, removed or changed values are listed.