Skip to content

JSON Diff

Compare two JSON documents structurally and see exactly which paths changed.

Show

Quick Tool Overview

The JSON Diff compares two documents structurally rather than as text, so reordered keys and different indentation are ignored. Every real difference is listed by its path, grouped into added, removed and changed.

What it does
Finds the structural differences between two JSON documents
You give it
Two JSON documents to compare
You get back
Every changed path with its before and after value
Best for
API version comparisons, staging versus production checks
Developer Tools Free, unlimited use No sign-up Runs in your browser

About the JSON Diff

A text diff of two JSON files is nearly useless: reorder the keys and every line shows as changed, even though the data is identical. This tool compares the parsed structures instead, so key order and formatting are ignored and only real differences are reported.

Each difference is listed by its full path with the old and new values side by side, grouped into added, removed and changed. That makes it the right tool for the questions people actually ask of two payloads: what did this API change between versions, which fields does staging return that production does not, and did my migration alter anything it should not have.

Key features of the JSON Diff

Key order is ignored

The documents are parsed before they are compared, so a reordered response does not drown the real changes in noise.

Every difference has a path

Results are reported as data.user.email rather than as a line number, so you can find the field in code immediately.

Type changes are caught

A value that goes from the number 1 to the string "1" is reported as a change — the serialisation bug a text diff hides.

Filter by kind

Show only additions, only removals or only changes when a diff runs to hundreds of rows.

Optional array-order tolerance

Compare arrays as unordered sets when the sequence is not meaningful, which stops a reordered list reading as a rewrite.

How to use the JSON Diff

  1. 1

    Paste the original

    Put the baseline document — the old version, or production — in the left box.

  2. 2

    Paste the comparison

    Put the version you are checking in the right box.

  3. 3

    Read the differences

    Every changed path is listed with its before and after value, colour-coded by kind.

  4. 4

    Filter the noise

    Hide the kinds you do not care about, or ignore array order when the sequence is not meaningful.

Frequently asked questions

No. The documents are parsed first, so {"a":1,"b":2} and {"b":2,"a":1} compare as identical. Only values and the set of keys matter.

Reviews of the JSON Diff

What people who use the JSON Diff think of it. Reviews come from visitors and are posted as written.

No ratings yet

Yours would be the first.

  • 5 0 reviews rated 5 stars
  • 4 0 reviews rated 4 stars
  • 3 0 reviews rated 3 stars
  • 2 0 reviews rated 2 stars
  • 1 0 reviews rated 1 star

Write a review

Used this tool? Your rating helps the next person decide.

Your rating

Plain text only — links, email addresses and HTML are not accepted. Your name and review are shown publicly; nothing else is collected. See the privacy policy.

0 reviews

Newest first

No reviews yet

Be the first to rate the JSON Diff. It takes half a minute and no account.

Write the first review

More developer tools