Text Diff Checker
Paste two versions of a text — before and after — and see every line that changed: additions in green, deletions in red, unchanged lines dimmed. Great for config files, drafts, code snippets and essays.
Options
How it works
Both texts are split into lines and compared with the LCS (longest common subsequence) algorithm — the same family of algorithms that powers diff and git diff. Lines that survive in both versions are shown dimmed; lines only in A are deletions, lines only in B are additions. Ignoring whitespace or case only changes how lines match — the original text is still shown untouched. Line endings (LF vs CRLF) are normalized before comparing, so files from different operating systems don't explode into noise.
Frequently asked questions
How large can the texts be?
The comparison is an m×n table, so it handles roughly 2,000 × 2,000 lines (about a small book chapter per side). Beyond that the tool refuses gracefully instead of freezing your tab. For huge files, split them first.
Why does a single changed word mark the whole line?
This is a line-level diff, by design — the same way diff -u works. Character-level highlighting gets noisy on rewritten sentences; if you need word-level detail, zoom in on the highlighted pair of lines yourself.
What do the checkboxes do?
"Ignore whitespace" collapses all spacing before comparing, so re-indentation alone stops counting as a change. "Ignore case" lowercases both sides first. Neither changes your text — only the matching.
Is my text uploaded anywhere?
No. The diff runs entirely in JavaScript on your device; nothing leaves your browser.