Sanitize a PDF Before Sharing
PDFs can carry more than meets the eye: author names and editing history in the metadata, file attachments embedded inside the document, JavaScript snippets, and actions that run automatically when the file opens. This tool strips all of it in one pass — every metadata field and date, the XMP metadata stream, embedded files, JavaScript name trees, and OpenAction or auto-action hooks — while the visible pages stay exactly the same. Sanitizing runs locally in your browser, so the document never leaves your device.
Choose files or drag & drop here
.pdf · single file
Processed locally in your browser — your files never leave your device.
How to sanitize PDF
- Upload the PDF you want to sanitize.
- Click "Sanitize PDF" — hidden data and scripts are stripped.
- Download the clean document, safe to forward or publish.
Frequently asked questions
What exactly does sanitizing remove?
All standard metadata (title, author, dates, producer), the XMP metadata stream, embedded file attachments, document JavaScript, and automatic open actions.
Will the visible document change?
No. Only hidden data and active content are removed. Every page, image, font, and piece of text remains exactly as it was.
Why sanitize a PDF before publishing it?
Metadata can leak author names, software versions, and timestamps, while scripts and attachments can carry active content you never intended to share.
Related tools
Encrypt PDF
Password-protect a PDF so only people with the password can open it
Decrypt PDF
Remove the password from a PDF you own by entering it once
Remove Restrictions
Unlock printing, copying and editing restrictions from PDFs you own — no password needed for owner-locked files
Change Permissions
Set printing, copying, editing and form-filling permissions on any PDF with AES-256 protection
Redact PDF
Permanently cover sensitive PDF text and remove the underlying selectable content