JSON Compare

Diff two JSON documents structurally — formatting differences are ignored, only real additions, removals, and changes are highlighted.

Left (Original)
Right (Changed)
Diff

Paste JSON into both panes and click Compare to see differences.

Structural Diff

Compares by parsed shape, not text — formatting never causes false positives.

Handles Large Documents

Comparisons over 200KB run in a Web Worker to keep the UI responsive.

Local Processing

Your data never leaves your browser. Privacy first comparison.

How to Compare Two JSON Documents

  1. Paste the original document into the left pane and the changed version into the right pane.
  2. Click Compare.
  3. Read the diff below: added, removed, and changed fields are color-coded, with old and new values shown side by side.
  4. Leave "Hide unchanged" checked to see only the differences — untick it when you need the full document for context.

Example: What Changed Between Two Config Versions

Left (original) vs right (changed)

{"version":"1.4.0","features":{"darkMode":true,"export":false}}

{"version":"1.5.0","features":{"darkMode":true,"export":true},"beta":true}

The diff reports

version   changed   "1.4.0" → "1.5.0"
features.export   changed   false → true
beta   added   true

features.darkMode is identical in both documents, so with "Hide unchanged" on it doesn’t appear at all — only the three real differences do.

Structural, not textual

The two documents are parsed and compared as data, not as lines of text. Reordering keys, changing indentation, or minifying one side produces zero differences — a text diff would flag every line. That makes this the right tool for comparing API responses across environments or config files touched by different formatters.

Reading the result

Every difference is classified as added (exists only in the right document), removed (only in the left), or changed (present in both with different values), and nested differences carry their full path — features.export, not just export — so you know exactly where in the document the change lives.

Frequently Asked Questions

Related Tools