Skip to content
Your files stay on your device

File processing runs in your browser. Documents are not uploaded to our servers. The site may download processing engines and send usage or feedback events without file contents.

How we handle your data

Sanitize PDF

Sanitize PDF files by removing scripts, risky actions, attachments, XFA data and metadata. Pages, links and bookmarks remain.

Six pages with an opening script, an attached notes.txt and document information. The summary should count one script, one attachment and the information fields.

Your documents stay on this device. Tool downloads and usage statistics do not include file contents.

Local limits: Max single file: 60 MB

Files are processed in your browser. They are not uploaded to this site.

A practical guide

Strip hidden extras from a file.

  1. Add one PDF.
  2. Run the sanitize task.
  3. Read the removal summary and keep the clean copy.

Try this example

A file from an unknown sender may contain an attachment and a script. Sanitize it and the summary lists what was removed from the 9 pages.

Before

  • PDF with scripts, attachments and metadata

After

  • Clean copy with the same pages and links
Input and expected output for this task. Illustrative example.

Before you start: Saving invalidates digital signatures. Forms, links and the text of the pages stay, so this does not hide the visible content.

Check what the clean copy contains
What you get

Remove scripts, risky actions, attachments, XFA, XMP metadata and document information, keeping pages, links, bookmarks and form fields.

Limits and important details

One PDF. Removes document scripts, launch/submit/import actions, additional actions, attachments, XFA, XMP metadata and document information. Links, bookmarks, form fields and page content remain. Saving invalidates digital signatures.

Example

Sanitize the sample: its opening script, attachment and metadata are removed and counted in the summary, and its two pages stay unchanged.