Hidden data in a PDF file: a field-by-field reference
Updated
The rows follow what the PurePDF engine reads and what its tests plant. A name with a slash, such as /Author, is a key as written in the PDF.
| What | Where it sits in the file | What it can reveal |
|---|---|---|
| Author, Title, Subject, Keywords | Info dictionary, which the trailer points to with /Info | Who wrote the document, its working title and keywords |
| Creator, Producer | Info dictionary | The program the document was written in, and the program or library that wrote the PDF |
| CreationDate, ModDate | Info dictionary | When the file was created and last changed |
| Custom keys such as Company or Manager | Info dictionary; pdfx: fields in XMP | Company and people names, and any other value a program added |
| XMP: dc:creator, xmp:CreatorTool, pdf:Producer, xmp:CreateDate, xmp:ModifyDate | XMP packet in a /Metadata stream on the catalog, pages, images, fonts or other objects | Author, software and dates a second time, also per page or per image |
| XMP: xmpMM:DocumentID, InstanceID, OriginalDocumentID | XMP packet | Tracking IDs for the document and each saved instance |
| XMP: xmpMM:History, DerivedFrom | XMP packet | Editing steps with software and dates, and the source file's path (stRef:filePath) |
| Document ID | /ID in the trailer | An identifier that can match copies of the same file |
| Earlier versions | Objects left behind by incremental saves, reached through /Prev cross-reference sections | Old titles and authors, earlier comment authors, deleted attachments |
| Attachments | /EmbeddedFiles, FileAttachment annotations, /AF, a portfolio /Collection, /EF in file specifications | Whole other files, with their names and their own metadata |
| JavaScript | /JavaScript name tree, /OpenAction, /AA actions, link and button actions | Scripts that run on opening, on showing a page, on typing in a field or on a click |
| Comment authors and dates | /T, /M and /CreationDate on markup annotations such as notes, highlights and free text | Who commented, and when |
| Thumbnails and application data | /Thumb on pages; /PieceInfo and /LastModified on catalog and pages; /SpiderInfo in the catalog | Page pictures, private data of the authoring program (such as Illustrator), page change dates, capture web addresses |
| Photo data in images | EXIF, XMP, IPTC, comment and MPF segments in JPEG images; XML, UUID and UINF boxes in JPEG 2000 images | GPS position, camera make, model and serial number, lens, software, dates, artist, owner, copyright, caption |
| Data outside the PDF | Bytes before %PDF- or after the last %%EOF | Text a program or a mail gateway added to the file |
Creator and Producer: two programs
Creator names the program the document was written in; Producer names the program or library that wrote the PDF. A document exported to PDF by another program carries both, and XMP repeats them as xmp:CreatorTool and pdf:Producer.
Earlier versions inside the file
An incremental save adds changed objects at the end of the file and leaves the old ones in place, so a changed title or author can stay inside as an earlier version, with deleted comments and attachments. PurePDF lists these as "Earlier author" or "Earlier title" and writes a new file with only the objects the current document uses.
GPS and camera data in a PDF
The Info dictionary has no location key. A position comes in with the pictures: a JPEG on a page keeps its EXIF segment, with GPS coordinates, camera and time. A scanned PDF can carry the scanner's EXIF, and XMP can hold exif:GPSLatitude and exif:GPSLongitude.
How to look at this in your own file
The free PDF metadata checker shows what a PDF carries, in your browser, and only reads it. PurePDF works offline, lists every item it finds on a receipt and writes a clean copy, with text, fonts and images copied byte for byte. It keeps XFA form data (marked "?"), hidden layers, form field values and signature fields; the copy of a signed file loses its valid signature.
FAQ
Does clearing the author in the document properties remove it?
Not always. The name can also sit in the XMP packet, and an incremental save keeps the old value in the file.
Is a comment author the same as a form field name?
No. Both use /T: on a comment it holds the author's name, on a form field the field's name. PurePDF removes the first and keeps the second.
Does removing hidden data change the pages?
Not with PurePDF. Page content, fonts and images are copied byte for byte; only JPEG and JPEG 2000 data lose their metadata segments, without re-encoding.
More guides
How to remove the author and other metadata from a PDF
The author, the program and the dates sit in the PDF's document properties and in its XMP data, and a PDF that was saved over often still holds the old values as an earlier version. Clearing the fields in an editor is not always enough. Writing a new file with only the current pages is: that is what PurePDF does, on your own computer.
Read the guide →How to remove C2PA Content Credentials and AI metadata from an image
C2PA manifests, XMP and generator text chunks are embedded in the image file. Drop the image on PureImage, which cuts the metadata out of the file in your browser without touching the picture, and download the clean copy. Nothing is uploaded.
Read the guide →How to remove the background from a whole folder of photos, offline
Unzip PureImage Background Remover's Offline Batch Edition, open index.html, set the output once and drop the folder. Each photo takes a few seconds with WebGPU, and nothing is uploaded.
Read the guide →