← Back to all posts
Security January 29, 2025 · 9 min read

Hidden Metadata in PDF Files: What You're Accidentally Sharing

PDFs carry hidden metadata that can expose your name, organization, creation software, revision history, and more. Learn what's at risk and how to clean it.

When you send a PDF or Word document, you assume the recipient sees only what's on the page. That assumption is wrong. Every PDF, DOCX, XLSX, and PPTX file carries a hidden metadata layer that can reveal the original author's name, their employer, every edit they made, deleted comments, and even prior versions of the document. This has embarrassed law firms, leaked intelligence operations, and cost consulting engagements. If you send documents professionally, you need to understand what's in there — and how to remove it.

The most famous PDF metadata leak

In 2005, the Italian government published a PDF report on the killing of Italian intelligence officer Nicola Calipari by US soldiers in Iraq. The report had passages redacted with black boxes to protect classified information. But the redactions were only visual — the underlying text remained in the PDF metadata layer. Within hours, journalists copy-pasted the redacted text into a plain document and read every word. The leak revealed the identities of the soldiers involved and the operational details the redactions were meant to hide.

That kind of catastrophic failure is rare, but the underlying problem — hidden metadata surviving what looks like a clean document — happens constantly at smaller scale. Law firms send drafts with tracked-changes history intact. Consultants send proposals with the client's competitor's name still in the document properties from a copy-paste job. Job seekers send resumes that reveal they were originally titled "resume_final_v7_actually_final".

What's hidden in a PDF

Modern PDFs are surprisingly information-rich. Every PDF you receive has some subset of the following stored in structured metadata blocks:

Document properties

  • Author name. Whoever created the PDF — usually the OS username or Word/Acrobat license holder. Often reveals a person's real name even when the visible content is anonymous.
  • Title. Not always what's displayed; often defaults to the source filename, revealing internal naming conventions like "ClientX_Proposal_DraftForReview_v4.pdf".
  • Subject and Keywords. Free-form fields that firms sometimes populate with internal project codes.
  • Application. The software that created the PDF, down to the exact version.
  • PDF Producer. The library that generated the file (e.g., "Microsoft: Print To PDF" vs. "Adobe PDF Library 15.0").

XMP metadata block

Adobe's Extensible Metadata Platform (XMP) is a second, more detailed metadata layer that most PDFs carry. It can include the creator email, rights and copyright statements, edit history, and links to external documents. XMP is particularly dangerous because most simple "clear metadata" tools miss it entirely.

Timestamps

Every PDF stores both a creation date and a modification date, often accurate to the second. A resume that was "updated" 30 minutes before a job application obviously hasn't been maintained over time. A "final" contract with timestamps 5 minutes apart across multiple revisions signals a hasty last-minute rewrite.

Incremental updates

PDFs support incremental updates — when you save changes, older versions of the content can be preserved inside the file. This is how the Italian government leak happened: the redactions were saved as an incremental update over the original, and the original text remained readable in the file structure.

What's hidden in a Word document (DOCX)

DOCX, XLSX, and PPTX files are actually ZIP archives containing XML files. That structure makes them incredibly rich sources of hidden information.

Author history

Every person who has ever edited the document is recorded, along with their computer username and organization from their Office license. If a document has passed through five reviewers, all five names are usually still in the file even after everyone's changes have been "accepted".

Tracked changes and comments

If tracked changes was ever enabled, every edit — including ones marked as "accepted" — may still be stored in the document's history. Comments that were "deleted" often persist in the underlying XML. A recipient with basic technical skills can unpack the .docx (rename to .zip, extract) and read everything.

Custom document properties

Enterprise Word templates often carry custom fields like "Client Code", "Matter Number", "Practice Group", "Confidentiality Level", or "Retention Period". If you copy-paste from one client's document to another's, these fields can carry the original client's identifiers into the new file.

Prior versions

If AutoRecover was enabled, snapshots of earlier drafts may be embedded. This can leak content that was deliberately deleted — pricing you decided not to disclose, sections you rewrote, competitor names you crossed out.

Real-world scenarios where this matters

Law firms

American Bar Association Model Rule 1.6 makes it an ethical obligation to prevent inadvertent disclosure of confidential client information. State bar advisories have explicitly identified document metadata as a compliance issue. Yet most attorneys still email Word documents with tracked-changes history intact.

Consulting proposals

Consultants often reuse proposal templates, copying from one client to another. Custom document properties, comments, and revision history frequently carry over the previous client's name, deal value, and internal notes. Sending a proposal that reveals the other clients you're also pitching is a career-ending mistake.

Anonymous submissions

Journalists, whistleblowers, and researchers who submit documents anonymously must scrub metadata or the "anonymous" designation is meaningless. The document's author field alone typically defeats anonymity.

Job applications

Recruiters and hiring managers check document properties. A resume with timestamps showing it was created 20 minutes before submission and modified 3 minutes before submission signals a rushed application. Author names that don't match the resume's claimed identity signal ghostwriting or template copying.

How to inspect what's in your document

Before you can scrub, you need to see what's there. Options:

  • FileScrub Metadata Viewer. Drop a PDF, DOCX, XLSX, or PPTX into the viewer and see every metadata field in your browser — no upload. Sensitive fields (author name, edit history) are flagged.
  • Adobe Acrobat. File → Properties → Description shows the basic metadata. The Advanced tab shows more, but not everything.
  • Word / Excel / PowerPoint. File → Info → "Inspect Document" runs Microsoft's built-in inspector. Useful but doesn't catch everything (misses some XMP fields and doesn't clean the raw XML).
  • Command line. exiftool document.pdf or unzip a DOCX and inspect docProps/core.xml and docProps/app.xml directly.

How to clean documents before sharing

FileScrub PDF Cleaner (recommended)

FileScrub's PDF Cleaner handles PDF, DOCX, XLSX, and PPTX in your browser. It strips author name, XMP metadata, tracked changes history, comments, custom properties, and prior versions — everything sensitive, in one pass. No upload, no account, no watermark.

Microsoft Word's Document Inspector

  1. File → Info → Check for Issues → Inspect Document
  2. Check all the boxes
  3. Click Inspect, then "Remove All" for each category you want cleaned

Note: this is not exhaustive. It misses some XMP fields and doesn't affect PDFs — it only works on the native Office format.

Adobe Acrobat Redaction

Acrobat Pro has a "Sanitize Document" feature under Tools → Redact that removes hidden information from PDFs. It's reliable but requires a paid Acrobat license.

Print to a fresh PDF

A brute-force approach: print the document to a new PDF. This flattens all content and drops most metadata. Downside: it also drops hyperlinks, bookmarks, and interactive form fields, and it dramatically increases file size because everything gets rasterized in some cases.

Verify it worked

Never trust a scrub without verifying. After cleaning a document, drop it back into a metadata viewer to confirm the sensitive fields are gone. Look specifically for:

  • Author name (should be blank or generic)
  • Last Modified By (should be blank or generic)
  • Company / Organization (should be blank)
  • Revision number (should be 1 or blank)
  • Custom Properties (should be empty)
  • Comments and tracked changes (should be zero)

The bottom line

Every professional document you send carries hidden information that can embarrass you, breach client confidentiality, or expose competitive strategy. Scrubbing takes seconds and prevents mistakes that have cost real careers and cases. Build the habit: before you send any PDF or Office document to anyone outside your organization, scrub it, then verify the scrub. The cost is negligible; the downside of not doing it is unbounded.

Scrub your documents before sharing

FileScrub cleans PDF, DOCX, XLSX, PPTX in your browser. Nothing uploads.