CodeScript

JSON Compare

Diff two JSON documents and see what changed.

What it does

JSON Compare pretty-prints both of your JSON inputs with consistent formatting, then runs a line-by-line diff so additions, removals, and changes are highlighted clearly — similar to a git diff.

FAQ

Since this is a line diff on pretty-printed text, reordered keys will show as changed lines even if the underlying data is equivalent. For strict key-order-independent comparison you'd need a structural diff instead.

Related tools