COMPARE · AmpCub comparison helper
JSON Diff
See structural and value changes by JSON path.
Compare two JSON documents by path — adds, deletes, changes, and type shifts.
Comparison rules, limits & privacy
- Objects are compared by key (order does not matter); arrays are compared by index.
- Reports additions, deletions, value changes, and type changes. Numbers use Object.is, distinguishing 0 from -0 while treating NaN as equal.
- Each side is limited to 100,000 UTF-16 units; up to 5,000 differences are reported and a single array may contain up to 20,000 elements.
- Processing runs in a Web Worker, can be cancelled, and times out after 10 seconds.
- JSON stays only in this page's memory and Worker; it is not uploaded, stored, or sent to Analytics. Results are rendered as text nodes.