Utilitory / Technology / JSON Diff Checker
Technology · Tools

JSON Diff Checker

Compare two JSON documents, find added, removed and changed values, and inspect their paths.

Reserved ad space · responsive display

JSON documents

Paste two JSON documents. Keys are compared regardless of object property order.

Comparison happens locally in your browser. Avoid pasting secrets into shared devices.

Differences

Added, removed and changed paths between the original and updated JSON.

Differences found
—
Object key order is ignored.
Added paths—
Removed paths—
Changed paths—
Reserved ad space · after calculator
Calculator guide

More Information

Find structural differences between JSON values without sending your data to a server.

How to use it

Paste valid JSON into both text areas and select Compare JSON. Added paths appear only in the updated document, removed paths appear only in the original, and changed paths contain different values. The output uses JSON Pointer-style paths such as /user/name.

Comparison rules

Object property order does not matter. Nested objects and arrays are compared recursively. In the default mode, array order and indexes matter, so moving an item may show changes. The optional value comparison treats arrays of primitive values as unordered multisets, including duplicate counts; arrays containing objects still use positional comparison.

Worked example

Comparing {"version":1} with {"version":2,"enabled":true} reports one changed path (/version) and one added path (/enabled).

Privacy and limitations

JSON is parsed and compared entirely in the browser; the calculator does not upload the documents. JSON does not support comments, trailing commas, undefined or NaN. Very large or deeply nested documents may be slow to compare. Paths use JSON Pointer escaping (~0 for ~ and ~1 for /). No cryptographic or schema validation is performed.

Frequently asked questions

Does whitespace matter?

No. The tool compares parsed values, not formatting.

Can it compare arrays?

Yes. Arrays are positional by default. The alternate mode can ignore ordering for arrays containing only primitive values.

Explore related tools

Working on a larger task? Browse the connected calculators in these toolkits.

Developer & Networking Tools →

Continue exploring Developer & Networking Tools

These calculators work independently. Open another tool to continue your planning.