Skip to main content
Bethemesh
PDF & documents

Sanitize a PDF

Clean a PDF locally by removing metadata, JavaScript, automatic actions and embedded attachments.

Embed this widget

Customize the result, check the live preview, then copy the code.

Preview

Embed code type

Code to copy

Responsive and automatically resized by Bethemesh.

  • 100% local
  • Instant
  • Free
  • No account
  • Works offline

Your files are processed locally in your browser and are never sent to our servers.

Drop your file here

Recommended size: up to 100 MB

Why use this tool?

Sanitize a PDF before sharing it by locally removing several invisible or active elements that are not required for the visible document. The file stays in your browser and the original is never modified.

100% local and secure

Your data stays on your device and is never sent to our servers.

Smart processing

Process PDF documents easily with operations suited to their structure.

Supported formats

Imported PDF files and downloadable results depending on the selected operation.

Save time

Get a clean, ready-to-use result in seconds without installing software or configuring a complex workflow.

Fonctionnement

How does this tool work?

The shared PDF engine loads the document and applies only the selected cleanup actions. It can clear document metadata, remove JavaScript entries and selected automatic actions from the PDF catalogue or objects, and remove references to embedded attachments. Visible page content is preserved as much as possible. Sanitizing reduces ancillary information and automatic behaviour, but it is not an antivirus scan. The PDF-to-PDF transformation is available in Workspace and can run before compression or password protection.

Use cases

Prepare a document before sharing

Sanitize a PDF before sharing it by locally removing several invisible or active elements that are not required for the

Clean a sensitive document

The shared PDF engine loads the document and applies only the selected cleanup actions. It can clear document metadata,

Build a PDF pipeline

Workspace / Pipeline — rus scan. The PDF-to-PDF transformation is available in Workspace and can run before compression or password protection.

Guide

How to use this tool

  1. 1

    1

    Sanitize a PDF before sharing it by locally removing several invisible or active elements that are not require

  2. 2

    2

    The shared PDF engine loads the document and applies only the selected cleanup actions. It can clear document

  3. 3

    3

    Workspace / Pipeline

Tips and best practices

  • Sanitize a PDF before sharing it by locally removing several invisible or active elements that are not required for the visible document. Th
  • The shared PDF engine loads the document and applies only the selected cleanup actions. It can clear document metadata, remove JavaScript en
  • Traitement local / Local processing / Procesamiento local / Lokale Verarbeitung

Frequently asked questions

How does this tool work?

The shared PDF engine loads the document and applies only the selected cleanup actions. It can clear document metadata, remove JavaScript entries and selected automatic actions from the PDF catalogue or objects, and remove references to embedded attachments. Visible page content is preserved as much as possible. Sanitizing reduces ancillary information and automatic behaviour, but it is not an antivirus scan. The PDF-to-PDF transformation is available in Workspace and can run before compression or password protection.

Is the file uploaded?

No. Processing stays local in the browser.

Workspace / Pipeline ?

Yes, this transformation can be used in Workspace.

Was this tool useful?

GuideBest practicesBeginner

How to clean and OCR a scanned PDF

Clean a scanned PDF before OCR to remove unnecessary pages and create a more useful searchable document.

6 September 20262 minRead

Recommended workflow

Continue your processing

Discover tools that naturally fit before, after, or alongside this one.

Complementary tools

PDF & documents

Edit PDF metadata

Edit or remove common PDF metadata directly in your browser.

100% localNew
Use this tool
PDF & documents

Password protect a PDF

Encrypt a PDF locally with a password and AES-256 without uploading your document.

100% localNew
Use this tool
PDF & documents

Unlock a PDF

Remove PDF password protection locally when you know the current password.

100% localNew
Use this tool