Skip to content

Text Difference Checker

Paste two versions of text and see a line-by-line diff of what was added, removed or unchanged — computed locally.

Runs locally in your browser

+2 added-1 removed
line one
-line two
+line 2
line three
+line four

What is the Text Difference Checker?

This checker compares two blocks of text and highlights added, removed and unchanged lines using a longest-common-subsequence diff.

How to use it

  1. 1Paste the original text on the left.
  2. 2Paste the changed text on the right.
  3. 3Read the highlighted diff.

How it works

The two inputs are split into lines and compared with a longest-common-subsequence algorithm, which produces the minimal set of insertions and deletions.

Limitations & notes

  • The optional word mode compares tokens; it does not show character-level edits inside a word.

No directly related discussion yet.

Start a focused thread and share the question this tool helped you explore.

Ask the community about Text Difference Checker

You might also like