Compare PDF Files

Compare two PDF files in your browser. See changed words side by side, or overlay the pages to spot visual changes in red and green. Free, no upload.

Runs in your browser. Your files are never uploaded. How it works

Original PDF

Changed PDF

Compare PDF shows what changed between two versions of a PDF. Text differences lines the two documents up side by side and highlights the changed words inside each changed line. Visual overlay renders every page of both files and marks the pixels that differ in red and green. Both PDFs are compared in your browser and never uploaded.

How to compare two PDFs

  1. Click Choose the first PDF and pick the original version.
  2. Click Choose the second PDF and pick the changed version.
  3. Pick Text differences or Visual overlay, set the options, and click Compare.
  4. For a text comparison, click Download report to save the differences as a text file.

Two ways to compare

Text differences Visual overlay
Compares The text of each page Each page as a picture
Shows Changed, added and removed lines side by side, changed words highlighted Red where only the original has ink, green where only the changed PDF has it, grey where both match
Works on scans No Yes
Catches layout and picture changes No Yes
Summary Count of changed, added and removed lines Per page: “differences on x% of the page”
Report Download as text On screen

Text differences

The text of both PDFs is read page by page, with a page marker before each page, so you can see where a change sits. The comparison then aligns the two texts and shows them side by side:

  • Changed lines appear on both sides, with the exact words that differ highlighted.
  • Added lines appear only on the right, removed lines only on the left.
  • Ignore spacing and line breaks inside paragraphs joins the lines of each paragraph and treats runs of spaces as one, so a paragraph that only wraps differently, or has an extra space, is not reported as changed.
  • Show only changes hides the lines that are the same, which makes long documents quick to review.

This is the mode for reviewing a revised contract, a new version of terms and conditions, an updated report or an edited manuscript, where every changed word matters.

Visual overlay

Each page of both PDFs is rendered and laid on top of its counterpart, page 1 on page 1, page 2 on page 2 and so on. Everything that matches is shown in light grey. Ink that is only in the original is red, ink that is only in the changed PDF is green. Under each page you see a short note: no visible difference, differences on a given share of the page, or that the page only exists in one of the files.

Use it for scans, drawings, plans, brochures and forms, or to confirm that two exports of the same document really look the same.

Pages are compared by number. If a page was added or removed near the start, every later page shifts and shows as different. In that case the text mode gives the clearer picture, or take out the extra page with Split PDF first.

Good to know

  • Password-protected PDFs need to be unlocked first with Unlock PDF, if you know the password.
  • If neither PDF has text (both are scans), the text mode tells you so; switch to Visual overlay.
  • To compare scans by their words, make them searchable first with OCR PDF, then use Text differences.
  • Large PDFs take longer in visual mode, as each page is rendered twice.

Private by design

Your files are processed on your own device and never uploaded. See how it works.

Frequently asked questions

How do I compare two PDF files?

Choose the original PDF on the left and the changed PDF on the right, pick Text differences or Visual overlay, and click Compare. Changed lines are shown side by side, with the changed words highlighted.

Which mode should I use?

Text differences for documents made by software, such as contracts, reports and terms: it shows exactly which words changed. Visual overlay for scans, drawings, layouts and anything where the look matters, such as a moved logo or a changed figure.

Can it compare scanned PDFs?

Yes, with Visual overlay. A scan has no text layer, so Text differences has nothing to read. The overlay compares the pages as pictures and marks the pixels that differ.

Why does a re-wrapped paragraph not show as changed?

With Ignore spacing and line breaks inside paragraphs ticked, lines of the same paragraph are joined before comparing, so a paragraph that only wraps differently is not reported. Untick it to compare line by line, spaces included.

Can I save the result?

Yes. After a text comparison, click Download report to save the differences as a plain text file (pdf-differences.txt).

Are my PDFs uploaded?

No. Both PDFs are read and compared in your browser, on your device. Nothing is sent to a server.

More ways to use Compare PDF

Related tools