Data & Formatting

JSON Diff

Compare two JSON documents and see exactly what changed

Compare two JSON documents and see precisely what changed — which keys were added, which were removed, and which values differ — instead of squinting at a line-by-line text diff. The comparison is structural and recursive: it walks nested objects and arrays and reports each difference by its full path. Both documents are parsed and compared entirely in your browser.

Runs 100% in your browser — no upload, no tracking, no ads

How to use JSON Diff

  1. Paste the original JSON on the left and the changed JSON on the right.
  2. The differences are computed automatically as you type.
  3. Review each change by its path, marked added, removed, or changed.
  4. Fix the input if either side reports a JSON parse error.

Frequently asked questions

How is this different from a plain text diff?

A text diff compares characters and lines, so reformatting or reordering keys creates noise. This tool compares the parsed structures and reports only real changes to keys and values, regardless of whitespace or formatting.

Does key order affect the result?

No. Objects are compared by key, so reordering properties is not flagged as a change. Array elements, however, are compared by their position.

Is my JSON uploaded anywhere?

No. Both documents are parsed and diffed locally in your browser; nothing is sent to a server.

Related Data & Formatting tools