Remove Metadata from PDF on Mac: 3 Methods
Remove metadata from PDF on Mac with Preview export, ExifTool, or qpdf and Ghostscript. Strip author and title before sharing contracts and decks.
Legal sends a redacted contract PDF, but Document Properties still lists the paralegal’s name, a template path, or the original Word author. Remove metadata before external share, e-discovery upload, or public download when hidden fields should not leave your org.
PDF metadata types
Viewers expose many fields under File → Properties or Get Info.
| Metadata | Where it appears |
|---|---|
| Title, Author, Subject | Document properties |
| Creator and Producer | Export app and PDF engine |
| Creation and modification dates | Properties and compliance scans |
| XMP packets | Embedded XML for DAM and Adobe workflows |
Embedded JavaScript, attachments, and hidden layers are separate hygiene topics. Metadata removal also differs from shrinking embedded images. When byte size is the main problem, see how to compress PDF on Mac . Online sanitizers upload the full document; for NDAs and board decks, keep processing local. See are online file compressors safe .
Method 1: Remove metadata in Preview
Best for: Simple files and a quick cleaner copy.
- Open the PDF in Preview.
- File → Export… (not Save on a dirty original).
- Save a new filename in
redacted/. - Open the copy and compare Tools → Show Inspector → More Info when available.
For image-heavy decks where metadata is fine but size is not, re-export from Keynote at screen quality instead of repeated filter passes.
Limitation: Preview does not guarantee complete XMP removal. Complex InDesign or enterprise Word exports may retain packets.
Method 2: Strip with ExifTool
Best for: Deterministic author and title removal.
brew install exiftool
exiftool -PDF:Author= -PDF:Title= -PDF:Subject= -PDF:Keywords= input.pdfSafer for archives: write a new file:
exiftool -all= -o clean.pdf input.pdfBatch a folder:
mkdir clean
for f in *.pdf; do exiftool -all= -o "clean/$f" "$f"; doneVerify remaining tags with exiftool clean.pdf.
Limitation: ExifTool is a metadata tool, not a certified redaction suite for classified content.
Method 3: qpdf and Ghostscript
Best for: Structural rewrite when ExifTool alone is not enough.
brew install qpdf
qpdf --linearize input.pdf output.pdfThen strip tags on output.pdf with ExifTool.
Ghostscript can drop some info dictionary entries during a rewrite:
brew install ghostscript
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET -dBATCH \
-sOutputFile=clean.pdf input.pdfCompare one page visually after Ghostscript. Prefer ExifTool when you must preserve exact rendering.
Limitation: Aggressive rewrite can soft-type on scans.
Check the result
Spot-check Document Properties on one file before you zip the packet. Keep originals/ with full metadata for internal records. Send only clean/ copies externally.
| Scenario | Why metadata matters |
|---|---|
| Client contract | Internal author name reveals staffing |
| RFP response | Producer string shows toolchain |
| Public whitepaper | Old Title from a draft filename |
When Preview or ExifTool is enough
Preview is enough for a simple export when Inspector looks clean. ExifTool fits folders and compliance checks.
GetCompress is not a dedicated PDF metadata stripper. When the real pain is embedded image weight, use it to compress PDF files locally, then strip author fields with ExifTool on the smaller output if required. It does not replace legal redaction tools. Pair with how to compress PDF on Mac for size-first workflows.
- How to Compress PDF on MacCompress PDF on Mac with GetCompress, Preview Reduce File Size, or a Keynote re-export. Shrink decks and scans for email and portals.
- Online compressor safetyWhat happens when you upload files to online compressors, and what to use on Mac instead with Preview, QuickTime, and GetCompress.
- Remove Metadata from PDF on WindowsRemove metadata from PDF on Windows with Print to PDF, ExifTool, or qpdf and Ghostscript. Strip author and title before sharing contracts and decks.
- How to Compress Images on MacCompress images on Mac with GetCompress, Preview, or sips. Resize JPG and PNG, convert HEIC, and keep sharp UI for email or web.