All tools
Document security

Sanitize a PDF

Strip risky content out of a PDF.

Spec sheet
  1. What it does

    Sanitize removes JavaScript, embedded files, links, metadata and fonts.

  2. Good to know

    To black out text or areas permanently, use Redact instead.

  3. Where it runs

    Stirling Cloud in your browser, the desktop app, or your own server.

  4. Automate it

    Use Sanitize as a step in a pipeline. Pipelines run on the server on documents from a source such as S3 or SFTP, or from a watched folder on a self-hosted server.

    How Pipelines work

    Or call it from your own code: POST /api/v1/security/sanitize-pdf

    See the API

    Stirling also has an MCP server, which lets an AI assistant use Stirling PDF tools.

    AI and MCP
    Ask AI to walk you through setup

Ready to edit your first PDF?

Free for individuals. Use it in your browser, install it on Windows, macOS or Linux, or self-host it with Docker.