Skip to main content

Compare Two PDFs by the details stored inside them

See whether two PDFs share the same dates, author, app and size. Page text is not compared.

You have used your free guest upload. Create a free account for 100 free uploads a month.

Create a free account

Compares file properties only. It does not compare the wording, images or layout of the pages.

  • Fifteen properties compared
  • Differences highlighted
  • Software and dates for each file

How do I compare two PDF files, and what does this check?

Upload two PDFs and see which of fifteen file details differ: page count, size, title, author, the software that made each file, the dates and more. It tells you quickly whether a copy was re-saved, converted or re-dated. It does not compare the words or pictures on the pages.

What does the PDF comparison show?

It puts fifteen details of the two files side by side and marks each one that is different. It is a fast answer to "are these the same file, and if not, what happened to one of them?" when you have two attachments that are supposed to match.

  • Pages, file size and PDF version.
  • Title, Author and Subject, as recorded in the file.
  • Creator: the app the document was written in, such as a word processor.
  • Producer: the software that saved it as a PDF.
  • Created and Modified: the dates stored in the file.
  • Encrypted: whether the file is password-protected or restricted.
  • Tagged: whether the file says it has the structure screen readers use.
  • Fonts and Images: how many of each were found.
  • JavaScript: whether the file contains scripts.

Can I see what changed in the text of two PDFs?

Not with this tool. It does not read the wording, the images, what was typed into form fields, comments or the order of the pages. Two contracts with different payment terms but the same file details will show no differences.

To find changed wording, extract the text of both files and paste the two versions into a text comparison tool, or use Compare Files in Acrobat Pro, which marks changes on the pages themselves.

Why do two copies of the same document show differences?

Because saving a PDF again changes its details, even when nothing on the page changed. Running a file through a converter, a print-to-PDF step or an online tool does the same. In our test, a converted copy of an untouched one-page file showed four differences: a new file size, a different Producer, and new Created and Modified dates. The newer dates belong to the copy, not to the content.

The match is exact. A date one second apart, an extra space after a name or a change of capital letters is marked as different, so read what the two values are before deciding a difference matters.

What does each difference usually mean?

Most differences have an ordinary cause. A difference cannot tell you who changed a file or why, and the dates and names stored in a PDF can be edited, so treat this as a reason to ask, not as proof.

Common causes for each kind of difference
What differs Usual harmless cause Look closer when
File size only The file was saved again or compressed It is meant to be the untouched original
Modified only Opened and saved, even with no visible change The sender says it was not edited
Created and Modified Exported again from the source, or converted You expected an earlier creation date
Producer Passed through another PDF program, printer or online converter Only one program should have been involved
Pages Pages were added, removed or split off Always. Open both files
Encrypted A password or restriction was added or removed A signed copy should not have changed
Fonts or Images Different export settings, or changed content The counts change but the page count does not
JavaScript Form features added by an editor The file came from someone you do not know

Does "no differences" mean the files are identical?

No. It means the fifteen details match, which makes it likely the files are the same but does not prove it. An editor that keeps the original details, or someone who sets the dates back by hand, can make two different documents look the same here. A detail that could not be read in either file is blank on both sides and counts as a match.

To confirm two files are exactly the same, compare their checksums (SHA-256, for example). If the checksums match, the files are identical.

Are the two PDFs stored, and can I share the result?

The result page is stored with both file names, their sizes and the fifteen values; the PDFs themselves are not kept. They are read during the upload and then discarded.

The result is private to the browser session or account that created it. You can return to it through its link, but anyone else who opens that link sees a page-not-found error. To pass the finding on, copy the values or take a screenshot. Results made without an account are deleted after 90 days. Results made while signed in stay until the account is deleted.

What are the limits, and why did my comparison fail?

On the Free plan each file can be up to 50 MB. Comparing two files requires two uploads, so verify a free account before starting a comparison.

A password-protected PDF can still be compared. It shows Encrypted as Yes, and details that could not be read are left blank on that side. "Comparison failed" usually means one of the files is damaged and cannot be opened. Get a fresh copy from the sender and try again.

Last updated . Written from the comparison tool's source code and from test PDFs we built and compared for the purpose.

Do more with a free account

Keep your report history, share reports by link, check several PDFs at once and use the API.