Developer tool / 11

JSON Diff Comparator

Compare two JSON payloads side-by-side, highlighting added, removed, and modified keys.

JSON Diff Comparator: TOEA recursively parses and compares two JSON objects or arrays, identifying structural key additions, deletions, and type/value modifications. Runs 100% locally in your browser with zero server file uploads.

Runs
In your browser
Cost
Free · no sign-up
Availability
Ready to use
JSON structural comparatorLocal processing

Runs entirely in your browser

Arrays are compared by position

Item 0 is compared with item 0, item 1 with item 1, and so on. If one list has a record inserted at the start, every later item shifts and shows as modified, even though nothing else changed. Before comparing lists whose order is not meaningful, such as users or products, sort both by the same key, for example by id, so each record lines up with its counterpart.

What counts as a change

The comparison works on parsed values, so indentation, whitespace, and key order never show up, and 1.0 equals 1. A type change does: 42 against "42", or null against a missing key. When an API response differs only in formatting, this is the tool; to see changes in layout or comments, compare the text in the diff checker.

Paths are written with dots and brackets, such as items[2].price, so a key that itself contains a dot reads ambiguously.

How to use it

  1. Paste original JSON on the left and updated JSON on the right.
  2. Review added (+), removed (-), and modified (~) entries.
  3. Copy or download the structured diff JSON.

Privacy & limitations

All JSON parsing and diffing is done locally in your browser memory.

Related tools

Frequently asked questions

How are array items compared?

Array elements are compared by positional index and value structure.

Can I export the diff?

Yes, you can copy or download the filtered diff array.

Free tool · runs in your browser · no account required