Diff Checker
Compare two texts line by line and word by word.
verified_user100% Client-SidePrivacy Guaranteed: 100% Client-Side
+1 added−0 removed1 modified
Original
Changed
Unified view (− removed, + added)
1The quick brown fox
1The quick brown fox
2jumps over the lazy dog
2jumps over a lazy dog
3Hello
3Goodbye
4Goodbye
1The quick brown fox
2jumps over the lazy dog
2jumps over a lazy dog
3Hello
4Goodbye
Frequently Asked Questions
How is the diff calculated?expand_more
We use a longest common subsequence (LCS) algorithm, the same technique used by tools like Git, first at the line level, then at the word level for any lines that changed.
What’s the difference between "removed", "added" and "modified"?expand_more
A removed line only exists in the original text, an added line only exists in the changed text, and a modified line exists in both but with different words highlighted inline.
Can I compare code with this tool?expand_more
Yes, the diff checker works well for comparing code snippets, configuration files, or any plain text — it preserves whitespace and indentation by default.
Is there a limit to how much text I can compare?expand_more
Very large texts (thousands of lines on each side) make an exact diff inherently more expensive to compute. If you hit that limit you'll see a warning with an option to run the comparison anyway.