privacysecurity

What Your Word Files and PDFs Are Secretly Storing

Office documents embed your name, revision history, comments, and tracked changes by default. Here's what hides inside files you share—and how to remove it.

Most people think of a document as its contents: the text you typed, the numbers in the spreadsheet, the slides you designed. The file is a container for that content, nothing more.

In practice, Office files — Word documents, Excel spreadsheets, PowerPoint presentations, and PDFs — are far more than their visible content. They contain metadata: embedded data about the file’s history, its creator, and in some cases its previous contents. This metadata travels with the file every time you share it, and most people never see it.

The stakes can be high. Lawyers have inadvertently disclosed strategy when metadata in Word documents revealed who wrote which sections and when. Journalists have been identified from metadata in files they thought were anonymously submitted. Businesses have revealed unreleased product timelines through file history embedded in documents sent to partners.

Understanding what’s in your documents — and how to remove it — is a basic privacy practice that’s frequently overlooked.


What Gets Embedded in a Word Document

Microsoft Word documents in the .docx format embed a significant amount of data beyond your actual content:

Author and editor names: Word uses the name registered in your Office account or Windows user account when you create a document. Every paragraph, comment, and tracked change is tagged with this name. If you’ve edited a document on multiple computers under different accounts, multiple names can be embedded.

Revision history: Word records a “last modified by” field and creation/modification timestamps. If you saved a document on a specific date — say, the day you were preparing for a negotiation — that timestamp is in the file.

Tracked changes: This is perhaps the most significant issue. If you use Track Changes to edit a document and then “accept all” changes before sending it, the visible text shows the final version. But in some configurations, older versions of Word and third-party document viewers can reveal the deleted text beneath accepted changes.

Comments: Comments added during editing are embedded in the document structure. Even if you delete a comment, metadata about the comment thread — who it was from, when it was added — may persist.

Template information: Word records which template was used to create a document. In corporate environments, this can reveal internal template names, file paths, or server locations.

Previous authors: If a document was created from an existing file by copying it, the original document’s metadata can persist in the new file.

Embedded objects: If you paste content from another application, metadata from that application’s data can be embedded. Paste an Excel table into Word and Excel metadata may travel with it.

A Real-World Example

In 2003, the United Kingdom government released a dossier on Iraq’s weapons programs that was later revealed to have been significantly edited from an earlier academic paper. One reason investigators were able to trace the document’s origins was metadata embedded in the Word file, including the names of editors, revision history, and save timestamps. The metadata told a story the government had not intended to tell.


What PDFs Reveal

PDFs are often treated as “final” documents — sealed, print-ready, and clean. They’re not necessarily any of these things from a privacy perspective.

Author metadata: PDFs created from Word documents inherit author information from the source file. PDFs created directly in Adobe Acrobat or similar tools often include the name registered in the software.

Creation software: The PDF records which software created it and often which version. If you created a PDF with a trial version of software on a specific date, that’s documented.

Timestamps: PDFs record creation and modification dates. More sophisticated PDF readers display this metadata in a file’s properties.

Embedded fonts and ICC profiles: These can sometimes reveal which specific operating system version or printer driver was used.

Redaction failures: This is the most dangerous PDF metadata issue. Simply drawing a black rectangle over sensitive text in a PDF does not redact it — the text remains in the document and can be revealed by removing the overlay, selecting all text, or opening the file in a different viewer. Genuine PDF redaction requires tools that actually remove the underlying text, not just cover it.

In 2005, the NSA published a document about Abu Musab al-Zarqawi where sensitive names were obscured by black boxes drawn over the text. Security researchers removed the boxes and read the original text. This was a redaction failure caused by exactly this misunderstanding.

Hidden layers: Some PDFs contain multiple layers, with content in non-visible layers that remains in the file.


What Excel and Other Office Files Contain

Excel files have their own metadata risks:

Named ranges and hidden sheets: Excel workbooks can contain hidden sheets and named ranges that aren’t visible in the normal view but remain in the file.

External references: Formulas can reference external files or servers, and those reference paths are embedded in the spreadsheet. A formula pointing to \\internal-server\financial-projections\Q4.xlsx reveals infrastructure details.

Pivot table caches: When you create a pivot table from data, Excel often caches a copy of the source data in the file even if you’ve deleted the source data sheet. This data cache can be retrieved.

Comments and named cells: As with Word, comments in Excel are tagged with author names and timestamps.


Checking What’s in Your Files

For Word documents

The most reliable method is Word’s built-in Document Inspector:

  1. Open the document
  2. Go to File → Info → Check for Issues → Inspect Document
  3. Select the categories you want to inspect (comments, revisions, personal information, hidden text)
  4. Click “Inspect”
  5. Review the results and click “Remove All” for any category you want to clear

Note: Removing tracked changes deletes the revision history. If you need to keep a version with tracked changes for internal purposes, inspect and clean a copy before sharing.

For PDFs

Metadata can be inspected in Adobe Acrobat Reader by going to File → Properties → Description tab. This shows the basic metadata.

For more thorough metadata removal:

  • Adobe Acrobat Pro: Tools → Redact → Sanitize Document removes metadata, embedded content, and other potentially sensitive data
  • ExifTool (command line): exiftool -all= document.pdf strips all metadata
  • For genuine text redaction (not just visual overlay): use Acrobat Pro’s Redact tool, which removes the underlying text, not just covers it

ExifTool for any file type

ExifTool is a free, open-source command-line tool that reads and writes metadata across virtually every file format. It’s useful for bulk processing — removing metadata from an entire folder of documents before sending them:

exiftool -all= /path/to/folder/*.docx

What About Files You Share to the Cloud

Here’s where this overlaps with your personal storage practices.

When you store documents in a cloud service, the service typically ingests the file as-is, including its metadata. This usually doesn’t create an additional privacy risk beyond what already exists in the file — the cloud service’s privacy posture depends on its own policies, not on the file’s metadata.

However, metadata in files you share becomes relevant in two specific scenarios:

When sharing via link: If you share a Google Drive link to a Word document, anyone who opens that link gets the file with all its metadata intact. They can download it and inspect it at leisure.

When uploading files for collaborative editing: Services that convert your file to their own format (Google Docs, for example) may strip some Word metadata in the conversion process — but not reliably, and not all metadata.

The practical point is this: before sharing any document — whether via email, cloud link, messaging app, or any other channel — clean the metadata. This is especially important for:

  • Legal documents
  • Financial documents
  • Anything with revision history that reveals your drafting process
  • HR documents
  • Documents created from templates that contain internal corporate information

The Automation Option

For people who share many documents regularly, manual inspection is not realistic. Consider:

Automated cleanup on export: Some organizations configure server-side tools that strip metadata from documents before they’re emailed or shared externally. If you manage a team that shares documents frequently, this is worth exploring.

Standardizing creation tools: LibreOffice, for example, has more controlled metadata handling than Microsoft Office in some configurations. Understanding how your tools handle metadata lets you make better choices.

Separate working and sharing copies: A simple workflow: always maintain a working copy with full history, and export a clean copy for sharing. Never share the working copy.


A Broader Principle

The document metadata problem is a specific instance of a more general privacy issue: the things we send and store contain more information than we intend, and the recipients of that information may not have the same interests we do.

EXIF data in photos reveals where and when a picture was taken. Metadata in documents reveals who created them, when, and what they changed. The invisible layer of any digital object can tell a story its creator didn’t mean to share.

Managing this doesn’t require paranoia. It requires awareness and a few habits: inspect before you share, strip metadata from documents that will travel outside your control, use real redaction tools rather than visual overlays, and understand that “delete” in a document editor often means “hidden,” not “gone.”

The files you store privately don’t present this specific risk in the same way — private storage that you control means only you have access to the metadata. The risk is in sharing and transit, when the file leaves your control and enters someone else’s.

Your memories deserve better than an ad platform.

Try daftei free →
← All posts