Compare two PDFs and see the text differences

Check a revised contract, quote or manual without sending it to anyone: choose the earlier PDF and the later one, and the paragraphs that changed are marked − and +, with the changed characters highlighted. Text that only moved to another line or page is not a difference. Only the text is compared, not the layout, pictures or formatting.

Before (earlier PDF)

or drop it here

After (later PDF)

or drop it here

View
Ignore

The PDFs stay on your device: they are neither sent to an outside server nor stored.

How to use

  1. Click “Choose file” under “Before” for the earlier PDF and under “After” for the later one, or drop them onto the boxes; two PDFs dropped together fill both. Each is read page by page.
  2. Choose the view (unified or side by side), tick the differences to ignore, and whether to keep the headers and footers. The comparison changes at once, without reading the PDFs again.
  3. Removed paragraphs are marked − and added ones +, with the changed characters highlighted and the page each paragraph starts on. Press “Copy” for the differences in unified diff form, “Swap” to exchange the two PDFs, or “Clear” to start again.

Frequently asked questions

What exactly is compared?

The text only. Each PDF's lines are joined back into paragraphs, headings, list items and table rows, as PDF to Markdown does, and the two lists are compared paragraph by paragraph; inside a changed paragraph, character by character. So a sentence added that pushes the rest onto other lines or pages shows as one change, not as every line after it. Text repeated at the top or bottom of most pages (headers, footers, page numbers) is left out unless you keep it. The layout, pictures, colours, fonts and bold or italic are not compared, nor are a list's bullets and numbers. Each paragraph shows the page it starts on.

Can I compare scanned or password-protected PDFs?

A scanned PDF holds pictures of its pages, not text, so there is nothing to compare: make its text selectable first with OCR PDF (save it as a searchable PDF), then compare that. Pages without text in an otherwise readable PDF are named on the page and left out of the comparison. A PDF that needs a password to open, or that restricts copying, is not read; remove the password with Unlock PDF first.

Which differences can be ignored?

Spacing, case (A and a) and full-width / half-width forms, each only when ticked, as in Compare Text. Spaces at the start and end of a paragraph and runs of spaces are always treated as one, since a PDF's spacing comes from its layout. Your choice of view, differences to ignore and whether to keep headers and footers is kept in this browser for your next visit; the PDFs are not.

Are my PDFs sent anywhere?

No. Both PDFs are read and compared in your browser, so contracts and other confidential papers never leave your device. Nothing is stored: the files are gone when you close or reload the page. The site records only that the tool was used and that the result was copied, not the files or their text.

Are my files uploaded to an outside server?

No. Everything runs in your browser, so your files never leave your device. The page only downloads the tool's own code when you add the first file.

Related tools