
Sort, dedupe, reverse, trim and shuffle lines of text in one click.
Compare two blocks of text and highlight every added or removed line.
Your files never leave your device. Everything runs in your browser.
Text Diff Checker compares two blocks of text line by line and marks what changed. Paste the original on the left and the changed version on the right, click Compare, and a single list shows the result: unchanged lines stay plain, removed lines are prefixed with a minus and a red tint, and added lines with a plus and a green tint.
It is useful for reviewing edits someone else made to a document or snippet, checking that two versions of a contract differ only where you expect, spotting accidental deletions after a copy-paste, or comparing exported text from two systems. Comparing “alpha, beta, gamma” with “alpha, BETA, gamma, delta” marks beta as removed, BETA and delta as added, and leaves alpha and gamma untouched.
The comparison is exact, case-sensitive and whitespace-sensitive, and it works on whole lines. A change of one character in a line is shown as that line removed and its replacement added, not as an inline character highlight.
No. The comparison is line by line, so a line with any difference is shown once as removed and once as added in full. For a small edit, the side-by-side minus and plus lines are usually enough to spot the change.
Yes. Lines must match exactly, including capitalisation and every space or tab. There is no option to ignore case.
No, there are no comparison options. If whitespace has changed wholesale, clean both texts first with Line Tools — trim spaces and remove empty lines — and compare the cleaned versions.
The tool accepts comparisons where the number of lines in one box multiplied by the number in the other is at most 4,000,000 — for example two files of 2,000 lines. Bigger pairs are refused with a “Text too large to diff” message rather than freezing the page.
Usually because of an invisible difference: a trailing space, a tab where the other version has spaces, or a different quotation or dash character. Replacing a line is exact, so any of those counts as a real change.
No. Both texts are read directly from the textareas and compared in your browser; closing the tab discards them.
Related text tools: Line Tools, Find & Replace, Word Counter, Regex Tester.
Both texts are compared in your browser and never uploaded.