JSON A

JSON B

Diff Result

What is a JSON Diff Tool?

A JSON diff tool compares two JSON documents and highlights the differences between them. It identifies keys that were added, removed, or whose values changed — making it easy to spot exactly what changed between two API responses, configuration files, or data exports.

Instead of reading two JSON blobs line by line yourself, the tool does the heavy lifting and presents a clear, structured summary of every difference.

How to Use the JSON Diff Tool

1

Paste JSON A

Paste your first JSON object into the left JSON A panel.

2

Paste JSON B

Paste your second JSON object into the middle JSON B panel.

3

Read the Diff

The right panel instantly shows every key that was added (+), removed (-), or changed (~).

Example

Here is a quick example showing how the diff output looks:

Comparing two user objects

JSON A (Input):

JSON A (Input)

JSON B (Input):

JSON B (Input)

Diff Result:

Diff Result

Frequently Asked Questions

Does this tool support nested JSON?

Yes. The diff tool recursively walks nested objects and arrays, reporting changes at every depth level with a dot-notation path such as user.address.city.

What does the output mean?

+ added means the key exists in JSON B but not in JSON A. - removed means it existed in JSON A but is gone in JSON B. ~ changed means the key exists in both but the value is different.

Is my data sent to a server?

No. All comparison logic runs entirely in your browser. Your JSON data never leaves your device.

Related Tools

See also: JSON Formatter, JSON Validator, JSON Merge.