Diff Checker
Compare two blocks of text or code line by line and see exactly what changed.
Last updated
0Lines added
0Lines removed
0Lines unchanged
Paste text into both boxes above to see the difference.
How this comparison works
This tool compares your two blocks of text line by line using a longest-common-subsequence approach — the same underlying idea behind tools like diff and Git's change view. Lines present in both versions are matched up as "unchanged" even if other lines were added or removed around them; lines only in the original are marked removed, and lines only in the new version are marked added.
It's a line-level diff, not a character-level one — a single-character edit to a long line will show the whole line as removed and re-added rather than highlighting just the change within it. Nothing you paste here is uploaded; the comparison runs locally in your browser.