PDF Compare: Find Text Changes Between Two PDFs

Load an original (PDF A) and a revised version (PDF B). The tool extracts the text of both with PDF.js, runs a diff and shows removed text in the left panel and added text in the right panel.

PDF A - Original

Drop PDF A here

Up to 50 MB

PDF B - Modified

Drop PDF B here

Up to 50 MB

Runs in your browser: your files and text are not uploaded. Free, no account needed.

Last updated: · Reviewed by the QuickTooly Team

How the comparison works

Only the Text Is Compared

Changes to images, fonts, colors, layout or position on the page do not show up. A scanned PDF has no text layer, so it compares as empty; run OCR on both files first.

How Text Is Extracted and Matched

For each page, PDF.js returns the text items in the order they are stored. The tool joins them with single spaces and ends each page with one line break, so in the extracted text every page is one long line.

  • Words (default): a word-level diff. Use this to find edits in contracts, papers and drafts.
  • Lines: a line-level diff. Because each page is one line, any change marks the whole page as removed and added. It shows which pages changed, not what changed.
  • Paragraphs: the extracted text has no paragraph breaks, so this mode gives the same result as Words.

Removed text is struck through in red in the PDF A panel. Added text is highlighted in the PDF B panel.

Why Unchanged Text Can Show as Different

  • Storage order. Text is not always stored in reading order. A re-exported file can store columns, headers or footnotes in a different order.
  • Re-flowed lines. If a paragraph wraps differently, hyphenated words split in different places.
  • Inserted pages. Compare the page counts shown for both files to spot added or removed pages.

Comparison Limits

Can it compare scanned PDFs?

Not directly. Scans contain pictures of text, so PDF.js extracts nothing. Run both files through PDF OCR first, then compare the results.

Does it detect formatting or image changes?

No. Only the extracted text is compared. Changes to bold, font size, color, images and layout are ignored.

Can I compare password-protected PDFs?

No. PDF.js opens the files without a password, so a PDF that needs an open password fails with an error.

Tools for Harder Comparisons

  • PDF OCR: add a text layer to scanned PDFs so they can be compared.
  • PDF to Text: extract the full text if you want to clean it up before comparing.
  • Text Diff: compare pasted text, for example after fixing line breaks by hand.