Skip to content

Remove Metadata from PDF on Windows

Remove metadata from PDF on Windows with Print to PDF, ExifTool, and GetCompress. Strip author, title, and embedded XMP before sharing contracts and decks.

By Petr Samokhin

Legal sends a redacted contract PDF, but Document Properties still lists the paralegal’s name, your company template path, and the original Word author. Remove metadata from PDF files before external share, e-discovery upload, or public download when hidden fields should not leave your org.

PDF metadata types

PDF files store more than page content. Viewers expose some fields under Properties → Details.

MetadataWhere it appears
Title, Author, SubjectDocument properties panel
Creator and ProducerExport app and PDF engine
Creation and modification datesProperties and compliance scans
XMP packetsEmbedded XML for DAM and Adobe workflows
Custom info dictionaryInternal tags from enterprise tools

Embedded JavaScript, attached files, and hidden layers are separate hygiene topics. This guide focuses on standard document metadata and lightweight sanitization before share.

Compliance teams sometimes ask for both metadata removal and embedded image optimization in one pass. Handle image weight first when file size blocks email, then strip author fields before external share.

Metadata removal differs from image compression inside the PDF. See how to compress PDF on Windows when byte size from embedded photos is the main problem.

Privacy and file size

ScenarioWhy metadata matters
Client contractInternal author name reveals staffing
RFP responseProducer string shows unreleased toolchain
Public whitepaperOld Title from draft filename leaks topic
Archive uploadDates conflict with embargo narrative

Stripping tags rarely shrinks a PDF as much as recompressing embedded images, but compliance reviews often require both. Read lossy vs lossless compression when you optimize scanned pages vs vector slides.

Online PDF sanitizers upload the full document. For NDAs, board decks, and unreleased pricing, keep processing local. See are online file compressors safe on Windows for what upload actually means.

Remove metadata with Print to PDF

Microsoft Print to PDF produces a new file that often drops some original metadata:

  1. Open the PDF in Edge or Adobe Acrobat Reader.
  2. Choose Print, select Microsoft Print to PDF.
  3. Save to a redacted\ folder with a new filename.
  4. Right-click the copy → Properties → Details and compare fields.

Print paths can alter fonts, links, and layer structure. Use ExifTool when you need deterministic tag removal without re-rendering pages.

For image-heavy PDF where metadata is fine but size is not, re-export slides from PowerPoint at screen quality instead of repeated filter passes.

Strip with ExifTool

Install ExifTool with winget:

winget install ExifTool

Clear common PDF fields:

exiftool -PDF:Author= -PDF:Title= -PDF:Subject= -PDF:Keywords= input.pdf

Remove all metadata:

exiftool -all= -o clean.pdf input.pdf

Verify remaining tags:

exiftool clean.pdf

Batch a folder:

mkdir clean
Get-ChildItem *.pdf | ForEach-Object {
  exiftool -all= -o "clean\$($_.Name)" $_.FullName
}

qpdf and Ghostscript options

Install qpdf when you need structural rewrite:

winget install qpdf
qpdf --linearize input.pdf output.pdf

Combine with ExifTool on output.pdf for metadata-focused workflows.

Ghostscript rewrites PDF during compression, which may drop info dictionary entries:

gswin64c -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET -dBATCH `
  -sOutputFile=clean.pdf input.pdf

Compare one page visually after Ghostscript. Prefer ExifTool when you must preserve exact rendering.

When slides embed huge photos, compress images inside the PDF per how to compress PDF on Windows , then strip metadata on the smaller output.

Slide decks destined for the web often embed PNG screenshots that should become WebP in the HTML version of the same content. See PNG to WebP on Windows when raster figures leave the PDF and enter a site template.

Using GetCompress

GetCompress processes PDF files locally without upload. Useful when legal and marketing folders need both smaller bytes and share-ready copies.

  • Drop contract or deck PDF files and compress embedded images when size is the primary pain.
  • Export sanitized copies through your local workflow before external upload portals.
  • Batch remove metadata from PDF on Windows alongside image optimization when handoffs mix PDF and JPEG attachments.
  • Avoid browser sanitizers that receive full contracts on third-party servers.

GetCompress is not a certified redaction tool for classified content. It fits routine author-field removal and pre-share hygiene. Pair with how to compress images on Windows when source slides are exported as images before PDF merge.

Keep originals\ with full metadata for internal records. Send only clean\ copies externally and log which batch tool produced them for audit trails.

Spot-check Properties → Details on one file before you zip the entire packet for the client portal.

Rename clean\ outputs with a -redacted suffix when both versions must live in the same SharePoint library so downstream reviewers open the correct copy by filename alone.

Buy GetCompress now for local media compression with reusable presets and no media upload.