Toolora

Text Diff

Compare two texts and highlight added and removed lines.

The Text Diff tool compares two versions of a document line by line or word by word, highlights added and removed content, optionally ignores whitespace, and reports change statistics.
Mode
0 added0 removed
Diff result

How to use

  1. Paste the original text into Before.
  2. Paste the edited text into After.
  3. Choose line or word mode, optionally ignore whitespace, and review the highlighted result and statistics.

Frequently asked questions

Is this a line-level diff?

Line mode compares line by line; word mode highlights changes inside sentences.

Can I use it for binary files?

No, this tool is designed for text content such as code and configuration files.

When should I ignore whitespace?

When formatting differences are not meaningful, such as trailing spaces or blank-line changes.