Paste two JSON objects and instantly see every added, removed, or changed key — color-coded, with full dot-notation paths to each change. No server, no sign-up, no tracking.

Left (Original)
Right (Modified)
Paste JSON into both panels and click Compare.

How It Works

The diff engine walks both JSON trees recursively. At each node it checks:

  • Object keys — keys present only in the right are added; keys only in the left are removed; shared keys are compared recursively.
  • Array indices — compared index-by-index; excess elements on either side are flagged.
  • Primitives — a strict !== comparison detects value changes, including type coercion differences (1 vs "1").

Each change is reported with its full dot-notation path (e.g. user.email, tags[2]) so you can locate it instantly in the original JSON.

All processing is client-side — your JSON never leaves the browser.


Color Code Reference

ColorSymbolMeaning
Green+Key/value exists only in the Right (added)
RedKey/value exists only in the Left (removed)
Yellow~Key exists in both but the value changed

Tips

  • Format First — use “Format Left / Right” to pretty-print minified JSON before comparing, making paths easier to read.
  • Swap — reverse the comparison direction in one click.
  • Sample — click “Load Sample” to see a realistic user-object diff in action.
  • Keyboard shortcut — press Ctrl+Enter (or Cmd+Enter on Mac) to compare without reaching for the mouse.
  • Nested objects — the tool recurses into any depth; paths like config.database.pool.max are reported correctly.

Validate and pretty-print JSON → JSON Formatter

Find values in deep JSON → JSON Path Finder

Compare plain text line by line → Text Diff Checker