100% client-side — your input never leaves your browser.Verify

Diff Checker

Paste two versions of text, JSON or XML to see exactly what changed — line by line, word by word. Everything runs locally in your browser.

About this diff checker

A diff (difference) tool aligns two texts and marks what was removed and what was added. This one computes a longest-common-subsequence diff at the line level, then a second pass at the word level inside changed lines so you see the precise edit, not just "this line changed".

Options

  • Side by side / Inline: two columns, or a single unified column with +/- markers
  • Ignore whitespace: treats lines that differ only in spacing or indentation as equal
  • Text, JSON or XML: the diff is line-based, so any text format works — pretty-print your JSON first for the cleanest result
  • Share: encodes both inputs in the URL fragment (after #) so nothing is sent to a server