We use essential cookies to make this site work. Optional analytics cookies help us improve your experience. Privacy Policy
Diff Checker
Compare two texts and see added, removed, and unchanged lines. Free online diff checker with LCS algorithm. Fast, free, and works entirely in your browser.
How to use
Paste texts — Enter original and modified text
View diff — See added and removed lines highlighted
Review — Understand exactly what changed
What Is a Diff Checker?
A diff checker compares two text inputs and highlights the differences between them. Lines that were added appear in green, removed lines in red, and unchanged lines are shown normally. It's the same concept behind Git diffs and code review tools.
How It Works
The tool uses the Longest Common Subsequence (LCS) algorithm to find the optimal alignment between the two texts, then marks each line as unchanged, added, or removed. This produces the minimal diff — the smallest set of changes needed to transform the original into the modified version.
Use Cases
Code review: Compare code versions before and after changes
Document editing: See what changed between document revisions
Configuration: Compare config files across environments
Testing: Compare expected vs actual output
Privacy
All comparison runs in your browser. Your text never leaves your device.