0
Paste two versions of a text to see exactly what changed, line by line. Added, removed, and unchanged lines are color-coded, with options to ignore case or whitespace.
Start comparing text0
0
0
This tool compares two blocks of text line by line and highlights exactly what was added, removed, or left unchanged between them, similar to a version control diff. It is useful for reviewing edits to an article, comparing two versions of a config file, or spotting small changes in long text.
See exactly which lines were added, removed, or unchanged between two texts.
Focus on meaningful changes by ignoring case or whitespace differences.
See counts of added, removed, and unchanged lines at a glance.
Both texts are compared locally in your browser. Nothing is uploaded.
| Original | Changed | Diff result |
|---|---|---|
| Hello world | Hello there world | 1 line removed, 1 line added |
| Line A Line B | Line A Line B Line C | Line C shown in green as added |
It compares the two texts line by line using a longest common subsequence algorithm, then marks lines as added, removed, or unchanged based on where they appear in each version.
Lines highlighted in red with a minus sign were only in the original text. Lines highlighted in green with a plus sign were only in the changed text. Lines with no highlight appear in both.
Yes. Enable "Ignore case" to treat uppercase and lowercase letters as equal, or "Ignore whitespace" to ignore leading, trailing, and repeated spaces when comparing lines.
This tool compares text line by line, which is the most common and readable way to review changes between two versions of a document, config file, or paragraph.
There is no hard limit, but the comparison algorithm can slow down on very large documents with several thousand lines, since it checks combinations of lines from both texts.
No. The comparison runs entirely in your browser using client-side JavaScript. Nothing you paste is sent to a server.