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 ordrag & 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.