Skip to content
Changelog
new tooldeveloper

JSON Diff

v1.0

JSON Diff compares two JSON documents by structure and lists exactly what changed.

Each difference is an addition, a removal, a changed value or a type change, with a path such as $.users[3].name. Key order is ignored, so reordering a config file is not reported as a change, and null and a missing key stay distinct.

Arrays are compared so that one insertion or removal in the middle doesn't flag everything after it. Only the elements that were added or dropped are reported, and an element that changed shows its nested edits. There's no move detection yet, so an element moved to a different position shows as a removal plus an addition. An optional tolerance switch treats numbers within a tiny difference as equal, so 0.1 and 0.1000000001 don't show up as a change.

The Changes view is a filterable list with a badge for each kind, the path, and the before and after values. Click a path to flash the matching lines in both editors, and use the crosshair to pin a highlight on the value. Filter chips show a live count per kind, and when nothing differs you see a "no structural differences" message. The Text view shows the same comparison as a side-by-side or unified diff of both documents, re-formatted with sorted keys. Parse errors appear in the pane with a jump-to-location link, and the last good comparison stays on screen, dimmed, while you fix them.

Copy or download the change list as JSON, or share the comparison as a link. Your documents are never uploaded and never saved; only your view and options are remembered.

All changes