Text Diff Checker

Paste two versions of a text or code and see exactly which lines were added or removed, side by side with colours. Everything runs in your browser. Nothing you type is uploaded or stored on our servers.

Differences

β€”

Reading the result

Lines starting with + in green exist only in the changed text. Lines starting with - in red exist only in the original. Unmarked lines are the same in both.

Tips

Frequently asked questions

How does the comparison work?

It finds the longest set of lines the two texts share (the longest common subsequence) and marks everything else as added or removed. It compares whole lines, not single words.

What does ignoring case or spaces do?

With the options on, lines that differ only by capital letters or spaces at the start or end are treated as the same, so tiny edits do not clutter the result.

Is there a size limit?

Up to about 2,000 lines per text. Longer texts are better compared in a code editor or with the git diff command.

Is my text uploaded?

No. The comparison runs in your browser.