Diff Checker

Compare two texts line by line — see exactly what was added, removed or left unchanged, with a clear summary.

100% FreeNo sign-upPrivate — runs in your browser
—

differences found

Added lines
—
Removed lines
—
Unchanged lines
—

Copied to clipboard

How to use this tool

1
Paste the original text

Put the first version in the top box.

2
Paste the changed text

Put the second version in the lower box.

3
Read the colour-coded diff

Green lines were added, red lines were removed, plain lines are unchanged.

4
Use ignore options

Ignore case or surrounding spaces when only wording matters, not formatting.

Formula & worked example

A line-based longest-common-subsequence diff: lines present in both texts stay unchanged; the rest are shown as added or removed.

Original 'Line two' replaced by 'Line TWO changed' shows as one removed line and one added line, with the other lines unchanged.

Limitations — read this before you rely on it

Comparison is line-based, not word-based — a single changed word marks the whole line as changed. Very large texts (tens of thousands of lines) may be slow because the algorithm compares every line pair.

Frequently asked questions

No — it compares whole lines, which is the clearest view for documents, code and lists.

No. The diff runs entirely in your browser.

It treats 'Hello' and 'hello' as the same line, so only real content changes are flagged.

Yes — the copy button gives you a plain-text diff with + and – markers.

Line diffs track position, so a moved line appears once as removed from its old spot and once as added in its new spot.