Free APIs For You
Free APIs For You
Free · Browser-only · No sign-up

JSON Diff Checker

Paste two JSON objects and instantly see every difference. Added fields highlight in green, removed in red, changed values show old and new side-by-side. Deep comparison with full nested object and array support using dot-notation paths.

Deep comparisonNested objectsArray diffDot-notation paths100% offline
json a (original)
json b (modified)

About this tool

Performs a deep structural diff between two JSON objects. Added keys show in green, removed keys in red, changed values show both the old and new value in yellow. Array elements are compared by index. Runs entirely in your browser — no data is sent anywhere.

Features

Deep comparison

Recursively diffs nested objects and arrays at any depth

Dot-notation paths

Every change shows its exact path like user.address.city

Color-coded output

Green for added, red for removed, yellow for changed values

Change summary

Count of added, removed, and changed fields at a glance

Identical detection

Clearly signals when both JSON objects are exactly the same

Browser-only

Zero server requests — your data stays on your device

How to use

  1. 1

    Paste JSON A

    Paste the original or baseline JSON into the left panel.

  2. 2

    Paste JSON B

    Paste the modified or updated JSON into the right panel.

  3. 3

    Compare

    Click Compare JSON to run a deep structural diff.

  4. 4

    Review results

    Scroll the diff panel to see every change with its exact path, old value, and new value.

Frequently asked questions

How are array differences shown?

Array elements are compared by index. If JSON A has tags[0]="developer" and JSON B has tags[0]="engineer", the diff shows tags[0] as changed. New elements added to the end show as added with their index.

What if the two JSON objects have completely different structures?

All keys in JSON A that are absent from JSON B appear as removed, and all keys in JSON B absent from JSON A appear as added. The tool handles any structural difference.

Can I compare arrays at the top level?

Yes. Paste two JSON arrays and the tool compares them element by element, showing differences at each index position.

How is this useful for API development?

Compare API responses from two environments (dev vs prod), two API versions, or before and after a deployment to spot unintended changes, missing fields, or type changes in response payloads.