Text Diff

Compare two texts and see what changed.

A|B Text Diff Interactive Tool
Input A
0 chars · 0.0 KB
Input B
0 chars · 0.0 KB

Compare two versions of any text entirely in your browser:

  • Paste or type Input A and Input B, then hit Compare (or keep Live on for instant updates as you type).
  • The result is shown side by side: unchanged lines in grey, removed lines in red on the left, added lines in green on the right. Line numbers make it easy to locate changes.
  • Both panes scroll in sync; the status bar counts identical, removed and added lines.
  • Copy the diff as a - / + text summary, or Clear to reset.

The diff uses a line-level LCS algorithm, so even large documents compare quickly and accurately. Everything runs locally - your text never leaves your device.