JSON · LIVE

JSON Diff Viewer

Compare two JSON documents side by side. Missing properties, type mismatches and unequal values are highlighted inline, with a navigable list of every difference.

Original (A)

Modified (B)

Paste JSON into both panels above to compare them.

  

What is a JSON Diff Viewer?

A JSON diff viewer compares two JSON documents side by side and highlights the differences — added keys (green), removed keys (red), and changed values (yellow). Unlike a plain text diff, a semantic JSON diff understands the structure, so reordering keys or whitespace changes do not show up as differences.

How to compare two JSON documents

  1. Paste the original JSON into the left panel.
  2. Paste the modified JSON into the right panel.
  3. Differences appear instantly — green for additions, red for deletions, yellow for changes.

Frequently Asked Questions

What is the difference between a semantic JSON diff and a text diff?

A text diff compares JSON line by line and flags a difference any time whitespace or key order changes. A semantic diff compares the parsed data structure, so reformatting or reordering keys does not produce false positives.

Can I diff JSON arrays?

Yes. The tool compares array elements by index, so added, removed, or changed items are all highlighted correctly.

Does it work for large JSON files?

Yes. Both panels support large JSON documents. All diffing runs in your browser with no server upload required.

What should I use a JSON diff for?

Common uses: comparing API responses before and after a code change, verifying configuration migrations, debugging webhook payloads, and auditing data transformations.