Sanitize a PDF
Make a PDF safer to open and share. Remove things you can't see on the page: scripts, actions that run automatically, attached files, links to outside sites and identifying metadata.
or drop files here
PDF files
Where your file is processed
On your deviceProcessed on your device — files are not uploaded.
How to use Sanitize PDF
Choose a PDF.
Choose what to remove.
Export the cleaned copy.
About this tool
What's removed
JavaScript and automatic actions (on open, on page view, in form fields), embedded attachments, optionally links to web pages and other files, and the author, software and other metadata.
What stays
Text, images and layout are untouched, and links that jump to another page in the same document keep working.
Frequently asked questions
Does this make a malicious PDF safe?
It removes the common ways PDFs run code or reach out to the internet, but it isn't an antivirus. Don't open files you don't trust.
Will forms still work?
Fields stay fillable, but calculations and validation scripts are removed.
Is my file uploaded?
No. It's processed in your browser and never leaves your device.
Related guides
- How to redact a PDF properly, and why a black box isn't enoughDrawing a black box over text in a PDF doesn't remove it. Learn how real redaction works, what to check before sharing, and how to redact without uploading.
- What hidden data is in your PDF, and how to remove itPDFs can carry your name, the software you used, dates, attachments and scripts you never see on the page. Here's what's hidden and how to strip it before sharing.