JSON Diff

+0 Added~0 Modified-0 Removed
✓ No differences detected
Changed Paths (0)
No changes to show
Loading...
Alt+↑↓ navigate changes

Free Online JSON Diff Tool

Paste two JSON objects or text blocks and instantly see every difference highlighted — additions in green, deletions in red, and value changes in amber. The diff engine does a semantic comparison, so it understands JSON structure rather than treating it as plain text. Key order differences that don't change the meaning are ignored by default.

Use split view to compare side-by-side in context, or switch to unified view for a compact git-style diff. Navigate changes with Alt+↑/↓ or the path navigator.

Features

  • Split and unified diff views — side-by-side or single-column
  • Semantic JSON comparison — understands structure, not just text
  • Keyboard navigation with Alt+↑/↓ between changes
  • Path navigator — jump to any changed key by its JSON path
  • Diff options: ignore array order, case sensitivity, whitespace, null values
  • Change filters — show only additions, deletions, or modifications
  • Summary stats — total added, removed, and modified keys at a glance
  • Export as JSON Patch (RFC 6902) for programmatic application
  • Export as Markdown or HTML diff report
  • Merge strategies — Accept Left, Accept Right, or Deep Merge
  • 100% client-side — your JSON never leaves your browser

Frequently asked questions

How do I compare two JSON objects?

Paste the original JSON in the left panel and the new JSON in the right panel. Differences appear immediately — green for additions, red for removals, amber for changes.

What is split view vs unified view?

Split view shows both JSON objects side-by-side with aligned changes — best for understanding context. Unified view shows a single column with + and − markers, similar to a git diff.

What is JSON Patch (RFC 6902)?

JSON Patch is a standard format describing changes as an array of operations (add, remove, replace, move). Export the diff as a JSON Patch file to apply it programmatically to your data.

Can I ignore array order?

Yes. Enable Ignore array order in diff options to treat arrays as sets — two arrays with the same elements in different order will show as equal.

Is my data private?

Yes. All comparison runs in your browser. Your JSON is never uploaded or sent anywhere.

Related tools