PROVIDER - Self-Hosted PDF Toolkit
Stirling PDF
Stirling PDF is a self-hosted PDF toolkit with 100+ tools for merging, splitting, compressing, OCR, conversion, signing and redaction, all processed on your own machine.
4.1pts
Service Overview
Stirling PDF is a self-hosted PDF toolkit: merging, splitting, rotating, compressing, watermarking, OCR, format conversion, signing and redaction live in one interface with more than a hundred actions, and batch work can be chained into a pipeline that runs in one pass. Files are processed on your own server or desktop instead of being uploaded to a third-party site.
The project has roughly 98,000 stars on GitHub and sits on the 3.5.x line, written in Java under an MIT main licence with some modules under separate terms. It ships as a container image, a desktop client and a hosted service, and self-hosting runs fully offline, which suits teams sensitive about where files travel.
Key Strengths
- Tool coverage is broad, so everyday PDF work no longer bounces between several sites.
- Self-hosted or desktop processing keeps files local, which suits contracts and receipts.
- OCR and format conversion turn scans into searchable text.
- Pipelines chain several steps so recurring work is configured once.
- The main licence is MIT and the community edition is free to self-host, with limits only on automation credits.
Limitations
- The interface is a tool list, with less layout power than design-focused software.
- OCR and batch conversion are compute heavy, and large files wait noticeably on small hosts.
- Some advanced capabilities depend on licensed credits, capping automation afterwards.
- Localized interface text and docs trail the English releases.
- Complex forms and layered PDFs can still shift layout after processing.
Product Ecosystem
Stirling PDF gathers operations scattered across online tools into one local capability: common actions are single tools, repeated actions become pipelines, and batch jobs can be scheduled through the API.
Common Tools and Batching
Merging, splitting, compressing, rotating, watermarking and numbering are the high-frequency actions and accept several files at once. Validate parameters on a small sample before a batch, since over-compression blurs text.
OCR and Conversion
Scans become searchable text through OCR, and office formats convert both ways. Quality depends on source resolution and language data, so non-English material needs the extra language pack installed.
Signing and Redaction
Fields can be signed, stamps applied and sensitive areas blacked out, but redacted files should be checked for leftover text layers. For contracts, keep before and after copies for audit purposes.
Deployment and Calls
Container deployment needs a persistent volume for temporary files and configuration, while the desktop client suits offline personal use. Batch scheduling goes through the API, and callbacks should follow webhook signature verification.
Use Cases
- Good fit|Routine contract and receipt handling: merge, split and redact locally.
- Good fit|Organisations that must work offline: an air-gapped network still works and files stay inside.
- Good fit|Scan archiving: OCR produces searchable text for the archive system.
- Good fit|Teams with batch jobs: pipelines and API scheduling remove repetitive work.
- Evaluate first|Scenarios needing fine layout design: layout control is weaker than design software.
- Evaluate first|Compute-constrained servers: OCR and conversion occupy CPU for long stretches.
- Evaluate first|Organisations requiring fully open licensing: some modules carry separate terms.
Pricing
| Item | Billing | Spec and usage | Notes |
|---|---|---|---|
| Free | Free monthly | 1,000 automation credits a month | 100+ tools by hand; 1 user on the cloud, up to 5 self-hosted users |
| Team | Per user monthly or yearly | $1 per user per month billed yearly, 2,500 credits | Adds team administration, unified billing and monitoring metrics |
| Enterprise | Annual quote | Automation credits customized | Adds air-gapped deployment, SAML SSO, audit logging and SCIM |
| Self-hosted server | Billed by cloud vendor or hardware | Container plus persistent volume | OCR and conversion are CPU-bound, so leave headroom |
| Operations effort | Team time | Upgrades, backups and access configuration | Releases are frequent, so read change notes first |
The free tier covers manual use and light automation, with Team or Enterprise plans once batch volume grows.
FAQ
- Are files uploaded to an external server? Self-hosted and desktop deployments process everything locally without an external service, and work without a network. The hosted cloud does send files to its environment, so sensitive material belongs on a self-hosted instance. Restrict access after deployment and clean temporary directories regularly.
- How well does OCR handle non-English text? Install the matching language data and scan at 300 dpi or higher, since skew and shadows hurt accuracy. Output as a searchable PDF or text, then proofread key fields manually. Test a few pages before batching so the whole run does not need redoing.
- What beats the online converters? The main differences are where files go and the batch capability, since local processing has no upload step and pipelines plus API lock in multi-step work. The trade-off is operating it yourself and paying for OCR compute. Teams with sensitive, high-volume files gain most, while occasional users are fine with free tools.
- What exactly does the free credit limit cover? Using tools by hand does not consume credits, which are spent on automation such as pipelines, API calls and AI-assisted steps. Once credits run out, automation pauses while manual work continues. Teams relying on scheduled batches should size the plan from monthly job volume rather than headcount.
Integration and Code Examples
Container deployment essentials
services:
stirling-pdf:
image: stirlingtools/stirling-pdf:latest
ports:
- "8080:8080"
volumes:
- ./configs:/configs
- ./tessdata:/usr/share/tesseract-ocr/5/tessdata
Calling a tool through the API
# Merge two PDFs and save the result
curl -s -X POST "http://localhost:8080/api/v1/general/merge-pdfs" \
-F "fileInput=@a.pdf" -F "fileInput=@b.pdf" -o merged.pdf
The tessdata directory holds OCR language packs, and additional data files are required for non-Latin scripts.
Community and Resources
- Stirling PDF website — product overview, downloads and plan comparison
- GitHub repository — source, issues and releases
- Deployment documentation — container setup, configuration and environment variables
- API reference — how to call each tool
- Pricing page — free, team and enterprise differences
- Desktop client — installers and offline builds
Articles
- 01 Video SEO for Google Search and YouTube 07-18
- 02 Triggered Email Design: Events, Eligibility, and Frequency 07-18
- 03 Online Form Builder Comparison 11-26
- 04 Cold Email and New-Domain Warm-Up 07-18
- 05 Email Bounce Causes and Responses 07-18
- 06 Contract Management and E-Signature Selection 07-18
- 07 Choosing Free Mailbox and Sending Quotas 11-26
- 08 Choosing Forum Software: Hosting and Maintenance 11-26
- 09 Cookie Consent Platform Selection 11-26
- 10 Choosing Team Messaging for China-Based Teams 11-26