Skip to main content

Compare PDFs

Find pages whose rendering differs between two PDF versions without uploading the documents.

Automate

Embed this widget

Customize the result, check the live preview, then copy the code.

Preview

Embed code type

Code to copy

Responsive and automatically resized by Bethemesh.

Your files are processed locally in your browser and are never sent to our servers.

Drop your file here

Recommended size: up to 100 MB

Was this tool useful?

How does this tool work?

Comparing two PDFs tells you which pages changed between two versions of the same document: a renegotiated contract, a corrected plan, a reprinted brochure, a reviewed report. The tool compares how pages look rather than raw text, so it also spots a replaced image, a shifted table or a changed colour. Both files are analysed in your browser and a report appears straight away.

Each page of both documents is drawn as a low-resolution image (scale 0.55, about 40 dots per inch) and compared with the page with the same number in the other document. A pixel counts as different when the average gap between its red, green and blue components exceeds 24 out of 255, which ignores tiny anti-aliasing variations.

A page is declared different as soon as more than 0.25% of its sampled pixels have changed. Two pages of different sizes, or a page present in only one of the documents, count as entirely different (100%).

The report gives each PDF’s page count, the list of changed pages, the average visual difference — the mean of the percentages of all pages — and whether the documents are visually identical. Pages are compared by position: a page inserted at the start shifts all the following ones, which will then show as changed.

How to use this tool

  1. Import both versions

    Select two PDFs, the reference version first and then the new one.

  2. Run the comparison

    Pages are rendered and compared in pairs in the browser.

  3. Read the report

    Note the numbers of the changed pages, then open them side by side to see the details.

Use cases

Check a new contract version

Spot the pages changed by the other party before signing.

Check a print proof

Make sure only the corrected pages changed between two proofs of a brochure.

Validate an export

Confirm that a document regenerated by some software is identical to the previous version.

Examples

One corrected page and one added page

The average is calculated over the 11 positions: (3.2% + 100%) ÷ 11 ≈ 9.38%. The nine unchanged pages count as 0%.

Input

v1.pdf with 10 pages and v2.pdf with 11 pages; page 4 differs on 3.2% of pixels, page 11 only exists in v2

Result

Changed pages: 4, 11; average visual difference: 9.38%; visually identical documents: No

Tips and best practices

  • Compare documents with the same layout: a change of paper size makes every page different.
  • If the average difference is high while little changed, check that no page was inserted or removed near the start.
  • To read changed text word by word, convert both versions with PDF to Markdown and compare the texts.

Frequently asked questions

Does the comparison look at text or appearance?

At how pages look. It also catches changes in images, colours or layout, but does not list the words that changed.

What does the average visual difference mean?

It is the mean, over all page positions, of the percentage of differing pixels. A page missing from one document counts as 100%.

Why are all pages flagged after adding a single page?

Pages are compared by number. An insertion shifts the following numbers, so each page is then compared with a different page.

Can a very small change go unnoticed?

Yes, if less than 0.25% of the sampled pixels change at about 40 dpi, a moved comma for instance. For a fine check, compare the text too.

Can I compare scanned PDFs?

Yes, but two scans of the same paper always differ slightly (framing, brightness); the report may flag every page.

Are my two documents sent online?

No. Rendering and comparing the pages happen in your browser.

Related tools

Tools similar or complementary to this one.

Works well with

Extract selectable text from a PDF and convert it to Markdown locally, without OCR or uploading the document.

PDF & documentsUse this tool

Inspect pages, size, version, metadata, forms, annotations and active elements in a PDF.

PDF & documentsUse this tool
TutorialBest practicesBeginner

How to securely redact a PDF before sharing it

Learn why covering text is not enough, how secure PDF redaction removes sensitive information and why sanitization matters before sharing.

10 September 20262 min
GuideBest practicesBeginner

How to clean and OCR a scanned PDF

Clean a scanned PDF before OCR to remove unnecessary pages and create a more useful searchable document.

6 September 20262 min