← Back to all apps

Stirling PDF

Notes/Docs

Every PDF tool you need, in your browser, on your own server.

Stirling PDF is a self-hosted PDF toolbox with more than 50 tools: merge, split, compress, convert, OCR, redact, sign, add passwords and watermarks, and more. You use it in the browser like the free online PDF sites, but the files never leave your server. Every tool is also available through a REST API, so scripts and automation tools can use it too.

What Stirling PDF is good for

  • Merge, split, rotate and reorder PDFs without uploading them to a free online PDF site.
  • OCR scanned letters so they become searchable, before they go into Paperless-ngx.
  • Compress large scans before you email them.
  • Automate PDF jobs from scripts or n8n through its REST API, for example merge every invoice of the month.

Before you deploy

  • It is a Java app and the heaviest tool in this category: about 0.8 to 1.3 GB of RAM in our test, and a 2.3 GB image. Give the container 2 GB.
  • Open-core licence: the core is MIT, but some folders (enterprise and SaaS features) are under a proprietary licence. The self-hosted tools we used need no key.
  • With login turned off, anyone who can reach port 8080 can use it. Keep it on your LAN or behind a VPN, or turn on login.
  • Files are processed on your server, but large OCR or conversion jobs are CPU-heavy. Our 1-page OCR took 5 seconds on two old cores.
  • We ran Docker inside an LXC on our faster data disk. A Docker test on our older system disk once coincided with the whole Proxmox host freezing, so watch disk load if your storage is slow.
License
MIT (open-core, some folders proprietary)
GitHub stars
97,653
Official website
https://www.stirling.com
Source code
https://github.com/Stirling-Tools/Stirling-PDF

Compatibility

Architectures
amd64, arm64
Database
Stateless
Resource footprint
2048 MB RAM · 2 CPU
Measured in a Proxmox LXC (2 cores, 2 GB RAM, Debian 13, Docker, Stirling PDF 3.5.0, memory limit 1.5 GB): about 811 MB right after start, about 1.34 GB after an OCR job, back to about 870 MB a minute later. Startup took 48 seconds. The image is 2.3 GB and the container came to 3.6 GB of disk. Plan 2 GB of RAM for the container; Java holds on to memory after big jobs.

Proof of Work Gallery

  • Tools
  • Merge
  • REST API

Deployment

# Tested by us on 2026-11-28 (Stirling PDF 3.5.0, Docker in a Proxmox LXC).
# Open http://<host>:8080 - no login with these settings, keep it on your LAN.
services:
  stirling-pdf:
    image: docker.stirlingpdf.com/stirlingtools/stirling-pdf:latest
    container_name: stirling-pdf
    restart: unless-stopped
    mem_limit: 1536m
    ports:
      - "8080:8080"
    volumes:
      - ./data:/usr/share/tessdata   # extra OCR languages
      - ./config:/configs
      - ./logs:/logs
    environment:
      DISABLE_ADDITIONAL_FEATURES: "true"
      SECURITY_ENABLELOGIN: "false"
      SYSTEM_DEFAULTLOCALE: en-US
      SYSTEM_MAXFILESIZE: "100"   # MB

Alternative to

Adobe Acrobat, iLovePDF, Smallpdf

Guides featuring Stirling PDF

Related apps

Get new apps and guides by email

One short email when we test a new app or publish a guide. No spam, unsubscribe any time.