Sanitize a PDF without uploading it

Neutralize active PDF features while preserving normal page content, or create a strict visual-only copy for stronger structural isolation.

100% private: everything runs on your computer, your files never leave your device.

Tools

  1. Add the PDF and review what was detected
  2. Choose recommended cleanup or a strict visual copy
  3. Download the sanitized PDF and keep the original for comparison

What Sanitize PDF does

Sanitize PDF creates a safer copy of a document by removing the parts of a PDF that can act on their own: scripts, automatic actions, launch actions, form submissions, attachments, XFA forms and rich media. The work happens in your browser tab, the file is never uploaded, and the original on your disk stays as it was.

Before you choose anything, the tool analyzes the file and tells you how many categories of active content it found, or that none were detected. If the document carries digital signatures, it warns you that the new copy will invalidate them.

There are two levels. Recommended removes the active content and keeps the normal page content, so text stays searchable and selectable and vector graphics stay sharp. Strict visual copy turns every page into an image in a new PDF, which keeps only the appearance of the pages.

How to sanitize a PDF

  1. Add one PDF. It is analyzed locally and the screen shows what was detected.
  2. Choose the sanitization level: Recommended or Strict visual copy.
  3. With Recommended, choose what to remove. Active and embedded content is always removed, Metadata is selected by default, and you can add External links and Annotations and comments.
  4. Press Create safer copy. When it finishes, the screen shows how many elements were removed and how many pages were rasterized.
  5. Press Download sanitized PDF. The file carries the suffix _sanitized and a timestamp. Keep the original until you have reviewed the new copy.

What each level removes and keeps

Both levels write a new file. In both cases the copy is built from the pages, so bookmarks and other parts that belong to the document as a whole are not carried over.

Privacy and limits

The analysis and the new copy are made by code running inside your browser tab. The PDF is not uploaded, no page is sent anywhere and no third-party script is loaded. The only download is OléPDF's own code from its own domain.

Sanitizing reduces the attack surface that is specific to PDF files. It is not a malware scan and it is not a guarantee that a file is safe, which the tool also states on screen. A PDF that asks for a password to open cannot be sanitized; remove the password with Decrypt PDF first.

Typical uses

Frequently asked questions

Is Sanitize PDF free?

Yes, the free tools include 5 PDFs a day in total. Sanitizing one PDF at a time is free, with no account and no watermark.

Which level should I choose?

Recommended for almost every document: the active content goes and the pages stay as they were, with searchable text. Choose Strict visual copy when you want to keep nothing but the appearance of the pages and you can accept losing text, links and forms.

Does sanitizing guarantee that a PDF is safe?

No. It removes the PDF features that are most often misused, but it is not an antivirus scan. To see what a file contains before you decide, open it in Analyze PDF.

Will the digital signatures still be valid?

No. The sanitized copy is a new file, so any signature in the original no longer applies to it. The tool warns you before you create the copy when the document is signed.

Is my document uploaded?

No. The analysis and the sanitization run in your browser, and the PDF never reaches a server.

Can I sanitize several PDFs at once?

No. The tool works on one document at a time, and the screen shows what was detected in that file before you create its copy.

Protect and Review

All tools

Photos rather than PDFs? Try OléPIC, our image tools.

Videos rather than PDFs? Try OléVIDEO, our video tools.