Text Diff Checker
Paste two versions of a text or code snippet to see exactly which lines were added, removed, or unchanged, side by side.
Original text
Changed text
+3 added · -2 removed
The quick brown fox
-jumps over the lazy dog
+leaps over the lazy dog
Line three stays the same
-Old closing line
+New closing line
+One more line added
Ad space
Frequently asked questions
Does this compare line by line or character by character?+
Line by line, which is the most useful granularity for comparing paragraphs, config files, or code.
Is there a size limit?+
Very large inputs (hundreds of thousands of line-pairs) fall back to a simpler comparison to keep your browser responsive, rather than freezing on the full comparison algorithm.
Does it ignore whitespace differences?+
No, by default it compares lines exactly as typed, including leading and trailing whitespace.