Compare PDF

See exactly what changed between two versions of a PDF — text, images and visual differences, highlighted side by side.

Original

The older version

Choose files to get started

Or drop both versions at once.

Processed in your browser — files never leave your device. How it works

Revised

The newer version

Choose files to get started

Or drop both versions at once.

Processed in your browser — files never leave your device. How it works

Comparison
Options

Scanned pages without text are compared visually automatically.

Add both versions to compare them.

How to Compare Two PDF Files

When a contract comes back from the other side, a policy gets its yearly update, or a designer sends "final_v7.pdf", the question is always the same: what actually changed? Reading both versions line by line is slow and easy to get wrong. PDFDoco's Compare PDF tool lines the two versions up page by page, highlights every added, deleted, reworded and moved passage right on the pages, and catches changes to images and drawings too — all inside your browser, so confidential drafts stay on your device.

  1. 1

    Add both versions

    Drop the original (older) PDF on the left and the revised PDF on the right — or drop both at once and the older file goes on the left.

  2. 2

    Pick a comparison

    Text comparison finds added, removed, changed and moved words. Visual comparison finds any pixel difference, ideal for drawings and scans.

  3. 3

    Review the changes

    Both versions scroll side by side with every change highlighted. Click a change in the list to jump straight to it on both pages.

  4. 4

    Download a report

    Save a PDF report with a summary of every change and both versions of each page with the differences marked.

Word-level highlights

See exactly which words were added, deleted or reworded — marked on the real pages, not in a separate text dump.

Pixel overlay for drawings

Compare plans, signatures, scans and charts pixel by pixel, with adjustable sensitivity and automatic alignment for scans.

Never uploaded

Both files are compared on your device. Contracts and confidential drafts never leave your browser.

How the text comparison works

The tool reads the words on every page of both PDFs, together with their positions, and compares the whole documents in one pass using a proven diff algorithm (the same family of algorithms used by software developers to compare code). Comparing the whole document — rather than page 1 with page 1 — matters: when one paragraph is inserted on page 2, everything after it shifts, and a page-by-page comparison would flag the rest of the document as changed.

The results are grouped into readable changes: added text in green, removed text in red, changed wording shown as both, and passages that were moved elsewhere in purple instead of being reported as a deletion plus an insertion. Images that were added, removed, moved or resized are reported too. Tick "Ignore case" or "Ignore punctuation" to hide trivial edits.

When to use visual comparison

Some changes aren't words: a revised floor plan, a different logo, an added signature or stamp, a corrected chart, or any change on a scanned page. Visual mode renders both versions and compares them pixel by pixel. The overlay shows content that only exists in the original in red, new content in green, and recoloured content in blue. Raise the sensitivity to catch faint changes, lower it to ignore scanner noise, and keep "Align scans" on when two scans were fed through the scanner at slightly different positions.

Reviewing contracts and legal documents

Redlines aren't always trustworthy — a counterparty might send a clean PDF without tracked changes, or a change might slip in outside the marked-up sections. Comparing the PDF you sent with the PDF you received shows every edit regardless of how the file was made. The downloadable report lists each change with page numbers and keeps both versions of each page with the edits marked, which makes it easy to share with a colleague or keep for your records.

Drawings, specifications and print proofs

Architects, engineers and print shops often receive revised drawings or proofs with only a vague note about what was updated. Visual comparison pinpoints moved walls, changed dimensions, shifted logos and colour changes, while text comparison checks specifications and captions. Because pages are matched by content, an inserted sheet doesn't throw off the rest of the set.

Tips for the best results

  • Put the older file on the left (Original) and the newer one on the right (Revised), or use Swap.
  • Use Text mode for documents created on a computer — it is precise to the word.
  • Use Visual mode for scans, drawings and anything where layout matters.
  • Step through changes with the arrow buttons; clicking a highlight selects it in the list.
  • For very long documents, keep "Only pages with changes" on so the report stays short.

Pro tip: comparing a scan with the original digital file? Use Visual mode with "Align scans" on and a sensitivity around 40–60 — it ignores paper texture but still catches handwritten notes and changed figures.

Frequently Asked Questions

How do I compare two PDF files for differences?

Add the older version and the newer version, choose Text or Visual comparison and press Compare. PDFDoco highlights every difference on both versions side by side, lists the changes with page numbers, and lets you download a report. It's free and works in any modern browser on Windows, Mac, Android and iPhone.

What is the difference between text and visual comparison?

Text comparison reads the words in both PDFs and finds what was added, removed, reworded or moved — even when an insertion pushes text onto the next page. Visual comparison renders each page and compares the pixels, so it also catches changes that aren't text: a moved logo, an edited drawing, a new signature, or a change on a scanned page.

Can I compare scanned PDFs?

Yes. Scanned pages have no text layer, so PDFDoco compares them visually — automatically in text mode, or for every page in visual mode. Turn on "Align scans" when the two scans are slightly offset, and lower the sensitivity if paper texture or scanner noise shows up as differences. To compare the words of a scan, run it through OCR first so it has a text layer.

What happens if pages were added or deleted?

Pages are matched by their content, not just by number. If the revised version has a new page 3, the original's page 3 is lined up with the revised page 4, and the new page is shown as added. Deleted pages are shown as removed, so the rest of the document still lines up correctly.

Can I compare PDFs with different page sizes or page counts?

Yes. Highlights are positioned relative to each page, so an A4 version and a Letter version line up correctly, and different page counts are handled by the page matching. In visual mode, pages with the same shape are scaled to the same size before comparing.

Are my files uploaded to a server?

No. The comparison runs entirely in your browser using JavaScript, so your PDFs never leave your device — useful for contracts, legal drafts and other confidential documents. Only the open-source PDF engine and its fonts are downloaded from a public CDN; your files are never sent anywhere.

Does it work with password-protected PDFs?

Yes. If a PDF needs a password to open, you'll be asked for it, and the file is decrypted in your browser only. Damaged PDFs are repaired on the fly where possible.