RealJSON
Try now

JSON Diff — Compare Two JSON Objects

Paste two JSON documents and see exactly what changed — every added, removed, and modified field highlighted instantly.

View

JSON A — original

JSON B — modified

JSON Diff — Instantly Compare Two JSON Documents

Comparing API responses, config files, or database snapshots by eye is error-prone and slow. RealJSON's JSON diff tool walks both documents key by key and surfaces every change — added fields in green, removed fields in red, and modified values in amber.

How the Diff Works

Deep Comparison

The diff recurses into nested objects, reporting the full dot-notation path for every difference (e.g. address.city). Top-level changes and deeply nested ones are equally visible.

Summary Badges

Above the diff output, count badges show how many fields were added, removed, and changed — useful for a quick "how big is this change?" scan before reading the details.

Ignore Array Order

When enabled, arrays are compared index-by-index regardless of element order — useful for comparing sets or tag lists where order doesn't carry meaning.

Related Tools

Use the JSON Repair tool if either document has syntax errors before comparing. After diffing, the JSON Editor lets you apply changes interactively.

Browse all free JSON tools →