What hidden data can a PDF contain?

By Check Before Send · Updated

Quite a lot. Beyond the words on the page, a PDF can carry document details such as author and title, comments and markup, attached files, filled-in form values, scripts, and earlier saved versions of the file. None of these is visible when you read the page.

This guide lists what we found in test PDFs, one kind per file, what the PDF standard says about two of them, and what the checker left in place on purpose.

What the standard says

The PDF standard defines a document information dictionary with entries for title, author, subject, keywords, the program that created the document, the program that made the PDF, and two dates. It defines the author as the name of the person who created the document.

It also defines annotations, which is how comments live in a PDF. A text annotation is a sticky note attached to a point in the document: closed, it shows as an icon, and opened, it shows a pop-up with the text of the note. The note's text is stored in the file whether or not anyone opens it.

What we found in test PDFs

We made small test PDFs with invented content, one kind of hidden data in each, and ran Check Before Send on them.

Test fileWhat the tool listed
Document detailsAuthor, title, subject, keywords, the creating program and two dates
Comments and markupA comment, a highlight and an ink mark, with the reviewer's name and the note text; a phone number inside a note was found as a separate finding
Attached filesTwo attached files, one on a page and one on the document, with names and sizes
Filled-in formThe values typed into three form fields, and an email address in one of them
ScriptsJavaScript that runs when a page or the document opens, and a link that launches a file
Earlier savesA second, earlier version of the file that still held an email address
LinksA link to a website, listed and kept

For each of the first six we let the tool make a copy, and then scanned the copy a second time. In four of them, nothing was left. In the scripts test, only a website link remained, because links are kept by default. In the form test, an email address in a field was replaced with a marker, while the form values and the editable fields were still listed as present, because the tool does not remove those unless you choose to.

What this means

  • Hidden data is not one thing. A check that looks only at the author misses the rest.
  • Some items are kept by default because removing them changes what the file does: links and editable form fields. The tool lists them so the choice is yours.
  • A comment can hold personal information of its own, such as a phone number, so it is worth reading, not just deleting.

Limits

These are small synthetic files made for testing. Real PDFs from other programs can store things in other places. A PDF can also be made of page pictures; Check Before Send reads those with text recognition, which can misread, and never reports them as fully checked. Apple's guide notes that annotations stay editable unless you flatten them when you save, so the way a PDF was saved matters too.

Check the PDF before you send it

Drop the PDF into Check Before Send. It lists each kind of hidden data it finds with the values shown, you choose what to remove, and it writes a new copy and runs a second scan on that copy. "Verified not found" means that second scan found nothing, not that the file is guaranteed clean.

The file is read inside your browser and is not uploaded; the Trust Center explains how to confirm that. For one common case, see where the author name in a PDF comes from, or browse the other guides.

Sources