Text Diff

Paste the original and the new version — see exactly which lines changed, added in green, removed in red.

Compared locally in your browser — nothing is sent anywhere.

About this tool

Two versions of a contract, an essay before and after edits, a config file that "somebody changed" — spotting differences by eye is misery. This tool compares two texts line by line, the same way programmers' diff tools do, and highlights added lines in green and removed lines in red with everything unchanged left quiet.

Frequently asked questions

How does the comparison work?

The two texts are compared line by line using the same longest-common-subsequence approach as programming diff tools: unchanged lines stay plain, removed lines are marked in red with a minus, added lines in green with a plus.

Is my text uploaded?

No — the comparison runs entirely in your browser, so contracts, essays and code stay on your device.

Can I compare code?

Yes — the diff is monospaced and whitespace-aware, so it works well for code, configuration files and any plain text.