PTpdftoolsAll tools

Security & Privacy

Sanitize PDF

Remove scripts, embedded files, and hidden data.

Drop files here, or click to browse

PDF files only · stays on this device

What this removes

  • Embedded JavaScript that could run when the PDF is opened
  • Auto-open and auto-run actions
  • Document-level file attachments
  • Title, author, and other metadata

A PDF from an untrusted source can carry a hidden script or attachment you don't want. Sanitizing strips that content before you open or share the file further.

Your file is processed only in this browser tab — nothing is uploaded.

Private by design. Strip embedded JavaScript, file attachments, and other hidden content that could carry risk before you share a PDF. Your file is processed entirely in this browser tab using WebAssembly — it is never uploaded anywhere, so it stays yours even on a shared or offline computer.

Frequently asked questions

What exactly does sanitizing remove?
Embedded JavaScript, auto-open or auto-run actions, document-level file attachments, and metadata like title and author.
Why does this matter?
A PDF from an untrusted source can carry a hidden script or attachment that runs or opens without your knowledge. Sanitizing strips it out before you share or open the file further.
Is my file uploaded to be sanitized?
No. Everything runs locally in this browser tab — your file is never sent anywhere.

More security & privacy tools