the IT Hustle
ToolsField ManualAbout

JSON Diff

Paste two JSON objects and see exactly what's different. Added keys in green, removed in red, changed values with before/after. Perfect for comparing API responses or config changes.

Compares JSON structure locally in your browser. No data leaves your machine.

How to Compare Two JSON Objects

See exactly what changed between two JSON documents with The IT Hustle's free JSON Diff tool.

  1. 1
    Paste both versionsPut the original JSON in the left panel and the updated version in the right — or click Load Sample to see a demo.
  2. 2
    Run the comparisonClick Compare to diff the two documents structurally, key by key, at every nesting depth.
  3. 3
    Read the resultsEach difference shows its full path (like user.address.city) tagged as Added, Removed, or Changed — with old values in red and new values in green.
  4. 4
    Filter the noiseUse the All / Added / Removed / Changed filter buttons, each showing a count, to focus on one kind of change.

Frequently Asked Questions

A text diff compares lines, so reordering keys or changing indentation shows as changes even when the data is identical. A structural diff compares the parsed objects — it reports only real data differences and ignores formatting entirely.

Yes. The diff recurses through every level of nesting and reports each difference with its full path, so a change buried four levels deep in an array of objects is pinpointed exactly.

Added keys exist only in the right document, Removed keys only in the left, and Changed keys exist in both with different values — shown with the old and new value side by side.

The tool shows a clear error message telling you which side failed to parse. Fix the syntax (our JSON Formatter pinpoints errors line by line) and compare again.

No. Both documents are parsed and compared entirely in your browser, so it's safe to diff API responses or configs containing sensitive data.

Related Tools

JSON FormatterDiff CheckerJSON Path Finder