Skip to content
devutils.info

JSON Tools · Guide

JSON Diff Checker guide

Compare two JSON documents and see added, removed and changed values by path.

Open the JSON Diff Checker

About the JSON Diff Checker

Comparing JSON line by line is noisy: reordered keys or different indentation show up as changes even when the data is identical. This tool compares JSON structurally — it parses both documents and reports only real differences, each with its exact path.

Use it to review API response changes, compare configuration between environments or check test fixtures.

How to use

  1. Paste the original JSON on the left and the modified JSON on the right (or load the sample).
  2. Click Compare. Each input is validated independently, with errors shown under the side that failed.
  3. Review the differences: added (+), removed (−) and changed (~), each with its path such as user.roles[1].
  4. Copy or download the report as text.

Examples

Detecting changes

Input

Left:  {"name":"api","version":1,"tags":["a","b"]}
Right: {"version":2,"name":"api","tags":["a"],"public":true}

Output

~ version: 1 → 2
- tags[1]: "b"
+ public: true

How the comparison works

  • Whitespace, indentation and object key order are ignored.
  • Arrays are compared by position: inserting an item at the start reports every following item as changed.
  • A type change (e.g. "1" → 1) is reported as a change.
  • Up to 5,000 differences are listed.

Frequently asked questions

Why are my files reported as equivalent when the text differs?

Only data is compared. Differences in formatting or key order don't change the meaning of JSON, so they aren't reported.

Can it compare very large files?

Yes, up to 5 MB per side. Large comparisons run in a Web Worker so the page stays responsive.

Is my data uploaded?

No. Both documents are parsed and compared in your browser.

Ready to try it? Everything runs locally in your browser.

Open the tool