PDF guide

How to compare two PDF files and see what changed

By Taha Tahir Ali · Updated

Short answer

Open Compare PDF, add the old and the new version, and run it. Raaj PDF extracts the text of both and marks every added word in green and every removed word in red, with a count of each, and lets you download the comparison as an HTML page. It compares text, not layout or images, and scans need OCR first.

When someone sends back "the final version" of a contract, offer letter or rental agreement, you need to know exactly what they changed. Reading both side by side misses small edits, such as a changed number, a deleted "not" or a new clause.

Compare two PDFs step by step

  1. Open Compare PDF.
  2. Select exactly two files: the older version first, then the newer one.
  3. Run the comparison. The result shows the full text with:
    • added words in green,
    • removed words in red,
    • a count of words added and removed at the top.
  4. Download comparison.html to keep a record or send it to a colleague; it opens in any browser.

Reading the result

  • A changed word appears as a red (old) word followed by a green (new) word.
  • Moved paragraphs show as removed in one place and added in another.
  • Focus first on numbers, dates, names, "not", "shall/may" and payment terms: small edits there change meaning the most.

What comparison can't see

Compare PDF works on the text of both files:

  • Formatting changes (bold, font, spacing), images, signatures and stamps are not compared.
  • Scanned PDFs have no text: run OCR on both first. OCR errors will show up as differences, so check them against the page.
  • If the two files flow text differently (one in two columns, one in one), the comparison can show more changes than there really are.

What to check in a revised contract

Text comparison shows every change; these are the ones worth reading twice:

  • Amounts, rates and dates: payment amounts, rent, notice periods, start and end dates.
  • Obligations: "shall" changed to "may", or "not" added or removed.
  • Parties and names: a different company name, address or signatory.
  • Termination and penalties: new conditions for ending the agreement or new charges.
  • Definitions: a changed definition changes every clause that uses the word.
  • Deleted clauses: red text with no green replacement is easy to overlook.

A simple review workflow for contracts

  1. Keep every version you send, named with a date (agreement-2026-11-20.pdf).
  2. When a version comes back, compare it with the one you sent, not with the original draft.
  3. Raise each change you didn't agree to.
  4. When final, sign it (how to sign a PDF) and protect it if needed.

Frequently asked questions

Can I compare Word documents?

Convert them to PDF first (Word to PDF), or compare the DOCX files in a word processor that has track changes.

Is comparing PDFs free?

Yes, in Raaj PDF, and it runs in your browser.

Can I compare more than two files?

Compare two at a time: each new version against the previous one.

Raaj Software

May you never need us again.

We build solutions that make themselves indispensable, not problems that make us indispensable.

A philosophy of customer independence, not customer dependency.