JSON Diff Tool

All tools

Paste two JSON values and instantly compare them. See added, removed, changed, and unchanged values with normalized JSON previews.

Normalized left JSON

Normalized right JSON

Diff result

Added: 0 Removed: 0 Changed: 0 Unchanged: 0

What is a JSON diff tool?

A JSON diff tool compares two JSON values and highlights the differences between them.

It is useful for API debugging, payload comparison, regression checks, config reviews, and tracking changes in structured data.

How to use the JSON Diff Tool

  1. Paste the first JSON into the left field.
  2. Paste the second JSON into the right field.
  3. Choose whether to ignore key order and whether to show unchanged values.
  4. Click Compare to see the diff.

Tips

  • Ignoring key order is useful when two JSON objects contain the same values but different property order.
  • Normalized JSON previews help verify exactly what was compared.
  • Showing unchanged values is useful for full inspection, but hiding them makes the diff easier to scan.
  • The comparison is local, so diffing payloads that contain tokens or personal data does not expose them.

JSON diff review workflow

Compare normalized payloads

Normalize formatting and key order before reviewing changes so the diff focuses on data changes instead of whitespace.

Watch nested paths

Most API regressions appear in nested objects, arrays, null values, or renamed fields rather than at the top level.

Separate expected and unexpected changes

Use the diff to confirm intended additions while spotting removed fields or type changes that may break clients.

Validate after comparing

After finding differences, validate the new payload against a schema or generated TypeScript type when the contract matters.

Related guides

Learn the workflow behind this tool and what to check next.

JSON diff checks that catch subtle API changes

A JSON diff is useful when two responses look similar but one breaks a test, cache key, analytics event, or integration.

Structure changes

Look for renamed properties, moved nested fields, added wrappers, removed arrays, and changed object shapes.

Value changes

Compare IDs, flags, timestamps, status fields, and numeric values that can change behavior without changing structure.

Release review

Diff before and after payloads when deploying backend changes, changing serializers, or upgrading an API version.

Noise reduction

Normalize formatting first so the diff focuses on real data changes instead of whitespace.

A practical example, an edge case, and a maintainer note

Practical example

Compare two API responses after normalizing volatile request IDs and timestamps so the diff highlights an actual renamed or missing field.

Edge case

Array order may be meaningful, arbitrary, or keyed by an ID. A positional diff can report noise when business identity matters more.

Maintainer note

I decide which fields and ordering rules are significant before interpreting a large diff as a regression.

Related tools

You may also find these tools useful.

JSON Diff Tool FAQ

Is my JSON sent to the server?
No. Both JSON documents are compared in-memory in your browser — nothing is uploaded, which matters when you diff API responses containing real customer data.
Can it ignore key order?
Yes. The tool can normalize object keys before comparison.
Does it compare nested objects and arrays?
Yes. It compares nested objects and arrays and shows path-based differences.