Compare Two PDFs

Upload an original PDF and a revised one to see which lines and words changed, page by page. Additions are marked + in green, deletions are marked - in red, and you can save the result as a text report.

Your files stay in your browser and are never uploaded.

Text only: this tool compares the words in the two files. It does not detect changes to images, colours, fonts or layout.

How to compare two PDFs

  1. Choose the original PDF in box A and the revised PDF in box B. Each file is read as soon as you pick it.
  2. Tick Ignore whitespace and case if spacing or capital letters should not count as changes.
  3. Press Compare PDFs. You will see both page counts, a summary such as "2 pages differ", and the changes for each page.
  4. Read the changes: lines starting with + were added, lines starting with - were removed, and inside edited lines the changed words are highlighted.
  5. Use Show only pages with differences to hide identical pages, and Download report (.txt) to keep a record.

When to use this tool

  • Contract and policy revisions: check what a counterparty actually changed between two drafts before you sign, instead of trusting a cover note.
  • Report and thesis drafts: see which paragraphs an editor or supervisor reworded between versions.
  • Price lists and terms: confirm that only the figures you meant to update were edited in a new release of a brochure.
  • Checking exports: verify that a document converted or re-exported from another program kept all of its text.
  • Form letters and templates: spot a stray edit in one copy of a letter that should match another.

Tips and limitations

  • Only text is compared. A swapped logo, a changed chart, a new colour or a moved paragraph block will not be reported unless the words themselves change.
  • Scanned PDFs are pictures of pages and contain no text to compare. If a file looks scanned, the tool warns you. Run it through OCR first.
  • Text is rebuilt into lines from its position on the page. In multi-column layouts and tables the reading order can differ from what you see, so lines may appear in an unexpected order.
  • Pages are matched by their content, so a page inserted in the middle is reported as added rather than making every later page differ. Documents that were reflowed with different page breaks will still show many differences.
  • Hyphenation, headers, footers and page numbers are treated like any other text and will show up when they change.
  • Password-protected PDFs must be unlocked first. Very large files may take a while to read in a browser.

Frequently asked questions

Does this compare images and layout?

No. It compares extracted text only. Visual changes that do not alter the words, such as a different image or a moved box, are not detected.

Are my PDFs uploaded?

No. Both files are read inside your browser and the comparison runs on your device. The text report is created locally when you click download.

Why does it say my PDF has no text?

The file is probably a scan or a photo saved as PDF, so each page is an image. Run OCR to add a text layer, then compare the results.

How are pages matched between the two files?

Identical pages are lined up first, then the pages in between are paired in order. An inserted or deleted page appears as an added or removed page.

What does Ignore whitespace and case do?

It treats lines as equal when they differ only in capital letters or in spaces, so "Total Due" and "total due" are not reported as a change.

Related PDF tools