Diff Checker
Free diff checker and text compare online. Text diff and text difference checker to compare two texts and highlight added and removed lines.
How it works
- 1
Paste the two texts to compare
Paste the original text on the left and the modified one on the right in the two input areas.
- 2
Start the comparison
Click Compare: the tool uses the LCS algorithm to find line-by-line differences, similar to how Git compares source code.
- 3
Review the differences
Added lines are highlighted in green, removed lines in red, with precise statistics for additions, removals and unchanged lines.
FAQ
How does text comparison work?
The tool uses the LCS (Longest Common Subsequence) algorithm to find differences between the two texts line by line, similar to how Git compares source code.
Does it work with long texts?
Yes, it works with texts of any length. The comparison happens entirely in the browser with no size limits.
Can I compare source code?
Yes, the tool is perfect for comparing code versions, documents, emails or any type of text.