Stirling PDF vs ILovePDF Self-Hosted 2026
Stirling PDF vs ILovePDF: Self-Hosted PDF Tools You Own 2026
Every organization processes PDFs. Merge contracts. Compress reports. OCR scanned invoices. Redact sensitive fields before sharing. For years, cloud tools like ILovePDF and Smallpdf handled these tasks — but at a cost: your documents leave your network, processed on someone else's server, subject to their privacy policies.
Stirling PDF changes this equation. It's a self-hosted, open-source PDF toolkit with 50+ operations, deployable via Docker in minutes, with zero data leaving your server. This guide compares Stirling PDF against ILovePDF on features, privacy, compliance, and total cost of ownership.
Related: How to Self-Host Stirling PDF · Best Open Source Adobe Alternatives 2026 · Data Privacy Open Source Self-Hosting
Why PDF Privacy Matters More Than You Think
Before the feature comparison, consider what happens when you upload a PDF to a cloud tool:
- Your file is transmitted to and stored on external servers
- It may be retained for analytics, quality improvement, or legal compliance
- For law firms, healthcare providers, and financial institutions — this creates real liability
- Files may traverse multiple jurisdictions depending on CDN architecture
GDPR Article 28 requires that data processors have a Data Processing Agreement in place. ILovePDF offers this on its Business plan ($12/month+). But if you self-host Stirling PDF, the question becomes moot: data never leaves your infrastructure.
Stirling PDF: What It Is
Stirling-PDF is an open-source, self-hosted web-based PDF manipulation toolkit. It started as a simple merge/split tool and has grown into the most comprehensive self-hosted PDF solution available, with 60+ operations across categories including conversion, organization, security, and editing.
GitHub stats (2026): 47,000+ stars, actively maintained by the Stirling-Tools organization.
Full Feature List by Category
Organize
- Merge multiple PDFs
- Split PDF by page range, size, or bookmarks
- Rearrange pages (drag-and-drop UI)
- Remove pages
- Rotate pages
- Extract pages
Convert
- PDF to Word, Excel, PowerPoint, HTML
- Images (JPG, PNG, TIFF, BMP) to PDF
- Office documents to PDF
- HTML to PDF
- PDF to CSV
Security
- Add/remove password protection
- Encrypt with 128-bit or 256-bit AES
- Permissions management (print, copy, modify)
- Redact text (regex or manual)
- Certificate-based signing
Edit
- Add watermarks (text or image)
- Add headers/footers
- Add/edit bookmarks
- Compress PDF (multiple quality levels)
- Repair corrupted PDFs
- Flatten annotations
AI/OCR (optional)
- OCR via Tesseract (35+ languages)
- Searchable PDF output
- Auto-crop scanned pages
View/Inspect
- Multi-page PDF viewer with custom sorting
- Extract images from PDFs
- Compare two PDFs (diff view)
- Metadata editor (read/write XMP metadata)
New in 2025–2026
- Stateful processing: upload once, apply multiple operations without re-uploading
- Undo/redo with full version history
- On-page annotation and drawing tools
- REST API for every operation
ILovePDF: What It Is
ILovePDF is a cloud-based PDF tool suite launched in 2010. It offers 25+ PDF tools through a browser interface and mobile apps, with a freemium model:
- Free tier: Limited files per hour, max 100MB per file, watermarks on some outputs
- Premium (~$7/month): Unlimited processing, no watermarks, larger file sizes
- Business (~$12/month/user): SSO, custom branding, DPA available
ILovePDF is well-designed and fast — it's easy to recommend to individuals with no technical setup. But its limitations for organizational use are significant.
Feature Comparison Table
| Feature | Stirling PDF | ILovePDF Free | ILovePDF Premium |
|---|---|---|---|
| Cost | Free (server cost) | Free | ~$7/month |
| PDF Merge | Yes | Yes | Yes |
| PDF Split | Yes | Yes | Yes |
| OCR | Yes (Tesseract) | Yes | Yes |
| Compress | Yes (4 levels) | Yes | Yes |
| PDF to Word | Yes | Yes | Yes |
| PDF to Excel | Yes | Yes | Yes |
| Redaction | Yes (regex) | No | No |
| Watermark | Yes | Yes | Yes |
| Password Protect | Yes | Yes | Yes |
| Bulk Processing | Via API | Limited | Yes |
| REST API | Yes (all operations) | Paid API add-on | Paid API add-on |
| File Size Limit | None (your server) | 100MB | 2GB |
| Files Per Day | Unlimited | Limited | Unlimited |
| Data Stays On-Prem | Yes | No | No |
| GDPR DPA | N/A (you own data) | Not available | Business plan only |
| Offline Operation | Yes | No | No |
| Self-Host | Yes | No | No |
| Open Source | Yes (MIT/AGPL) | No | No |
Docker Compose Setup
Getting Stirling PDF running takes under 5 minutes:
version: "3.3"
services:
stirling-pdf:
image: stirlingtools/stirling-pdf:latest
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- ./training-data:/usr/share/tessdata # OCR language data
- ./extraConfigs:/configs
- ./logs:/logs
environment:
- DOCKER_ENABLE_SECURITY=false
- INSTALL_BOOK_AND_ADVANCED_HTML_OPS=false
- LANGS=en_GB
For the full OCR feature set, download Tesseract language packs:
# Download additional OCR language support
docker exec stirling-pdf bash -c \
"apt-get install -y tesseract-ocr-deu tesseract-ocr-fra"
For the security/login module (multi-user access with roles):
environment:
- DOCKER_ENABLE_SECURITY=true
- SECURITY_ENABLELOGIN=true
- SECURITY_INITIALLOGIN_USERNAME=admin
- SECURITY_INITIALLOGIN_PASSWORD=yourpassword
Privacy and Compliance Deep Dive
Where Data Lives
Stirling PDF: Files are processed entirely in memory or in temporary directories on your server. Per the official documentation: "Any file downloaded by the user will have been deleted from the server by that point." No telemetry. No analytics. No external calls.
ILovePDF: Files are uploaded to iLovePDF's servers (hosted on AWS), processed, and made available for download. Files are deleted after 2 hours. The free plan's privacy policy is fairly permissive about aggregated usage data.
GDPR Compliance
For EU organizations handling personal data in PDFs:
| Scenario | Stirling PDF | ILovePDF |
|---|---|---|
| Process HR documents | Compliant (on-prem) | Requires DPA (Business plan) |
| Handle patient data (healthcare) | Compliant | Not recommended |
| Process legal filings | Compliant | Risky without DPA |
| Financial documents | Compliant | Assess per-jurisdiction |
Air-Gapped Environments
Stirling PDF can run in fully air-gapped networks — government, defense, critical infrastructure. This is impossible with any cloud PDF tool. For these environments, Stirling PDF is often the only viable option.
REST API: Automating PDF Operations
Stirling PDF exposes a Swagger-documented REST API for every operation. Example: compress a PDF programmatically:
curl -X POST "http://localhost:8080/api/v1/general/compress-pdf" \
-H "Content-Type: multipart/form-data" \
-F "fileInput=@report.pdf" \
-F "optimizeLevel=3" \
--output compressed.pdf
OCR a scanned document:
curl -X POST "http://localhost:8080/api/v1/misc/ocr-pdf" \
-H "Content-Type: multipart/form-data" \
-F "fileInput=@scanned-invoice.pdf" \
-F "languages=eng" \
-F "sidecar=false" \
--output searchable-invoice.pdf
ILovePDF offers an API too, but it's a paid add-on (~$0.01 per operation), and data still leaves your infrastructure.
Performance Comparison
On a 2-core, 4GB RAM server:
| Operation | Stirling PDF | ILovePDF Cloud |
|---|---|---|
| Merge 10 PDFs (50MB total) | ~3–5 sec | ~8–15 sec (upload + process) |
| Compress 100-page PDF | ~2–4 sec | ~5–10 sec |
| OCR 20-page scanned doc | ~15–30 sec | ~20–40 sec |
Network latency dominates ILovePDF's timing. For large files or bulk operations, local processing is reliably faster.
Total Cost of Ownership
ILovePDF Business (team of 10)
- 10 × $12/month = $120/month = $1,440/year
Stirling PDF Self-Hosted
- 2-core, 4GB VPS (Hetzner): ~$8–12/month
- Maintenance time: ~30 min/quarter for updates
- ~$100–150/year total
For any team processing PDFs regularly, self-hosting Stirling PDF saves $1,200–1,300/year while providing better privacy and more features.
Stirling PDF vs Other Cloud Alternatives
Stirling PDF competes with more than just ILovePDF. The self-hosted privacy angle applies across the entire category:
| Cloud Tool | Price | Key Limit | Stirling PDF Advantage |
|---|---|---|---|
| ILovePDF Premium | $7/mo | Data on cloud | On-prem, unlimited |
| Smallpdf Pro | $12/mo | 2GB/file | No limits, offline |
| Adobe Acrobat Online | $19.99/mo | Adobe account required | No account, self-hosted |
| PDF24 | Free (cloud) | Files processed externally | Full privacy |
| Foxit PDF | $14.99/mo | Desktop app required | Browser-based, self-hosted |
For organizations, the comparison isn't just Stirling PDF vs one tool — it's Stirling PDF replacing all cloud PDF tools across the team for a single $10/month server.
Multi-User Access with Stirling PDF
For team deployments, Stirling PDF supports a login system with role-based access:
Roles available:
- Admin: Full access to all tools + user management
- User: Access to all PDF tools
- Limited: Restricted to specific tool categories
This makes it suitable for organizations where you want PDF processing available to all staff without giving everyone admin access to the server.
# Enable security/login in docker-compose.yml
environment:
- DOCKER_ENABLE_SECURITY=true
- SECURITY_ENABLELOGIN=true
- SECURITY_INITIALLOGIN_USERNAME=admin
- SECURITY_INITIALLOGIN_PASSWORD=changeme
- SECURITY_CSRF=true
After first login, the admin can:
- Create additional user accounts
- Assign roles
- Optionally enable SSO via OAuth2 (Google, GitHub, Keycloak, etc.)
For enterprise SSO integration:
environment:
- SECURITY_OAUTH2_ENABLED=true
- SECURITY_OAUTH2_CLIENT_NAME=Google
- SECURITY_OAUTH2_CLIENT_ID=your_google_client_id
- SECURITY_OAUTH2_CLIENT_SECRET=your_google_client_secret
- SECURITY_OAUTH2_SCOPES=openid,profile,email
- SECURITY_OAUTH2_USE_AS_USERNAME=email
Updating and Maintenance
Stirling PDF releases frequently. The update process is straightforward:
# Pull latest image and restart
docker compose pull && docker compose up -d
# Or if using docker run directly
docker pull stirlingtools/stirling-pdf:latest
docker stop stirling-pdf
docker rm stirling-pdf
docker run -d [your original flags] stirlingtools/stirling-pdf:latest
ILovePDF, by contrast, auto-updates with no action required — this is the main genuine operational advantage of the cloud approach. Self-hosting adds ~15 minutes per quarter for update maintenance.
When ILovePDF Still Makes Sense
Stirling PDF requires a server. For individuals who need to process a PDF once a month with no technical setup, ILovePDF (or Smallpdf) is perfectly reasonable — the occasional-use case doesn't justify the operational overhead of self-hosting.
ILovePDF also has mobile apps (iOS/Android) with offline PDF viewing, which Stirling PDF doesn't replicate. If your use case is primarily mobile, ILovePDF Premium at $7/month is fair value.
Who Should Use Stirling PDF
Law firms and legal teams: Document confidentiality is non-negotiable. Uploading client contracts to a cloud service creates liability. Stirling PDF keeps everything in-house, including redaction.
Healthcare providers: HIPAA-adjacent workflows processing patient documents benefit from on-premises processing. No cloud tool is appropriate for PHI without a BAA.
Finance and accounting: Processing financial statements, tax documents, and audit trails on external servers creates unnecessary exposure.
Developers and sysadmins: The REST API enables PDF automation pipelines that would cost significant money via cloud API alternatives.
Homelabbers: Stirling PDF is a perfect homelab service — useful, lightweight, and often replaces three or four browser-based cloud tools.
Verdict
Stirling PDF isn't just a cheaper alternative to ILovePDF — it's a more capable one. With 60+ operations (vs ILovePDF's 25+), a full REST API, offline operation, unlimited file sizes, and zero data leaving your server, it wins on almost every metric for organizations that can deploy Docker.
The one exception: personal, occasional use with no technical setup. For that, ILovePDF's free tier is convenient and sufficient.
For any professional context — especially legal, healthcare, financial, or government — Stirling PDF on a $10/month VPS is the responsible choice and often the only GDPR-compliant one.