What metadata is in a PDF? A field-by-field guide
From the author field to earlier drafts saved inside the same file: an inventory of every place a PDF keeps information you cannot see on the page, how risky each one is, and how to look.
A PDF can contain a document information dictionary (title, author, subject, keywords, creating and producing software, dates), an XMP record with IDs and edit history, plus hidden content: comments with reviewer names, attached files, form data, JavaScript, bookmarks, hidden layers, cropped-out content, earlier saved versions and the EXIF data of embedded photos.
The full inventory, rated by risk
Risk here means the chance of disclosing something confidential or privileged in an ordinary legal or business document. A photo-heavy file or a form will shift the ratings.
| Item | What it can reveal | Risk | How to view |
|---|---|---|---|
| Document information dictionary | Author's name, original file name in Title, software, creation and modification dates | Medium | Ctrl+D in Acrobat or Reader |
| XMP metadata | The same fields plus document IDs and, from some Adobe apps, a history of saves | Medium | Metadata viewer, exiftool, pdfinfo -meta |
| Comments and annotations | Reviewer names, dates and candid remarks; markup on pages | High | Comments pane |
| Attachments and embedded files | Whole source documents, spreadsheets, emails | High | Attachments pane (paper clip); pdfdetach -list |
| Form fields | Typed values, hidden fields, defaults left from a template | Medium–High | Prepare Form tool; field list |
| JavaScript and actions | Scripts that run on open, links to outside servers | Medium (security more than privacy) | Metadata viewer; editor's JavaScript tools |
| Bookmarks | Titles naming people, topics or sections you redacted | Medium | Bookmarks pane |
| Hidden layers | Content switched off for display but still in the file | High | Layers pane |
| Cropped, covered or white content | Text outside the visible page area, under images, or in white | High | Select all and copy; text extraction |
| Incremental-save history | Earlier versions of the document, including deleted text and old metadata | High | Count %%EOF markers; signature panel for signed files |
| Embedded fonts | Font names that hint at the organization or software | Low | Fonts tab of document properties |
| Image EXIF and XMP | Camera, GPS location, capture time, editing software | Low–High (high for photos) | Extract images, then exiftool |
| File-system metadata (outside the PDF) | Download source (Mac "Where from"), Windows zone information | Low | Finder Get Info; file Properties |
Document information dictionary
The classic metadata block, defined since the earliest versions of PDF. Its standard fields:
| Field | Typical content | Watch for |
|---|---|---|
| Title | Document title, often copied from the source file | The original file name, such as Draft response v3 (privileged).docx |
| Author | The user name of whoever created the source document | The real drafter, an associate's name, a former employee |
| Subject, Keywords | Often empty; sometimes template text | Client or matter names left in a template |
| Creator | The application that made the original, such as Microsoft Word | Reveals the source format |
| Producer | The software that wrote the PDF | Reveals scanners, print drivers or conversion services |
| CreationDate, ModDate | Timestamps, often with a time zone | Dates that contradict the document's stated date |
| Trapped | A print-production flag | Harmless |
View it with Ctrl+D in Acrobat or Acrobat Reader (the Description tab), or with the Info button in Mac Preview.
XMP metadata
XMP (Extensible Metadata Platform) is an XML packet stored in the PDF. It usually mirrors the information dictionary and adds identifiers, and files saved by some Adobe applications carry a history list of save events with timestamps and software. Because some viewers show only the information dictionary, a file can look clean in document properties while the XMP still holds the old author. Clearing one does not always clear the other; check both. In Acrobat, the Description tab's Additional Metadata button shows the XMP, as do exiftool (exiftool -xmp:all file.pdf), Poppler's pdfinfo -meta file.pdf and our PDF metadata viewer.
Comments, attachments and form data
Comments are annotations stored with the page. Each one records an author name and dates, and replies form whole conversations: "Do we have to produce this?" is a comment nobody wants to send to opposing counsel. Hidden or collapsed pop-up notes are still in the file.
Attachments can be added at the document level or as file-attachment annotations on a page. Some conversion settings can embed the source file in the PDF, so the Word original travels inside it. Open the attachments pane, or list them with pdfdetach -list file.pdf.
Form fields keep their values even when a field is hidden or set not to print, and templates sometimes carry defaults from an earlier client.
Scripts, bookmarks and layers
JavaScript and document actions can run when the file opens. They are mainly a security concern, but scripts can also contact outside servers. Nothing in a production needs them.
Bookmarks are navigation entries with their own text. Apple's Preview guide notes that redacting text does not remove table-of-contents entries that link to it (Apple), and the same risk applies in any tool that leaves bookmarks alone.
Layers (optional content) let a PDF show or hide groups of content. Engineering drawings, maps and design files often have layers switched off that still contain text and images. Open the layers pane and turn everything on before deciding a file is clean.
Hidden content and saved history
Cropping in most PDF tools changes only the visible area; the content outside it stays in the file. Text under an image, white text on a white background and objects behind other objects are all still extractable. This is the same mechanism behind most failed redactions.
Incremental saves are the least known risk. Many PDF editors save changes by appending them to the end of the file instead of rewriting it. The earlier version, with its deleted text and old metadata, stays in the file and can be recovered. Each update ends with a %%EOF marker, so a file with several of them has probably been saved incrementally (a linearized "fast web view" file normally has two). Digitally signed PDFs rely on this mechanism: Acrobat's signature panel can show the signed version. A full rewrite, for example with qpdf, removes the old versions; see how to remove metadata from a PDF.
Fonts and images
Fonts are listed on the Fonts tab of document properties. Embedded subsets appear with a random six-letter prefix, such as ABCDEF+Calibri. A custom corporate typeface can identify the organization that made a file, but fonts rarely matter in practice.
Embedded images can keep the EXIF and XMP data from the original photo or scan: camera model, capture time, editing software and sometimes GPS coordinates. A PDF of property photos or an exhibit of phone pictures may reveal where they were taken. Extract the images (Poppler's pdfimages -all file.pdf img) and run exiftool on them to check.
Metadata stored outside the PDF
Some "metadata" belongs to the file system, not the PDF. On a Mac, Finder's Where from line records the download URL as an extended attribute. On Windows, downloaded files carry a zone marker used for security warnings. Neither is inside the PDF, and both are usually lost when the file is sent by email or copied to another system.
How to see all of it at once
- Document properties (Ctrl+D) for the information dictionary and fonts.
- Our PDF metadata viewer for the information dictionary and XMP, in your browser with nothing uploaded.
- The side panes in your PDF reader: comments, attachments, bookmarks, layers.
- exiftool for a full dump:
exiftool -a -G1 file.pdf. - Text extraction (
pdftotext file.pdf -) to catch hidden and covered text.
When you find something, remove it with a method that covers that item; the comparison table in removing metadata from a PDF shows which methods reach which items. For productions, BatesBench strips the author, XMP, comments, attachments, form data, bookmarks and scripts from every file in a batch.
Frequently asked questions
What is the difference between Creator and Producer in PDF metadata?
Creator is the application that made the original document, such as Microsoft Word. Producer is the software that converted it to PDF, such as a PDF library or a print driver. A file can therefore say Creator: Microsoft Word and Producer: something else entirely.
How do I view PDF metadata?
In Adobe Acrobat or Acrobat Reader press Ctrl+D for document properties. On a Mac, open the PDF in Preview and click the Info button. For XMP and everything else, use our free in-browser PDF metadata viewer or run exiftool -a -G1 file.pdf.
Can PDF metadata be changed?
Yes. The title, author, dates and other fields can be edited in Acrobat Pro or with tools such as exiftool, which is one reason metadata alone is weak proof of who made a file or when. Edits made as incremental updates can leave the old values in the file.
Does a PDF store its edit history?
It can. Incremental saves append changes to the end of the file, leaving earlier versions recoverable, and the XMP record written by some Adobe applications includes a history of save events. A full rewrite of the file removes the old versions.