Text Compare (Diff)

Paste two versions of a text and see exactly what changed — additions in green, removals in red, by line or by word. The comparison runs entirely in your browser, so contracts, code and drafts are never uploaded.

Runs in your browser — your files never leave your device

Line diff vs word diff

Line mode compares whole lines, which is ideal for code, configuration files, CSV rows and lists — each changed line shows up as a removal plus an addition. Word mode compares individual words, which is much more readable for prose: a single edited sentence shows just the words that changed rather than flagging the whole paragraph.

The comparison uses a longest-common-subsequence algorithm — the same family of approach used by version-control diffs. Because everything runs locally, this is a safe place to compare sensitive material like agreements or unpublished writing; nothing you paste leaves the page.

How to use Text Compare (Diff)

  1. 1Paste the original text on the left and the changed text on the right.
  2. 2Choose line mode (best for code and lists) or word mode (best for prose).
  3. 3Read the highlighted result — green is added, red is removed.

Frequently asked questions

Is my text uploaded to compare it?

No. The diff is computed entirely in your browser — neither text is sent anywhere, which matters for contracts and private drafts.

Which mode should I use?

Line mode for code, lists and structured text; word mode for prose, where it pinpoints the exact words that changed inside a sentence.

Is there a size limit?

Very large texts are capped to keep the comparison instant in the browser. If you hit the cap, compare in sections or switch to line mode.