Text Compare

Compare two texts line by line and see added and removed lines.

+2 −1
строка один
строка два
+ строка 2
строка три
+ строка четыре

The text comparison tool finds the differences between two versions of a text. Paste the original and the edited version, and the comparison runs line by line, highlighting added lines in green and removed lines in red; a counter shows how many lines were added and removed.

This is useful for quickly spotting edits in a document or article, comparing two versions of a config or code file, or figuring out exactly what changed between two copies of a file. Scanning by eye is slow and easy to get wrong, while a diff surfaces the changes instantly.

The comparison works line by line using the classic LCS (longest common subsequence) algorithm. Everything is computed right in your browser; the texts are never sent anywhere.

Frequently asked questions

Line by line: each whole line is treated as added, removed, or unchanged.
There's no hard limit, but for very large texts (tens of thousands of lines) the comparison may run a bit slowly — that's expected for browser-based processing.
No, everything is computed locally.