Skip to content
Handy Browser Tools

JSON Compare

Paste two JSON documents to see exactly what was added, removed or changed. Object key order never matters; large numbers stay exact.

How to use
Private by default: processing stays on your device

Same meaning, any order.

Key order never matters. Array order does — unless you say otherwise.

How comparison works

Objects compare by content, so reordered keys are equal. Arrays compare in order by default; the unordered option matches them as multisets (duplicates still count). A missing property and an explicit null are different things, and large numbers compare as exact text — never through lossy JavaScript numbers, so 1 and 1.0 are equal but 9007199254740993 and 9007199254740992 are not.

Ignored paths skip a value and everything below it. Duplicate object keys follow JSON.parse (last wins) and are flagged. Results cap at 1,000 shown differences.

How to use this tool

  1. Paste the left (old) JSON and the right (new) JSON.
  2. Optionally ignore volatile paths like $.updatedAt, or enable order-insensitive array comparison.
  3. Select Compare JSON and walk the changed paths; download or copy the report.

Example: a changed value

Input

{"name":"Ada","active":true}

Output

Compared against a second document where active is false: one changed path, $.active, true → false.
Share this page X LinkedIn Reddit

These buttons share the page link, not your input.

Frequently asked questions

Does key order matter?

No. Objects compare by content, so {"a":1,"b":2} and {"b":2,"a":1} are equal. Arrays compare in order by default, with an explicit option to ignore order.

How are big numbers handled?

Numbers compare as exact text, never through lossy JavaScript numbers. 1 and 1.0 are equal, but 9007199254740993 and 9007199254740992 are correctly different.

Is null the same as missing?

No. An explicit null and an absent property are reported as different, and the detail line says which is which.

Are my documents uploaded?

No. Comparison runs entirely in your browser, and drafts stay in this browser's local storage.

JSON Formatter

Format, beautify and validate JSON instantly in your browser.

JSON Minifier

Minify JSON online by removing all whitespace and line breaks.

CSV Compare

Compare two CSV files by key column free in your browser.

Text Diff Checker

Compare two texts online and see added and removed lines highlighted.