Skip to main content
Mofumi PDF

Sanitize PDF

Quickly remove metadata, JavaScript, links, attachments and form actions from a PDF.

100% Private — files never leave your device
Upload PDFDrop files here or click to chooseAccepted: PDF Files never leave your device

About this tool

Sanitize PDF strips the hidden extras that can leak information or carry risk. In one pass it can remove document metadata (author, software, dates, XMP), embedded JavaScript and auto-run actions, link annotations, attached files and form actions that submit or import data.

Each item is a checkbox, so you can keep links but remove scripts, for example. When the file is ready you get a short report of how many items were removed in each group. Objects that are no longer used are deleted from the file, so removed data does not linger inside it.

Sanitizing does not change what the pages look like. For a deeper clean that also targets fonts, hidden layers and more, try Deep Sanitize; to remove visible text, use Find and Redact.

Engines: pdf-lib

How to use

  1. 1

    Upload your PDF.

  2. 2

    Tick what you want to remove.

  3. 3

    Click Sanitize PDF and download the cleaned file with its report.

Use cases

  • Before publishing

    Remove author names and software details before posting a PDF online.

  • Safer sharing

    Strip scripts and auto-run actions from files that came from unknown sources.

  • Lean deliverables

    Drop attachments and form actions from final copies sent to clients.

Frequently asked questions

Will the pages look different?

No. Only hidden data, links and actions are removed; page content stays exactly the same.

Is the JavaScript ever run?

Never. Mofumi PDF does not execute embedded scripts; it only deletes them.

Does this redact text?

No. To remove visible information use Find and Redact or Redact PDF.

You may also like