🔍JSON Compare / Diff
Compare two JSONs object-by-object to show added, removed, and changed keys. Useful for tracking API changes, diffing config files, comparing GraphQL responses, and verifying schema migrations.
How to use
- 1Paste JSON on the left and right.
- 2Differences appear automatically with color highlights.
FAQ
What if array order differs?+
JSON treats array order as meaningful, so they show as different. If you need order-insensitive comparison, sort them beforehand.
How does this differ from text diff?+
JSON diff understands key structure and shows only key/value differences. Text diff sees every whitespace and line break difference.
Are nested objects compared too?+
Yes — keys inside nested objects are compared recursively, so deep changes are surfaced.
Does key order matter?+
JSON spec says key order is meaningless, so objects with the same keys are equal. This tool ignores key order.
When is this useful?+
API change reviews, A/B test response comparison, before/after data migration checks, and environment config diffs.