Compare two texts and highlight the differences

Paste the original on the left and the changed version on the right. Additions are green, deletions red and struck through.

  • Free, no sign-up
  • Your files and data stay on your device
  • No watermarks or limits

0 bytes uploaded. Everything happens in this tab.

How to use it

  1. Paste the first text on the left and the second on the right.
  2. Choose lines (good for lists and code) or words (good for paragraphs).
  3. Read the result: red is removed and green is added.

Example

Original: "The contract lasts 12 months." Revised: "The contract lasts 24 months."

The contract lasts [-12-] [+24+] months.

About this tool

Comparing two versions by eye is how mistakes get through: a changed number in a contract, a missing line in a config file, a rewrite that quietly dropped a sentence. A diff makes every change visible.

Line mode is ideal for code, lists and files because it shows which whole lines were added or removed. Word mode is better for prose, where a single changed word inside a long paragraph would otherwise mark the whole paragraph as different.

The comparison is done on your device. Confidential drafts and internal documents are not uploaded, and very long texts are limited only by your browser memory.

Frequently asked questions

What does the colour mean?

Green marks added text and red struck-through text marks removed text.

Lines or words?

Use lines for code and lists, words for paragraphs of normal text.

Is there a size limit?

Only practical: very large texts may be slow to compare.

Are my texts sent anywhere?

No.

Often used next