πŸ”¬JSON Diff

Compare two JSON objects and see what changed

3 differences found

Changedrole
- "user"
+ "admin"
Changedtags[1]
- "b"
+ "c"
Addedverified
+ true

About the JSON Diff

JSON Diff compares two JSON documents and shows exactly what was added, removed, or changed β€” by key path β€” instead of a noisy line-by-line text diff. It understands JSON structure, so reordered keys and formatting differences do not create false positives.

Both inputs are parsed and compared locally in your browser, so it is safe for API responses, configs, and other sensitive data.

Common use cases

  • Comparing two API responses to spot what changed
  • Diffing config files or feature flags between environments
  • Reviewing changes to a JSON fixture in tests
  • Debugging why two objects are not equal

How to use the JSON Diff

  1. Paste the original JSON on the left.
  2. Paste the changed JSON on the right.
  3. Review each difference, labelled Added, Removed, or Changed, with its key path.

Frequently asked questions

Is this different from a text diff?

Yes. It compares the parsed data structure, so key order and whitespace do not matter β€” only real value differences are reported.

How are array changes shown?

Array elements are compared by index, and differences are reported with a path like items[2].name.

Does my JSON leave the browser?

No. Parsing and diffing happen entirely client-side.