In this article
When you need to compare
- Contracts and agreements sent back “with minor edits”.
- Policies and terms that were updated, to see what actually changed.
- Essays and articles after an editor’s pass, to learn from the changes.
- Configuration files and code when one version works and the other does not.
- Translations to check a revised version against the previous one.
How to compare
- Open Text Compare.
- Paste the original on the left and the changed version on the right.
- Tick “Ignore extra spaces” for text copied from PDFs or emails; tick “Ignore case” if capitalisation does not matter.
- Press Compare texts.
- Read the coloured lines: removed text, added text, and – inside changed lines – the exact words that differ.
Reading the result
The summary shows how many lines were added, removed and unchanged. Then each changed line is highlighted, with the specific words marked, so “30 days” versus “60 days” jumps out. In contracts, pay special attention to numbers, dates, names, “may” versus “must”, and words like “not”, “only” and “exclusive” – tiny changes with big consequences.
Getting clean text to compare
| Source | How to get text |
|---|---|
| Word or Google Docs | Select all, copy, paste |
| Extract with PDF to Text | |
| Web pages | Copy the main text; use “Ignore extra spaces” |
| Code and config | Paste as is – spaces may matter |
The re-wrapped paragraph problem
Comparison works line by line. If one version has a line break in the middle of each paragraph and the other does not, every line looks changed. Put each paragraph on a single line in both versions first – Remove Extra Spaces can join broken lines.
Keep a version history
Comparison is easiest when you keep each version. Save drafts with dates or version numbers in the file name – “Agreement-v3-2026-11-20” – instead of overwriting one file. When a new version arrives, compare it with the last one you approved, not with the very first draft; the result is shorter and shows only the newest changes.
How diff tools work
Text Compare uses the Myers algorithm, the same approach behind Git’s default diff. It finds the smallest set of insertions and deletions that turns one text into the other, then runs again on changed lines at the level of words. That is why the result highlights only what really changed instead of whole paragraphs.
Comparing lists
For lists – names, product codes, keywords – sort both lists first with Sort Lines so the order does not create false differences. Then the comparison shows exactly which items are missing from each list.
Confidential documents stay private
Contracts and drafts are sensitive. Text Compare runs in your browser, so neither version is uploaded. For legal documents, comparison helps you notice changes – it does not replace reading the final document or getting professional advice.