Text Diff Checker

Paste the original text and the changed text. Added and removed lines are highlighted so you can see exactly what changed.

Text Diff CheckerPrivate

Runs in your browser. Your data is never uploaded to any server.

How to use the text diff checker

  1. Paste the original text on the left and the changed text on the right.
  2. Click Compare (the result also updates as you type).
  3. Red lines were removed, green lines were added. Use the options to ignore whitespace or letter case.

How the comparison works

The tool compares the two texts line by line and finds the longest sequence of lines they have in common. Everything else is shown as removed (red) or added (green). It is the same idea used by version control systems like Git.

Use it to check edits in a document, compare two versions of a config file or code snippet, or spot differences between two lists.

Frequently asked questions

How do I compare two texts online?

Paste one text in each box and click Compare. Changed lines are highlighted.

Can it ignore spaces or capital letters?

Yes. Turn on Ignore whitespace and Ignore case to skip those differences.

Does it work on code?

Yes, it compares any plain text line by line, including source code.

Is my text uploaded?

No. The comparison runs in your browser.