Sanitize PDF

Clean a PDF of scripts, metadata and risks.

Produce a safer PDF by stripping JavaScript, clearing metadata and removing risky elements — configurable, and processed locally in your browser.

How to use

01

Select a PDF

Choose the PDF to sanitize.

02

Choose what to remove

Toggle JavaScript, metadata, embedded files and launch actions.

03

Sanitize

Click SANITIZE. The document is rebuilt without the selected elements.

04

Download

Download the cleaned PDF.

Features

Combined cleanupOne pass removes scripts, metadata, attachments and launch actions.
ConfigurableChoose exactly which elements to strip.
Rebuilt documentThe output is a fresh serialization without unreferenced objects.
LocalRuns entirely in your browser.

Privacy & security

Sanitization happens locally. The document never leaves your device.

Limitations

  • Sanitizing rebuilds the file; some exotic PDF features may render differently afterward.
  • Sanitization reduces, but cannot guarantee the absence of, all malicious content — open suspicious files only in safe viewers.

Frequently asked questions

JavaScript, document metadata, embedded attachments and launch actions, depending on your toggles.

Safer — but no tool can guarantee safety. Use reputable viewers for untrusted files.

Page content is preserved; only the risky elements are removed.

Yes, free with no account.