Compare two PDFs

See which lines of text differ between two versions.

Drop both PDF versions hereor click to choose — up to 50 MB free

Comparing two PDFs extracts the text of each, line by line, and lists the lines that appear in only one of them. Lines found only in the first file are marked with a minus sign and lines found only in the second with a plus sign. The report is a plain text file. Images, fonts, colours and page layout are not compared, and a scan with no text layer has nothing to compare.

How to use it

  1. Drop both PDF versions on the page, the older one first.
  2. Check the order in the list: the top file is document 1.
  3. Click Compare PDFs.
  4. Download the text report and read the lines marked with minus and plus.

How to read the report

The report starts with the number of changed lines, or says that no text differences were found. A line that was deleted shows once with a minus. A line that was added shows once with a plus. A line that was reworded shows twice: the old wording with a minus and the new wording with a plus.

Lines that are the same in both files are not printed, and the report does not give page numbers. Search for the marked text in your PDF reader to find where a change is.

Why unchanged text can show as changed

Lines are taken from the page as it is laid out, not from sentences. If a margin, a font size or one early word changes, the paragraph wraps differently and every line after that point differs, even though the words are the same. Text that was moved to another place shows as removed in one spot and added in another.

Blank lines and spaces at the ends of lines are ignored. Everything else is compared exactly, so a changed comma or a capital letter marks the line.

Limits

Exactly two files are compared, and each can have up to 20,000 lines of text, which is about four hundred pages of ordinary prose. Two long documents that have little in common are refused as too different; split them and compare matching parts.

A scanned PDF holds pictures of text. Run OCR PDF on both versions first: a file with no text is refused, with a message saying which of the two it is. A password-protected file has to be unlocked first.

Questions

Does it show changes in images or formatting?

No. Only extracted text is compared. A replaced picture, a different font, bold text or a moved logo does not appear in the report.

Why does the report say no differences when the files look different?

Because their text is the same. Files that differ only in images, fonts or styling give this result. A file with no text at all is refused instead of being reported as identical.

Which file should I upload first?

Put the older version first. Minus then means removed from the old version and plus means added in the new one. You can reorder the two files in the list before comparing.

Can I compare a PDF with a Word document?

Not directly, because both files must be PDFs. Convert the document with Word to PDF first. Expect extra differences from line wrapping, since the two files were laid out by different programs.

Can I get the result as a marked-up PDF?

No. The result is a text file listing the changed lines. There is no side-by-side view and nothing is highlighted on the pages.

Are the two versions stored?

Both uploads and the report are deleted automatically within one hour. The comparison runs on servers with no access to the internet.