Text Compare Tool: Find Line-by-Line Changes

Compare two blocks of text and see exactly what changed, line by line.

Frequently asked questions

How is the comparison done?

Lines are compared using a longest-common-subsequence algorithm, the same approach used by most diff tools.

Can I compare code with this?

Yes, it works on any plain text, including source code, though it compares whole lines rather than individual words.

Can it ignore case or extra spaces?

No, lines are compared exactly. To ignore spacing differences, tidy both texts with the Whitespace Remover first, and to ignore case, convert both with the Case Converter, then compare.

Does it show which words changed inside a line?

No, it marks whole lines only. A changed line shows the old version with - and the new version with +, and you compare them by eye.

Can I compare two PDF or Word files?

Not directly. Open each file, copy its text and paste it into the two boxes. Only the text is compared, not bold, colours, images or page layout.

What does the result look like when the texts are identical?

The status line reads 0 line(s) added, 0 line(s) removed, and every line is listed without shading. There is no separate 'identical' message.