Text Compare (Diff Checker)

Paste two versions of a text to see exactly what changed, line by line and character by character.

Everything you enter is processed inside this browser and is never sent to a server.

How to use it

  1. Paste the original text on the left and the changed text on the right.
  2. The differences appear below. Red lines (−) were removed and green lines (+) were added.
  3. When only part of a line changed, the changed characters are highlighted more strongly.

The two number columns are the line numbers in the original and changed texts.

Good for

Options

Ignore whitespace
Leading and trailing spaces and runs of spaces are ignored, so lines that only changed indentation count as unchanged.
Ignore case
“Apple” and “apple” are treated as the same line.

How it works

The comparison uses Myers’ diff algorithm, which finds the smallest set of changes. It is the same approach used by Git and other version control tools.

Frequently asked questions

Is it safe to paste confidential documents?

Yes. Nothing is uploaded; the comparison runs entirely in your browser.

Can I compare Word or PDF files directly?

Not yet. Copy the text out of the files and paste it in.