Data & developer tools JSON

JSON Compare

See what changed between two JSON documents without sending either one anywhere.

Workspace

Compare original and updated JSON

Runs locally in your browser. Your documents are not uploaded, saved, or included in sharing.
0 characters
Or drop one .json or .txt file here (up to 5 MiB). Replaces this input; stays on your device.

The version you want to compare from.

0 characters
Or drop one .json or .txt file here (up to 5 MiB). Replaces this input; stays on your device.

The version you want to compare to.

Comparison result

Waiting for input

Your comparison will appear here.

Ready when you are.

Video guide · 19 seconds

Watch: compare two JSON documents

No sound. Each step is captioned on screen and also written out in the guide below.

Comparison rules

Meaning over formatting

  1. 01
    Object order is ignored

    Reordering keys does not create a difference.

  2. 02
    Arrays stay ordered

    Moving an array item is a meaningful change.

  3. 03
    Every change has a path

    Find edits quickly with paths like $.user.name or $.items[2].

Example

Try a three-way change

Original                 Updated
"version": 1             "version": 2
"legacy": true            "newTool": "compare"

Load the example to see a changed value, an added key, and a removed key in one report.

Good to know

Frequently asked questions

Does whitespace affect the result?

No. Both documents are parsed before comparison, so spaces, line breaks, and object key order are ignored.

How are arrays compared?

Array order and position are significant. An item at $.items[1] is compared with the item at the same position in the other document.

Can I share a comparison with someone?

You can share the tool link, but document content is never placed in the URL. Copy or download the report locally when you need to send the result.