Files tool

Compare Two PDF Files

Choose two PDFs to see which page text is the same, changed, missing or newly added.

Runs in your browser. No upload.

About this tool

Compare Two PDF Files made simple.

The comparison reads selectable text locally and reports page-level differences. It does not prove that two visual layouts, scanned images, signatures or annotations are identical; inspect the original pages for those changes.

Guide

Using Compare Two PDF Files

This page checks two PDF files against each other, one page at a time, and lists the pages where the words are not the same. You choose an original file and an updated file, press a button, and open any flagged page to read the old and new text side by side. It suits people who receive a second version of a contract, report or form and want to know which pages moved. It reads selectable text only. It does not compare pictures, layout, signatures or scanned pages.

How to use it

  1. Under Original PDF, choose the older file from your device.
  2. Under Updated PDF, choose the newer file.
  3. Press Compare PDFs and wait. The status line counts the pages as it reads each file.
  4. Read the line at the end. It says how many pages have text differences and shows both page counts.
  5. Open any listed page to read the Original text and the Updated text. Press Clear to remove both files and the results.

Worked examples

One page has a changed price

You enter
Original
3-page PDF with the price 120 on page 2
Updated
3-page PDF with the price 150 on page 2
You get
Status
1 page has text differences. Page counts: 3 / 3.
List
Page 2 · text changed

Pages 1 and 3 have identical text, so they are skipped. Page 2 is listed, and opening it shows both versions of the text.

Not run through the tool. Treat it as an illustration.

A page added at the end

You enter
Original
2-page PDF
Updated
same 2 pages plus a new page 3
You get
Status
1 page has text differences. Page counts: 2 / 3.
List
Page 3 · added

The tool lines pages up by number. Page 3 exists only in the updated file, so it is marked as added.

Not run through the tool. Treat it as an illustration.

A page inserted at the start

You enter
Original
3 pages: A, B, C
Updated
4 pages: new page, A, B, C
You get
Status
4 pages have text differences. Page counts: 3 / 4.
List
Page 1 · text changed, Page 2 · text changed, Page 3 · text changed, Page 4 · added

Pages are matched by number, not by meaning. One new page at the front moves every later page, so each of them is reported as changed.

Not run through the tool. Treat it as an illustration.

Two scanned PDFs with no text layer

You enter
Original
scan of a letter
Updated
scan of a different letter
You get
Message
No text differences were found on matching pages.

A scan is a picture, so the tool finds no text in either file. Two empty pages count as equal. Run text recognition first, or compare them by eye.

Not run through the tool. Treat it as an illustration.

When it helps

  • Check which pages of a contract changed after the other side sent a new draft.
  • Confirm that a report you sent for review only changed where you expected.
  • See whether a regenerated invoice or statement has different wording.
  • Compare two exports of the same form to find a missing or extra page.
  • Spot an unexpected edit in a policy document before you sign it.

Limits to keep in mind

  • Each PDF may have at most 300 pages. A longer file shows an error and nothing is compared.
  • Only selectable text is read. Scanned pages, images, signatures, highlights, comments and layout changes are not detected.
  • Pages are matched by page number. An inserted or deleted page shifts the rest, so many later pages may show as changed.
  • The result shows whole-page text for the original and the updated file, not marked-up word changes, so you read both and spot the difference yourself.

Tips

  • Put the older file in Original and the newer file in Updated so that added and removed pages read the right way round.
  • If a page is flagged, look at the original pages too. A difference in a table or a picture will not show in the text.
  • When many pages after one point are flagged, look for a single inserted or removed page before that point.
  • For scanned documents, run text recognition on both files first, or compare them side by side by eye.

Common questions

About Compare Two PDF Files.

What does the tool compare?

It reads the selectable text on each page of both files, joins it into one line per page, and compares page 1 with page 1, page 2 with page 2 and so on. Spacing and line breaks are ignored.

Does it show exactly which words changed?

No. It lists the changed pages and, when you open one, shows the full text of the original and the updated page. You compare the two blocks yourself, so a long page may take a moment to scan.

Why are so many pages marked as changed?

Pages are compared by number. If one page was inserted or removed near the start, every page after it lines up with the wrong partner. Look for the first flagged page and check whether a page was added.

Can it compare scanned PDFs?

Not in a useful way. A scan holds pictures of text, not text, so both pages look empty and are treated as equal. Use text recognition to make the text selectable, then compare again.

Will it find a changed signature, image or highlight?

No. Those are not text. A page can look very different and still be reported as unchanged. Open the pages in a PDF viewer and check anything that is not words.

Is there a limit on file size or pages?

The code sets a limit of 300 pages per PDF and no fixed size limit. Large files use your device's memory and may be slow, so close other tabs if the page seems stuck.

Are my documents uploaded?

No. The files are read in your browser and the text never leaves your device. The page does not keep them, and Clear removes the files and the results.

What if the tool says no differences but I think there are some?

The text on matching pages may be the same while pictures, layout or signatures differ, or the pages may be scans with no text. Open both files in a viewer and check the original pages.

Does this replace a legal or professional review of a contract?

No. It only flags pages whose selectable text differs. A change in a table, an image or a page order can slip past it, so have the final version checked by someone qualified before you sign.

Can this tool compare two PDF documents?

Yes. It extracts selectable text and highlights additions or removals. It does not certify a document or reliably compare visual formatting and images.

Why is text missing from my comparison?

The PDF may contain scanned images rather than selectable text. Run OCR first; results can still contain recognition errors.