JSON diff

Compares two JSON documents by structure and value — key order and formatting don't matter, unlike a plain text diff.

What is JSON diff?

Comparing two JSON documents line-by-line (like a plain text diff) is misleading, since JSON's formatting and key order can differ without the actual data being any different — a structural diff compares the real values instead.

How to use it

Paste two JSON documents; every added, removed, or changed value is listed by its exact path within the structure, regardless of formatting or key order.

Example

Changing "age": 30 to "age": 31 reports: changed at $.age: 30 -> 31