Skip to content
PdfPress.online

Sanitize PDF

Runs in your browser

Strip scripts, actions, attachments and hidden data from a PDF. Fast, free and private.

Drag & drop PDF files here

or click the button below to choose files

PDF · One or many files (batch) · Up to 500 MB · Processed on your device

Good to know

Private by designFiles are processed on your device and never uploaded.

No limits on useFree, unlimited, no sign-up and no watermark.

Chain toolsSend the result straight into another tool.

How to use Sanitize PDF

  1. 1Add your PDF filesDrag and drop your PDF files into the box above, or click the button to choose a file from your device. Add several files to process them all with the same settings.
  2. 2Choose your settingsAdjust the options in the settings panel: remove javascript and automatic actions and remove embedded attachments and more.
  3. 3Click “Sanitize PDF”Your new file is created instantly on your device. Download it, or continue with another tool such as Compress or Protect.

About Sanitize PDF

Sanitize a PDF to strip out the parts that can carry risk or leak information while keeping the visible pages. It removes JavaScript, actions that run when the file opens, launch actions that try to start other programs, embedded files, document metadata and hidden XFA form data. Nothing is uploaded during the process.

Use it before publishing a document, or after receiving one from someone you don’t know. Features that relied on scripts, like auto-calculating form totals, will stop working. Sanitizing removes active content, but it isn’t a virus scanner, so keep your security software up to date. The visible pages stay as they were.

Input
PDF
Processing
On your device
Price
Free
Account
Not required

Sanitize PDF FAQ

Will the PDF look different after sanitizing?

The visible pages stay the same. Scripts, attachments and hidden data are removed.

What is XFA form data?

XFA is an older form technology that can hold content most readers don’t display. Sanitizing removes it.

Is a sanitized PDF virus-free?

Removing scripts, actions and attachments closes the common ways a PDF runs code, but it isn’t a full antivirus scan.

Is Sanitize PDF free?

Yes. Sanitize PDF is free to use without an account, and no watermark is added to your result.

Are my files uploaded?

No. Sanitize PDF runs entirely in your web browser, so your documents never leave your device.