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
- Paste the two JSON documents into the left and right panes
- Differences are listed automatically, path by path
- 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
JSON Formatter & ValidatorFree online JSON formatter and validator with inline error hints, collapsible tree view and in-browser processing.JSON MinifierFree online JSON minifier: compress JSON to one line, see live size savings, and validate syntax — processed locally.JSON Escape / UnescapeFree online JSON escape and unescape tool for quotes, newlines and backslashes — fix nested escaping locally.JSON Key SorterFree online JSON key sorter: recursively order object keys alphabetically so semantically identical JSON diffs cleanly.JSON to TypeScriptFree online JSON to TypeScript converter: infer interfaces from JSON — nested types, union arrays, optional nulls.JSON to CSV ConverterFree online JSON to CSV converter with RFC4180 escaping, union-field headers, CSV-to-JSON reverse and .csv download.
Last updated 2026-09-04