JSON Diff — Compare Two JSONs

Paste two JSON values · see added / removed / changed paths · 100% in-browser

← Back to formatter

JSON Diff Tool

Compare two JSON values key-by-key. The diff walks both structures recursively and reports every path that's different. Useful for spotting drift between API responses, config files, or environments.

How to read the output

  • + path — key exists only on the right (added)
  • - path — key exists only on the left (removed)
  • ~ path: a → b — value changed between left and right

Tips

  • Array order matters — items at different indexes count as a change. Sort arrays first if order doesn't matter for your case.
  • Run Sort Keys on both inputs in the main formatter first if you want a path-order-stable diff.
  • For very large JSONs, paste the minified versions — the diff cares about structure, not whitespace.