All tools
Advanced formatting

Compress a PDF

Make a PDF smaller, by quality level or to a target file size.

Spec sheet
  1. What it does

    Choose a quality level from 1 to 9, or enter the file size you want and Stirling gets as close to it as it can. You can compress several PDFs at once.

  2. How to use it

    1. Select one or more PDFs and open Compress. 2. Choose Quality and set the slider, or choose File Size and enter a size in KB or MB. 3. Optional: turn on grayscale, fast web viewing or line art. 4. Click Compress.

  3. Automate it

    Use Compress 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/misc/compress-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
  4. Good to know

    Higher levels give smaller files but can blur images. Line art gives the largest reduction but does not suit photos. Grayscale images and fast web viewing are also options. To keep a scan searchable, run OCR before you compress it.

  5. Where it runs

    Stirling Cloud in your browser, the desktop app, or your own server. In the desktop app, the line art option usually needs a connection to Stirling Cloud or a server.

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.