Text Diff Checker

Compare two blocks of text line by line and see exactly what was added, removed, or left unchanged.

Paste text in both boxes to see a line-by-line comparison.

Common questions

How does the comparison work?

It compares the two texts line by line and finds the longest common subsequence, the same core approach used by tools like git diff. Lines that only exist in one side are marked added or removed; everything else is shown unchanged.

Can I ignore whitespace or capitalization differences?

Yes, the two checkboxes above the input boxes let you ignore leading/trailing whitespace and repeated spaces, and ignore case, so only meaningful changes show up.

Is there a size limit?

Each side is capped at 4,000 lines to keep the comparison fast in your browser. For most code files, configs, and documents that's more than enough room.