Skip to content
Server-sideDeleted in 30 minutes

Compare Two PDFs

Compare two PDF files and see exactly what changed between them. The diff reads the selectable text layer from both, compares matching page numbers, and shows additions and removals in context. It exists because a PDF can look nearly identical while a date, amount, paragraph or footnote has changed. Your documents stay in the tab. Scanned pages with no text layer need OCR before text comparison can work.

Use this without the search next time. Prathom Workbench puts Prathom's tools in your toolbar.

Add to Chrome — free

Compare two PDFs

Extracts the text layer from each page and shows what changed, page by page. Scanned, image-only pages have no text layer to compare.

Original

Changed

What it does

  • Compares two PDFs page by page
  • Highlights added and removed text
  • Reports changed page count and text totals
  • Compares the text layer, not a picture of the page
  • Deleted within 30 minutes, no account

How to use PDF Diff

  1. 1

    Choose the original

    Drop the earlier PDF into the first box. Use the version you want to treat as the baseline.

  2. 2

    Choose the changed copy

    Drop the second PDF into the changed-version box. The files can have different page counts.

  3. 3

    Compare the text layers

    Start the comparison. Each PDF is read locally, matching page numbers are compared, and pages with additions or removals are shown.

  4. 4

    Review the changed pages

    Read the highlighted rows and check the original pages when layout, images, signatures, or scanned content matters.

How it works

A PDF is not a word-processing document with a dependable paragraph tree. Text is often stored as positioned glyph runs, and a producer may emit words in an order that is convenient for drawing rather than reading. This tool reconstructs lines from the coordinates in each page's text layer before comparing them. It preserves the text it extracted instead of silently rewriting a document.

The comparison is page-aware. Page 1 in the original is compared with page 1 in the changed copy, then page 2 with page 2, and so on. That choice is intentionally understandable. If a new cover page is inserted near the beginning, later pages may appear changed because their page numbers shifted; the tool reports that effect rather than pretending it has solved document alignment.

What the result means

Rows beginning with + were found in the changed PDF but not the original. Rows beginning with - were present in the original but absent from the changed version. Unchanged rows remain in the page result so a reviewer can read the surrounding passage instead of seeing a list of isolated words.

The output is a review aid, not a legal certification. Text extraction can lose reading order in columns, omit text drawn as an image, and interpret ligatures or unusual fonts differently. A PDF may also contain important information outside its text layer: images, annotations, form values, attachments, bookmarks, signatures, and metadata. Inspect those separately before approving a contract, invoice, or regulated record.

Privacy and limits

Both documents are uploaded, their text layers extracted here, and the files deleted — the uploads as soon as the extraction finishes, the results within 30 minutes. There is no account and nothing is stored. That is worth knowing before comparing drafts, agreements or internal reports: it is a smaller circle of trust than a third-party comparison service, and it is not zero. For a document where it has to be zero, diff <(pdftotext a.pdf -) <(pdftotext b.pdf -) does the same job on your own machine with free software. Very large documents or pages with enormous text layers may be refused by the size budget rather than left to time out.

For scanned files, use an OCR workflow first. OCR creates a new text layer by interpreting pixels, so the comparison can then find word changes, but a recognition mistake is not the same thing as a human edit. For visual changes, render the relevant pages and compare them as images. For a structural PDF inspection, use a PDF validator or a specialized document review workflow instead of relying on text alone.

When to use another tool

Use PDF to text when you need one readable extraction rather than a two-version comparison. Use the ordinary text diff when the content is already copied as text. Use a PDF redaction tool when confidential text must be permanently covered; comparing documents does not remove anything. Use the PDF compressor when the goal is file size, not change detection.

Examples

Reviewing a contract revision

vendor-contract-v1.pdf and vendor-contract-v2.pdf - 12 pages each
Page 8 shows two removed payment sentences and three added delivery terms

The page number makes it faster to open the same location in both files and confirm whether the visible layout changed along with the text.

Comparing monthly reports

march-report.pdf - 6 pages and april-report.pdf - 7 pages
Pages 1-6 are compared; page 7 is treated as added content

A page-count difference is visible in the summary rather than being hidden by a comparison that silently stops at the shorter document.

Frequently asked questions

Does this PDF diff upload my files?

No — and how it works changed on 2026-08-26. The file is sent to Prathom's own server, processed there, and deleted the moment the response is sent; nothing is stored and no account is needed. It used to run inside the browser tab, which was slower, capped by the memory that tab had, and — for several of these tools — produced worse output. The comparison itself is a line diff over the extracted text. Keep the originals until you have checked the result you need.

Can it compare scanned PDFs?

It compares selectable text layers. A scanned PDF is usually a set of page images with little or no text layer, so it may show no meaningful changes. Run OCR first when you need to compare words inside scans, and remember that OCR can introduce recognition errors.

Does it compare images, signatures, or layout?

This first version compares extracted text page by page. It does not prove that images, signatures, annotations, fonts, or visual positioning are identical. Open the changed pages and inspect those elements separately when they matter.

What happens when the page counts differ?

Matching page numbers are compared through the longer document. A page that exists in only one PDF is represented as added or removed text, and the summary reports both page counts so the difference is not hidden.