JSON Tools for AI Developers · Runs locally

For AI developers JSON Workbench

Natural language generation · Schema · Zod · OpenAPI · Function Calling · MCP · 30+ tools

JSON Diff

Compare two JSON documents for added, removed, and changed values. Text Diff and Structured Diff, for integration debugging. Data stays local.

Paste one object on each side (A / B). Text Diff shows whitespace and key order. Structured Diff focuses on paths and values.

In integration work the usual hits are "a new field appeared," "the status changed," or "the array is one item short." Read the path, then decide whether frontend or backend should change.

Both documents are compared locally. Nothing is sent to a third-party Diff service.

When to use Structured Diff

When keys were reordered or whitespace drifted, but you only care about business values, use Structured Diff and skip the layout noise.

Limits of array comparison

Comparison follows the current order. A reorder may look like a delete plus an add. If you have a stable id, sort by id first.

How to use it

  1. Paste JSON into A and B, or load a sample.
  2. Click Compare JSON for a text Diff.
  3. If key order gets in the way, switch to Structured Diff.
  4. Click AI explain when you want a prose summary, then confirm it yourself.
  5. Copy the result, or format one side and compare again.

When to use it

  • Compare the same endpoint on staging and production.
  • See which keys a config merge actually overwrote.
  • Check whether two Structured Output runs stayed stable.
  • In code review, see what a fixture changed.

Keep in mind

  • Both sides must be parseable JSON. Repair invalid text first.
  • Explain is a local summary, not a cloud-model audit.
  • Huge objects make a long Diff. Cut down to the subtree you care about.

FAQ

Does key order count as a difference?

Text Diff says yes. Structured Diff focuses on paths and values, so it ignores layout noise.

How are arrays compared?

In current order. If items only swapped places, you may see a delete plus an add. Read that in context.

Can I diff YAML?

Convert to JSON on the YAML page first, then come back here.

Are both documents uploaded?

No.

What if only whitespace differs?

Format both sides first, or use Structured Diff.

Can I ignore a field?

This page has no ignore rules. Delete tokens and timestamps by hand, then compare.

How does this work with Merge?

Diff first so you see the gap, then decide which side wins.

How do I read the result?

Adds, deletes, and changes are marked by path. Read the path first, then the old and new values.