Compare two texts, instantly

Line or word diff with color highlighting – everything runs locally in your browser, nothing is uploaded.

Original (A)
Changed (B)
Enter text on both sides – the diff appears live.

How it works

1

Paste both texts

Put the original on the left and the changed version on the right – or swap them with one click.

2

Pick the granularity

Compare whole lines for code and lists, or individual words for prose. Case and whitespace can be ignored.

3

Read the result

Additions are green, deletions red. The diff updates live while you type and can be copied in unified format.

Frequently asked questions

Is my text uploaded anywhere?+
No. The comparison runs entirely in your browser using JavaScript. Nothing you paste is sent to a server or stored.
What is the difference between line and word mode?+
Line mode compares whole lines – ideal for code, config files and lists. Word mode compares individual words within the text and shows changes inline – ideal for prose and small edits.
What does "ignore whitespace" do?+
Leading and trailing spaces are trimmed and runs of spaces or tabs are treated as a single space when comparing. The displayed text keeps its original formatting.
How large can the texts be?+
Everyday documents and source files work fine. For very large, heavily different inputs the tool falls back to a simplified comparison so your browser never freezes.