Strip JavaScript, hidden files and tracking from a PDF to make it safe to share.
Remove potentially dangerous content from a PDF — embedded JavaScript, hidden file attachments, and optionally metadata and links. Ideal for cleaning documents received from untrusted sources before opening or forwarding them. Files are processed securely and never stored.
Upload your file using the tool above.
Adjust any settings to your preference.
Click the process button and wait for results.
Download your output using the download button.
Yes. The format supports embedded JavaScript, launch actions, auto-opening attachments and external references — features intended for interactive forms that have long been abused to deliver malware. Malicious PDFs remain a common attack vector precisely because people assume a document is inert.
Embedded JavaScript, hidden file attachments, automatic actions that fire on open, external links, and document metadata. The visible pages are left intact, so the document still reads exactly the same — you lose the interactive machinery, not the content.
Before redistributing anything received from outside your organisation, and before publishing a document publicly. Metadata removal matters there too, since PDFs routinely carry the author’s name, internal file paths and the software used — details you may not intend to share along with the file.
Yes, Sanitize PDF is completely free. No signup, no account, and no watermark on outputs. A Pro tier is available for 100 AI ops/day and larger file sizes.
Sanitize PDF uploads your file over an encrypted connection to our own processing server, converts it, and returns the result. The file is deleted immediately after processing and is never used for anything else. It is not sent to any third party, and we keep no copies.
Drop a PDF to sanitize
Strip JavaScript, hidden files and tracking from a PDF
Drop your file into the stage to begin.
Why sanitize: PDFs can carry JavaScript, hidden attachments and tracking. Sanitizing removes these so a document received from an untrusted source is safer to open and share.
Privacy: Your PDF is sent over an encrypted connection, cleaned in memory, and deleted immediately after — never stored.