Sanitize PDF
Remove JavaScript, attachments, actions and hidden data.
Secure temporary processing
Files are sent over HTTPS, processed in an isolated worker and deleted automatically within 30 minutes — or right away when you choose “Delete now”. Privacy
Features
- Free to use, no sign-up
- No watermarks
- Secure temporary processing — files deleted automatically
How to use Sanitize PDF
- 1Upload your PDF (drag and drop, choose, or paste)
- 2Adjust the options if you want to
- 3Click Sanitize PDF
- 4Download the result
Frequently asked questions
Is Sanitize PDF really free?
Yes. Every tool on this site is free with no sign-up, no watermark and no premium tier. The only limits are technical ones that keep the service fast for everyone.
What happens to my files?
Your files are sent over an encrypted connection, processed in an isolated worker, and deleted automatically within 30 minutes — or immediately when you click “Delete now”. We never share them or use them for training.
Is there a file size limit?
Files up to 100 MB are accepted. This technical limit protects the free service from overload and is the same for everyone.
Clean out everything hidden
A PDF can contain more than pages. It can carry JavaScript that runs when the file opens, attached files, automatic actions (like opening a link or another file), and other hidden data. Most of the time these are harmless, but they're also how malicious PDFs work, and they can leak information you didn't mean to share. Sanitize PDF removes JavaScript, attachments, actions and hidden data, leaving a plain document.
When to sanitize
- Before publishing a PDF on a website or sending it to many people.
- When you received a file from an unknown source and want a cleaner copy to keep or forward.
- Before submitting to systems that reject PDFs containing scripts or attachments, as some court and government portals do.
- When a document was assembled from many sources and you're not sure what's inside it.
What it doesn't do
- It doesn't hide visible text. Use Redact PDF to remove information that's on the page.
- It isn't an antivirus scan. If you suspect a file is malicious, don't open it on your computer at all.
- Interactive features, such as forms that calculate totals, will stop working once scripts are removed.
For author names and dates, also run Remove PDF Metadata. Sanitizing runs on our server in an isolated worker, and your file is deleted automatically.