Text Compare

Paste two versions of a text and see every added, removed and changed word.

Made in your browser — nothing is uploaded

About Text Compare

Paste two versions of a text — an essay, a contract, code or a list — and see every removed word struck through in red and every added word in green, word by word or line by line. Ignore capital letters or extra spaces if they don't matter. Nothing is uploaded.

How Text Compare works

Text Compare splits both texts into words (or lines) and finds the smallest set of changes that turns the first into the second, with the Myers difference algorithm used by version-control tools. Removed words are struck through in red and added words shown in green, in the flow of the text.

Ignore capital letters and Ignore extra spaces make the comparison skip differences that don't matter. The comparison runs in your browser, so contracts and private documents stay on your device.

When to use Text Compare

  • See what changed between two drafts of an essay, contract or letter.
  • Check edits made by someone else.
  • Compare two lists or two versions of a code snippet.

How to use Text Compare

  1. Paste the original. Into the left box.
  2. Paste the changed version. Into the right box.
  3. Read the differences. Red is removed, green is added; download them if you like.

Options explained

Word by word
Best for prose: shows exactly which words changed.
Line by line
Best for lists and code.
Ignore capital letters
“Apple” and “apple” count as the same.
Ignore extra spaces
Double spaces and line breaks don't count as changes.

Frequently asked questions

Can I compare two Word or PDF files?

Use Compare PDF for PDFs. For Word files, copy the text of each into the two boxes here.

How large can the texts be?

Long documents work; if two texts are almost completely different, word-by-word comparison is skipped and Line by line is suggested.

Is what I type private?

Yes. Text Compare runs entirely in your web browser, so what you type is never sent to us or stored anywhere.