PDF Metadata: What's Hidden in Your Files and How to Remove It
In 2003, the British government published a dossier on Iraq's security infrastructure. They released it as a Microsoft Word document that was later converted to a PDF. Because they didn't sanitize the metadata, journalists downloaded the file, extracted the revision history, and discovered exactly which government officials had made specific edits, causing a massive political scandal.
While you might not be writing international intelligence dossiers, the PDFs you share every day are leaking more information than you realize.
What is PDF Metadata?
Metadata is simply "data about data." It's hidden information embedded in the file structure that isn't visible on the printed page, but is easily readable by any software.
A standard PDF file commonly contains two types of metadata:
1. Document Information Dictionary (Classic Metadata)
This is the standard set of fields that has been part of the PDF format since the 90s. It includes:
- Title, Author, Subject, and Keywords
- CreationDate: The exact second the file was born.
- ModDate: The exact second it was last saved.
- Creator: The application that originally generated the document (e.g., Microsoft Word).
- Producer: The engine that converted it to a PDF (e.g., macOS Quartz or Acrobat Distiller).
2. XMP Metadata (Extensible Metadata Platform)
Introduced by Adobe, XMP is an XML-based format embedded inside the PDF that can hold vastly more detailed information. Depending on the software used to create the file, XMP data might include:
- The exact local file path on your hard drive (e.g.,
C:\Users\JohnDoe\Desktop\SecretProject\Draft_v4.docx) - The company name the software is registered to.
- Editing time (how many minutes the document was open).
- Information about embedded images, including GPS coordinates if the images were taken on a smartphone.
Why This Matters for Privacy
Imagine you are negotiating a contract. You send over a PDF outlining your terms. The recipient checks the metadata and sees the file was created 4 weeks ago, but the "ModDate" shows it was edited 10 minutes ago, and the file path reveals it was saved in a folder called "Desperate_Client_Discounts". You just lost your negotiating leverage.
Or consider a lawyer submitting a redacted document to opposing counsel. If they just drew black boxes over the text using basic markup tools rather than using a proper PDF redaction tool, the original sensitive text is still fully intact in the underlying code, and the metadata might reveal the name of the paralegal who prepared it.
How to View and Remove Metadata
To view the basic metadata of a PDF on a Mac, open the file in Preview and hit Cmd + I (Inspector). On Windows, right-click the file, select Properties, and click the Details tab. For a deeper look at XMP data, you need specialized software or command-line tools like ExifTool.
How to sanitize your files: If you want to ensure no hidden data is leaking, you must "sanitize" the document before sharing it.
- The Print-to-PDF Trick: A quick, dirty way to strip most metadata is to open the PDF, select "Print," and choose "Save as PDF" instead of sending it to a physical printer. This generates a brand new PDF from the visual data, discarding most history. (Warning: this strips bookmarks and hyperlinks too).
- Dedicated Sanitization: Use a professional tool specifically designed to scrub files. Our Protect PDF suite allows you to strip metadata and encrypt the file so only authorized viewers can access the visual data.
Don't let invisible data compromise your privacy. Make metadata scrubbing a standard part of your external communication workflow.
<script type="application/ld+json"> {"@context":"https://schema.org","@type":"BlogPosting","headline":"PDF Metadata: What's Hidden in Your Files and How to Remove It","author":{"@type":"Organization","name":"heyPDF"},"datePublished":"2026-06-12T19:22:11.463Z"}</script> <script type="application/ld+json"> {"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"Does saving a PDF under a new name delete the metadata?","acceptedAnswer":{"@type":"Answer","text":"No. Using 'Save As' and changing the filename does not delete the internal metadata. The creation date and author info will remain embedded inside the file."}},{"@type":"Question","name":"Can metadata be used to track who opened my PDF?","acceptedAnswer":{"@type":"Answer","text":"Standard metadata cannot track who opens a file. However, if the PDF contains tracking pixels, JavaScript, or DRM protection, the creator can receive pings when the file is opened."}},{"@type":"Question","name":"Are comments and annotations considered metadata?","acceptedAnswer":{"@type":"Answer","text":"Comments, sticky notes, and highlights are technically separate objects, but they often contain their own metadata, including the name of the person who made the comment and the exact timestamp."}}]}</script>Written by HeyPDF Editorial
Our professional document engineering division writes guides, tips, and tutorials helping customers around the globe run efficient PDF files processing and conversions daily.