Text Compare — Compare Two Texts Online

Paste two versions of a text to see exactly what changed: added and removed lines and the changed words inside them, highlighted side by side or in one view.

Runs in your browserUpdated
 
The comparison appears here.

Your data never leaves your computer. All processing happens 100% locally in your browser.

How to use the Text Compare

  1. Paste the original text on the left and the changed text on the right.
  2. Read the differences: removed text is red, added text is green, and changed words are marked inside each line.
  3. Switch between side-by-side and inline view, and ignore case or whitespace if they don’t matter.

Compare versions of anything

Text Compare finds the differences between two versions of a contract, an essay, a configuration file, a translation or a list. It compares line by line first, then highlights the exact words and characters that changed inside each modified line, so a single changed number in a long paragraph stands out.

Ignore what doesn’t matter

Turn on ignore whitespace when one version was re-indented or re-wrapped, and ignore case when capitalisation doesn’t matter. “Only differences” hides unchanged lines so you can focus on what changed in long documents.

Comparing lists

To see which items appear in one list but not the other, sort both lists first (the Alphabetize List tool does it in one click), then compare: removed and added lines show the differences between the two sets.

Tools that pair well with the Text Compare

  • Diff Checker — Paste an original and a changed version to see added, removed and modified lines side by side — with the exact words that changed highlighted inside each line.
  • JSON Diff — Find exactly what changed between two JSON documents — API responses, config versions, fixtures or exports — as a list of paths with old and new values.
  • Remove Duplicate Lines — Paste a list to remove duplicate lines instantly.
  • Word Counter — Paste or type your text to count words and characters live — plus reading and speaking time, keyword density and length checks for SEO titles, meta descriptions and social posts.

Frequently asked questions

Can I compare two Word documents?
Copy the text from each document and paste it into the two boxes. Formatting isn’t compared, only the text.
Is my text uploaded?
No. Both texts are compared entirely in your browser, so confidential documents stay on your device.
How large can the texts be?
Tens of thousands of lines compare in a moment. Very large files depend on your device’s memory.
Can I install Text Compare as a web app and use it offline?
Yes. Text Compare is an installable web app (PWA) — installed from your browser, not downloaded from an app store. Click Install app at the top of this page in Chrome or Edge (Windows, macOS, Linux, ChromeOS) or on Android, use Share → Add to Home Screen on iPhone and iPad, or File → Add to Dock in Safari 17+ on a Mac. It then opens in its own window with its own icon, and because it runs entirely in your browser it keeps working offline. Firefox on desktop can’t install web apps. How installing works.

Related tools