Text Diff
Compare two texts line by line. Added lines are green and removed lines are red.
0Lines added
0Lines removed
0Lines unchanged
How the comparison works
Lines are matched with a longest-common-subsequence diff, so a block that moved is shown as a deletion and an insertion rather than a mismatch of every following line. Very long texts switch to a faster line-by-line comparison so the page stays responsive. Nothing is uploaded.
Frequently asked questions
Does it ignore changes inside a line?
No. A line that differs by one character is treated as removed and added. The unit of comparison is the whole line.
Can I paste source code or a log?
Yes. The text stays in your browser. Trailing spaces count as a difference.