Sanitize a PDF

Vellum inspects a PDF document and removes the embedded JavaScript code, the actions scheduled to run when the file opens, and those attached to clickable links — mechanisms that are sometimes used for malicious purposes. The visible content of the document is left untouched; only these active elements are removed. The analysis and the cleanup happen directly in your browser.

What exactly does Vellum’s sanitizing tool remove?

It removes JavaScript code embedded in the PDF, actions scheduled to run automatically when the file opens, and those attached to clickable links — mechanisms that are sometimes used for malicious purposes.

Does sanitizing change the visible content of the document?

No, the text, images and layout remain unchanged. Only the invisible active elements are removed.

Is this tool free, and does it work offline?

Yes, the analysis and cleanup happen entirely in your browser, without the file being sent to a server. A password-protected PDF must be unlocked before it can be sanitized.

Vellum — free PDF tools whose processing stays on your device.