Skip to content
LoverPDF

Sanitize a PDF

Make a PDF safer to open and share. Remove things you can't see on the page: scripts, actions that run automatically, attached files, links to outside sites and identifying metadata.

or drop files here

PDF files

Where your file is processed

On your deviceProcessed on your device — files are not uploaded.

How to use Sanitize PDF

  1. Choose a PDF.

  2. Choose what to remove.

  3. Export the cleaned copy.

About this tool

What's removed

JavaScript and automatic actions (on open, on page view, in form fields), embedded attachments, optionally links to web pages and other files, and the author, software and other metadata.

What stays

Text, images and layout are untouched, and links that jump to another page in the same document keep working.

Frequently asked questions

Does this make a malicious PDF safe?

It removes the common ways PDFs run code or reach out to the internet, but it isn't an antivirus. Don't open files you don't trust.

Will forms still work?

Fields stay fillable, but calculations and validation scripts are removed.

Is my file uploaded?

No. It's processed in your browser and never leaves your device.

Related guides