Text Diff Checker
Compare two texts side by side and highlight the differences.
Frequently Asked Questions
How does the diff work?
The tool compares your two texts line by line using the Longest Common Subsequence algorithm. Lines added in the modified text are highlighted green; removed lines are highlighted red.
Can I compare code snippets?
Yes. The tool works with any plain text including source code, though it does not apply syntax highlighting.
Is there a size limit?
No hard limit, but very large inputs (hundreds of thousands of lines) may slow down your browser.