VaultDocs
2 min read

Free Local PDF Metadata Scrubber: A Complete Guide

Remove hidden metadata from PDFs offline with free tools. Learn what PDF metadata reveals and how to scrub author, timestamps, and XMP data locally.

Every PDF carries more than what you see on the page. Author names, the software that created it, creation and modification timestamps, and sometimes GPS data or previous file paths are tucked into the file's metadata. This guide shows how to inspect and scrub that metadata using free, fully offline tools — no upload service required.

What PDF metadata can reveal

  • Author / creator name — often your real name or company.
  • Producer / creator software — e.g., "Microsoft Word", "Acrobat 23.1".
  • Creation and modification dates — a timeline of edits.
  • XMP packets — extended metadata that many scrubbers miss.
  • Embedded thumbnails and, in scanned docs, EXIF data from source images.

Leaking these is a common deanonymization vector for whistleblowers, journalists, and anyone sharing documents publicly.

Step 1: Inspect what's there

The gold-standard free tool is ExifTool (cross-platform, offline).

# macOS: brew install exiftool   |   Debian/Ubuntu: sudo apt install libimage-exiftool-perl
exiftool document.pdf

You'll see fields like Author, Creator, Producer, Create Date, and often an XMP block.

Step 2: Scrub everything

# Remove all writable metadata in place
exiftool -all:all= document.pdf

# ExifTool keeps a backup as document.pdf_original — delete it when satisfied
rm document.pdf_original

ExifTool handles both the standard Info dictionary and XMP. For stubborn files, rewrite the PDF structure with qpdf first:

qpdf --linearize --object-streams=generate document.pdf cleaned.pdf
exiftool -all:all= cleaned.pdf

Step 3: Handle scanned documents

If your PDF is scanned images, strip EXIF from the source images before assembling, or rasterize the final PDF to drop embedded image metadata:

gs -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dSAFER -o scrubbed.pdf scanned.pdf
exiftool -all:all= scrubbed.pdf

Step 4: Verify the scrub

exiftool scrubbed.pdf        # Author/Creator/Producer should be blank or generic
qpdf --show-npages scrubbed.pdf   # sanity check the file is still valid

If any identifying field remains, repeat Step 2 after the qpdf rewrite.

A note on "free online metadata removers"

Uploading a document to a web tool to strip metadata is self-defeating: you hand the full file — metadata and all — to a third party. Everything in this guide runs locally, so the document never leaves your machine.

Key takeaways

  • PDFs hide author names, software, timestamps, and XMP data.
  • ExifTool (-all:all=) scrubs both Info-dictionary and XMP metadata offline.
  • Rasterize or qpdf-rewrite stubborn files, then re-scrub.
  • Verify with exiftool after scrubbing, and never use an upload-based remover.

With a one-line command you can ship clean PDFs that reveal nothing beyond the page itself.

Keep reading