JSON Diff
Compare two JSON documents and see exactly what changed — added, removed, or modified values with their JSON paths.
Input
How it works
- Paste two JSON documents — the tool recursively compares them value by value.
- Every difference is reported with its JSON path (e.g.
$.user.address.city) and the change type. - Added keys or array items appear in B but not A; removed appear in A but not B; changed exist in both with different values.
- Object key order is ignored — only values and structure are compared.
About JSON Diff
Comparing two JSON documents by eye is error-prone once they grow beyond a few lines. A JSON diff computes the precise set of differences — new keys, deleted keys, and modified values — and reports each one with a path you can act on. This is especially useful when debugging API responses, configuration files, or generated schemas that change between deploys.
Use it whenever you need to answer "what actually changed?" between two data snapshots. Note that this is a structural comparison: it does not do semantic comparison (e.g. 1 vs 1.0 are different values) and it treats arrays positionally, so a reordered array appears as many individual changes rather than a single "moved" entry.