Back to Blog

How to Compare Two Documents and Find Every Difference

Compare two documents and catch every change: added,removed and edited lines highlighted, plus how to review a contract or draft. Free and in your browser.

July 21, 2026
Reading time: ~4 min
How to Compare Two Documents and Find Every Difference

Reading two versions of a document side by side and trusting your eyes to catch the differences fails in a predictable way. You catch the big edits and miss the small ones: a changed number, a deleted "not", a "shall" that became "may", a date moved by a week. A text comparison tool (often called a diff checker) makes every change visible mechanically, so nothing slips through. This guide covers when to use one, how to get a clean comparison, how to choose the right comparison mode, and how to review a contract or draft efficiently.

When you need a real comparison

  • Contracts and agreements: the other party says they "made a few small changes". Find out exactly what changed before you sign, not after.
  • Edited drafts: see precisely what an editor, co-author or AI tool did to your text, and accept or reject changes deliberately.
  • Policies and terms: compare this year's terms of service or HR policy with last year's to see what actually changed.
  • Config files and code snippets: spot the one line that differs between a working setup and a broken one.
  • Checking for copying: put a suspected copy next to its source to see how much was lifted.

How to compare two texts

  1. Open the Text Compare tool.
  2. Put the original in the left pane and the revised version in the right. Paste text directly, or drag a .txt or .docx file onto either pane.
  3. Choose a mode (line, word or character) and a layout (side by side or inline).
  4. Review the highlights: green for additions, red for removals and yellow for changed lines, with the exact edited words emphasised inside them.
  5. Export a colour-coded PDF report, or copy a plain-text summary of the changes.

Everything runs in your browser. Even Word documents are read on your device, so neither version leaves your machine. That matters when the documents are contracts, unpublished manuscripts or anything under NDA.

Line, word or character mode?

  • Line mode suits documents and code. Each changed line is flagged, and the words that changed within it are emphasised.
  • Word mode reads most naturally for prose. It shows "the supplier shall may deliver" rather than flagging the whole paragraph.
  • Character mode catches single-character edits: a transposed digit in an account number, ₹1,50,000 becoming ₹1,05,000, or a changed letter in a name.

A good habit for important documents is to review in word mode first for the overall picture, then switch to character mode for numbers, dates and names.

Getting a clean comparison

A diff compares the literal characters you give it, so formatting noise can bury the real changes. A paragraph rewrapped at a different width, or a document with extra spaces, can light up everywhere.

  • Use the Spaces, Lines and Case toggles to ignore trailing whitespace, blank lines and capitalisation differences.
  • If the texts came from different sources, such as one copied from a PDF and one from Word, normalise both through the Text Formatter first: trim spaces and fix line breaks.
  • Compare like with like. Text copied out of a PDF often has a hard line break at the end of every visual line, while the Word original has one per paragraph. Normalise line breaks before comparing, or use word mode, which is less sensitive to them.

How to review a contract redline

  1. Compare the version you last sent with the version you received, not with an older draft. You want to see only the other side's changes.
  2. Read the similarity score first. If a "minor update" shows a large difference, read everything carefully.
  3. Walk through every numbered difference in order. Both panes scroll together, so context stays aligned.
  4. Pay special attention to small words with big effects: not, shall vs may, and vs or, including vs limited to, and every number, date, percentage and amount.
  5. Check for deletions as carefully as additions. A removed clause, such as a cap on liability or a termination right, is easy to miss because there is nothing new to read.
  6. Export the PDF report and keep it with the signed copy as a record of what changed between versions.

Understanding the similarity score

The score measures how much material the two texts share relative to their combined length. Identical texts score 100%; unrelated ones approach 0%. It is a quick gauge of how heavy a revision was before you read a single highlight, and it updates live as you edit either side. For copying checks, a high score between two supposedly independent texts is a strong signal worth investigating. The highlights show exactly which passages match.

Other quick checks

  • The Word Counter tells you instantly whether a "light edit" quietly removed two paragraphs.
  • For structured data, prettify both versions with the JSON Formatter before comparing, so each value sits on its own line.

Frequently asked questions

Can I compare two Word documents?

Yes. Drag .docx files onto the panes and their text is extracted in your browser. Formatting such as bold and fonts is set aside so the comparison focuses on the words.

Can I compare two PDFs?

Extract the text first with the PDF to Text tool, then compare the two text versions.

Does it check against the internet for plagiarism?

No. It compares the two texts you provide. That is ideal when you already have the suspected source.

Where can I find more on the comparison features?

Our guide to Text Compare walks through every feature.

  • #guides
  • #writing-tools
  • #text-compare
  • #document-comparison
0 comments

    Last updated

    October 15, 2026

    Back to Blog