JSON Diff: compare two JSON documents
Compare two JSON documents structurally — added, removed and changed paths.
About this tool
Compare two JSON documents by structure rather than by text, so key order and formatting do not create noise. Each difference is listed with its path and whether the value was added, removed or changed.
Arrays can be compared by position, by aligning equal items, or by matching objects on a key such as id. Paths can be ignored, for example updatedAt, to hide fields that always change.
How to use it
- Paste the original JSON on the left and the new version on the right.
- Choose how arrays are matched (by content, by position or by a key such as id) and list any paths to ignore.
- Read the differences, each with its path and whether it was added, removed or changed.
Example
Input:
Original: {"id":1,"name":"Ada","role":"admin"}
New: {"id":1,"name":"Ada L.","tags":["x"]}What the comparison reports:
name changed "Ada" → "Ada L."
role removed "admin"
tags added ["x"]