JSON ToolsavailablePopular

JSON Compare

Compare two JSON documents and spot structural differences.

Left JSON

Paste strict JSON for the left side.






Right JSON

Paste strict JSON for the right side.






Input statistics

Left: 0 characters · 0 lines · 0 B

Right: 0 characters · 0 lines · 0 B

What this tool does

Compare two strict JSON values structurally in your browser. Formatting and object property order do not create false differences; actual values and structure do.

How to use

  1. Paste the original JSON on the left and updated JSON on the right.
  2. Select Compare or press Ctrl/⌘+Enter.
  3. Review the added, removed, changed, and type-changed paths.
  4. Copy the summary or an individual difference when needed.

Array behaviour and limitations

Arrays are compared by index in this version, so moving an item can appear as multiple differences. The tool accepts strict JSON only: no comments, trailing commas, schema validation, automatic merge, or array identity matching.

Performance and large documents

Comparison happens entirely in your browser. Large documents may require more memory and processing time. Tree View is built only when needed, and Full Structure may take longer for very large JSON. Arrays are compared by position.

Privacy

Both JSON values stay in your browser. Nothing you enter is uploaded or automatically saved.

Frequently asked questions

Does property order matter?

No. Objects are compared by property names, not their written order.

What does type changed mean?

The path exists on both sides but has different JSON types, such as number and string.

Can JSON start with an array or primitive?

Yes. Arrays, strings, numbers, booleans, and null are supported root values.

Does this merge JSON?

No. It reports structural differences only.

Why are comments rejected?

Comments are not part of strict JSON.

Practical guide

When to use it

Use it to compare API responses, configuration revisions, or test fixtures when a plain-text diff hides the structure of the change.

Three steps

  1. Paste the earlier JSON on the left and the revised JSON on the right.
  2. Compare the documents and filter or inspect the changed paths.
  3. Copy the summary or a specific difference into your review or issue.

Example and a common mistake

It can show that settings.theme changed from "light" to "dark" while the rest of the object stayed the same.

Array positions are compared by index, so moving an item can appear as several changes rather than a rename or move.

JSON

Available

JSON Sort Keys

Sort JSON object keys for predictable file diffs.

JSON

Available

JSON Formatter

Format, validate, minify, and sort JSON locally.

JSON

Available

JSON Validator

Check JSON syntax and pinpoint invalid data.