Skip to content
DDevToolery

JSON Diff

Compare two documents structurally instead of line by line.

Loading tool…

About this tool

Walks both trees and reports added, removed and changed paths, so reordered keys and reindented output do not show up as noise.

Limitations

  • Array comparison is positional. An element inserted at the front reports every later index as changed.

Questions

Why does a reordered array show as changed?
Arrays are ordered, so their order is part of the data. Elements are compared by position, which means inserting one near the top reports every element after it as changed.
Can I get a patch file from this?
Yes — the unified view produces standard patch output you can copy or download and apply with git apply.

Privacy

This page does its work in your browser. What you paste is processed by JavaScript running on your own device and is never sent to a DevToolery server — there is no server that could receive it. The page itself is a static file delivered by a CDN. See exactly what is stored.