Independent product studio · Swedenhello@karelialabs.com

Guide

Hidden data in a PDF file: a field-by-field reference

Short answerBesides its pages, a PDF can carry names, software, dates, tracking IDs, earlier versions, attached files, scripts and photo data. The table lists each item, where it sits and what it can reveal.

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.

WhatWhere it sits in the fileWhat it can reveal
Author, Title, Subject, KeywordsInfo dictionary, which the trailer points to with /InfoWho wrote the document, its working title and keywords
Creator, ProducerInfo dictionaryThe program the document was written in, and the program or library that wrote the PDF
CreationDate, ModDateInfo dictionaryWhen the file was created and last changed
Custom keys such as Company or ManagerInfo dictionary; pdfx: fields in XMPCompany and people names, and any other value a program added
XMP: dc:creator, xmp:CreatorTool, pdf:Producer, xmp:CreateDate, xmp:ModifyDateXMP packet in a /Metadata stream on the catalog, pages, images, fonts or other objectsAuthor, software and dates a second time, also per page or per image
XMP: xmpMM:DocumentID, InstanceID, OriginalDocumentIDXMP packetTracking IDs for the document and each saved instance
XMP: xmpMM:History, DerivedFromXMP packetEditing steps with software and dates, and the source file's path (stRef:filePath)
Document ID/ID in the trailerAn identifier that can match copies of the same file
Earlier versionsObjects left behind by incremental saves, reached through /Prev cross-reference sectionsOld titles and authors, earlier comment authors, deleted attachments
Attachments/EmbeddedFiles, FileAttachment annotations, /AF, a portfolio /Collection, /EF in file specificationsWhole other files, with their names and their own metadata
JavaScript/JavaScript name tree, /OpenAction, /AA actions, link and button actionsScripts 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 textWho commented, and when
Thumbnails and application data/Thumb on pages; /PieceInfo and /LastModified on catalog and pages; /SpiderInfo in the catalogPage pictures, private data of the authoring program (such as Illustrator), page change dates, capture web addresses
Photo data in imagesEXIF, XMP, IPTC, comment and MPF segments in JPEG images; XML, UUID and UINF boxes in JPEG 2000 imagesGPS position, camera make, model and serial number, lens, software, dates, artist, owner, copyright, caption
Data outside the PDFBytes before %PDF- or after the last %%EOFText 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

More from Karelia Labs