JSON Diff Checker

Compare two JSON documents and list changed paths.

What this tool does

Compare two JSON payloads and identify added, removed, and changed paths for debugging API regressions and config changes.

Tool interface

Input

Output

Example input

{"user":{"name":"Ana","role":"admin"}}

{"user":{"name":"Ana","role":"editor","active":true}}

Example output

Added paths:
- user.active

Removed paths:
(none)

Changed paths:
- user.role

Step-by-step instructions

  1. Paste the first JSON document.
  2. Leave a blank line, then paste the second JSON document.
  3. Click Transform to see added, removed, and changed paths.

Common use cases

  • Validating and formatting API payloads during debugging.
  • Transforming JSON into spreadsheet-friendly formats.
  • Cleaning JSON files before using them in applications.

Useful for quickly auditing payload differences without opening external diff tools or writing ad hoc scripts.

Common mistakes to avoid

  • Forgetting the blank line separator between JSON blocks.
  • Comparing invalid JSON and expecting diff output.
  • Expecting value-by-value rendering instead of path-level summaries.

Frequently Asked Questions

Does JSON Diff Checker show added and removed keys?

Yes. It reports added, removed, and changed paths separately.

Can JSON Diff Checker compare arrays?

Yes. Array differences are reported using index-based paths.

Does JSON Diff Checker validate syntax first?

Yes. Both documents must be valid JSON before diffing.

What input format does JSON Diff Checker expect?

Use valid JSON input unless the tool explicitly asks for path or pattern syntax first.

What does JSON Diff Checker output?

It returns transformed output that you can copy directly from the result panel.

Why might JSON Diff Checker return an error?

A common issue is: Forgetting the blank line separator between JSON blocks.

Does JSON Diff Checker run in the browser?

Yes. Transformations are designed for in-browser usage so you can test and iterate quickly.

Can I copy or download results from JSON Diff Checker?

Yes. You can copy transformed output directly from the tool.

Related tools

Related guides

Browse all DataToolbox guides for more workflows.

Related categories

Looking for other utilities in this area? JSON Tools, Developer Data Tools