CompareOnline4U.

Home › Guides

How to compare two PDF files for differences

PDF Compare — open the free tool →

PDFs are the final format for contracts, invoices, statements, research papers and government forms. That makes them easy to share but hard to check. When you receive a "final" version, how do you know what changed from the draft?

The quick method: PDF Compare

  1. Open PDF Compare.
  2. Select the original PDF on the left and the new version on the right.
  3. Wait while the text from every page is extracted.
  4. Turn on Ignore whitespace. PDF text extraction often adds extra spaces, and this keeps them from showing up as changes.
  5. Click Compare now and review the highlighted lines.

Added text, removed text and changed words are highlighted side by side. The files are read in your browser and are not uploaded to a CompareOnline4U server.

What if the PDF is scanned?

A scanned PDF (from a scanner or phone camera) is really a set of images. There is no text for a comparison tool to read, so you will see empty or nearly empty boxes.

The fix is OCR (optical character recognition), which adds a text layer to a scanned PDF. You can do this with the free OCR PDF tool on PDFOnline4U, our sister site. Once the text is selectable, compare the OCR'd files as usual.

OCR is not perfect, especially with poor scans or handwriting. Treat small differences in a scanned comparison as "check this", not as proof of a change.

What a PDF comparison can and can't show

Other options

Convert to Word first. If you need to edit as well as compare, convert both PDFs with a PDF to Word tool and use Word Compare. Text-based PDF compare is usually quicker.

Copy and paste. For a single page, you can select the text in each PDF, copy it into Text Compare and compare it directly.

Paid PDF editors. Some paid desktop PDF editors include a visual comparison that also shows layout changes. That is worth it if you compare PDFs every day.

Practical tips

PDF Compare — open the free tool →

Frequently asked questions

Can I compare two PDFs for free?

Yes. PDF Compare on CompareOnline4U is free, needs no sign-up and runs in your browser.

Why does my scanned PDF show no text?

A scanned PDF is a picture of a page. Run OCR first to add a text layer, then compare.

Does PDF comparison show layout changes?

No. It compares the text. Changes to images, colours or layout are not detected.

More guides

How to compare two Word documents and find every changeGot a revised Word file without tracked changes? Learn 3 ways to compare two .docx documents, including a free online method that keeps files private.दो Word फाइल में अंतर कैसे पता करेंकिसी ने Word फाइल में बदलाव करके वापस भेजी है? जानिए दो .docx फाइल को फ्री में कैसे compare करें और हर बदला हुआ शब्द कैसे देखें।How to find differences between two textsSpot every change between two versions of a text — essays, emails, contract clauses or notes. Free diff checker guide with tips to avoid false changes.How to compare two images and find the differencesSpot every change between two images: highlight changed pixels online, use a before/after slider, or try GIMP, Photoshop or ImageMagick. Plus accuracy tips.

← All comparison tools