WebTool

JSON Diff & Compare

Free online JSON compare tool: ignores key order, listing added, removed and changed fields by path — all local.

Privacy: all processing happens locally in your browser. Your input never leaves your device.

What is JSON Diff & Compare?

Eyeballing two API responses or config revisions line by line is painfully slow. This tool performs a structural comparison of two JSON documents: it ignores key order and whitespace, then lists added, removed and changed fields path by path — for example data.items[2].price: 8 -> 12. Compared with a text diff, path-level comparison pinpoints the exact field that changed. All computation is done locally.

How to Use

  1. Paste the two JSON documents into the left and right panes
  2. Differences are listed automatically, path by path
  3. Click a diff entry to see the before and after values

FAQ

Does the comparison ignore key order?
Yes. Comparison is based on data semantics, not text: {"a":1,"b":2} and {"b":2,"a":1} are judged identical.
Does reordering array elements count as a difference?
Yes. Arrays are ordered, so [1,2] and [2,1] are different. To ignore order, sort object keys with the JSON Key Sorter first.
How large a JSON can it handle?
Typical documents of a few MB compare smoothly; all computation happens locally in your browser.

Related Tools

Last updated 2026-09-04