Skip to contentSkip to tool
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

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

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

Sanitize PDF: a worked example

  1. Choose one PDF.
  2. Sanitize it: scripts, risky actions, attachments, XMP and document information are removed.
  3. Compare the removal summary with what you expected and keep the clean copy.

Try this example

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

Before

  • PDF with scripts, attachments and metadata

After

  • Clean copy with the same pages and links
Input and expected output for this operation. Illustrative example.
Continue with Merge PDF
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

Local limits: Max single file: 60 MB

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.