Stirling-PDF vs iLovePDF: Self-Hosted PDF Tools Compared
Every PDF you upload to iLovePDF passes through their servers. Your contracts, tax returns, medical records, business proposals — all of it transits infrastructure you do not control. Stirling-PDF runs entirely on your machine. Your documents never leave your network.
That distinction matters more than any feature comparison, but Stirling-PDF also matches iLovePDF on features and beats it on cost. Here is the full breakdown.
Feature Comparison
| Feature | Stirling-PDF | iLovePDF |
|---|---|---|
| Merge PDFs | Yes | Yes |
| Split PDFs | Yes | Yes |
| Compress PDFs | Yes | Yes |
| Convert to/from Word | Yes | Yes |
| Convert to/from Excel | Yes | Yes |
| Convert images to PDF | Yes | Yes |
| OCR (text recognition) | Yes (Tesseract) | Yes |
| Add watermarks | Yes | Yes |
| Rotate pages | Yes | Yes |
| Extract pages | Yes | Yes |
| Sign PDFs | Yes | Yes |
| Redact content | Yes | No (premium only) |
| Batch processing | Yes (unlimited) | Limited (free tier) |
| REST API | Yes (full) | Yes (paid plans) |
| Privacy | Full — local only | Documents uploaded to cloud |
| Cost | Free forever | Free tier limited; Premium from $4/month |
| File size limit | None (your hardware) | 100 MB free tier; 4 GB premium |
| Platform | Docker (any OS) | Web browser |
| Offline use | Yes | No |
Quick Verdict
Stirling-PDF is the clear winner for anyone who self-hosts. It is free, private, has no file size limits, and covers 50+ PDF operations — the same core set iLovePDF charges for. iLovePDF wins only on convenience: no setup, open a browser, done. If you already run Docker containers, that convenience gap disappears.
What Is Stirling-PDF?
Stirling-PDF is a self-hosted, Java-based PDF manipulation toolkit with a web UI. It provides over 50 PDF operations including merge, split, convert, compress, OCR, sign, redact, and watermark. The interface supports 40+ languages. It runs as a single Docker container with no external database and exposes a full REST API for automation.
Stirling-PDF is open source under the MIT license (the community edition). There is a paid Pro/Enterprise tier for SSO and advanced features, but the free version covers everything most users need.
What Is iLovePDF?
iLovePDF is a cloud-based PDF toolkit. You upload files through a browser, the service processes them on its servers, and you download the result. It covers the standard PDF operations — merge, split, compress, convert, OCR — and offers a desktop app and API for paid subscribers.
iLovePDF is freemium. The free tier limits file sizes to 100 MB and restricts batch processing. Premium plans start at $4/month (billed annually) and unlock higher limits, batch processing, and API access.
Docker Setup for Stirling-PDF
Create a docker-compose.yml:
services:
stirling-pdf:
image: stirlingtools/stirling-pdf:2.5.3
container_name: stirling-pdf
ports:
- "8080:8080"
volumes:
# Application settings and database
- stirling-configs:/configs
# OCR language data (Tesseract)
- stirling-tessdata:/usr/share/tessdata
# Application logs
- stirling-logs:/logs
# Pipeline automation configs
- stirling-pipeline:/pipeline
environment:
# Disable login screen for single-user setups
- SECURITY_ENABLELOGIN=false
# UI language (en_GB, es_ES, fr_FR, de_DE, etc.)
- LANGS=en_GB
restart: unless-stopped
deploy:
resources:
limits:
memory: 2G
volumes:
stirling-configs:
stirling-tessdata:
stirling-logs:
stirling-pipeline:
Start it:
docker compose up -d
Access the web UI at http://your-server:8080. No account creation, no setup wizard — every tool is available immediately.
Adding OCR Languages
Stirling-PDF uses Tesseract for OCR. English is included by default. To add more languages, download the trained data files into the tessdata volume:
# Example: add German and French OCR support
docker exec stirling-pdf bash -c \
"cd /usr/share/tessdata && \
curl -LO https://github.com/tesseract-ocr/tessdata/raw/main/deu.traineddata && \
curl -LO https://github.com/tesseract-ocr/tessdata/raw/main/fra.traineddata"
Enabling Authentication
For multi-user or internet-exposed deployments, enable the login system:
environment:
- SECURITY_ENABLELOGIN=true
On first launch with login enabled, Stirling-PDF creates a default admin account. You set the credentials through the admin panel at http://your-server:8080/admin.
Feature Deep Dive
Merge and Split
Both tools handle basic merge and split well. Stirling-PDF lets you reorder pages with drag-and-drop before merging and split by page ranges, bookmarks, or fixed intervals. iLovePDF offers the same split options but adds a visual page selector in its browser UI. Functionally equivalent.
Convert
Stirling-PDF converts between PDF and Word, Excel, PowerPoint, images (PNG, JPEG, TIFF), and HTML. It uses LibreOffice under the hood for Office format conversions. iLovePDF supports the same formats. Conversion quality is comparable — both rely on the same underlying libraries for Office-to-PDF rendering.
OCR
Stirling-PDF bundles Tesseract OCR and supports every language Tesseract covers (100+). You download the language packs you need. OCR runs locally with no file size restriction — process a 500-page scanned document if your server can handle it.
iLovePDF provides OCR on premium plans. It handles common languages well but processes everything server-side with their file size limits in place.
Compress
Both offer multiple compression levels. Stirling-PDF gives you granular control over image DPI, color space, and compression algorithm. iLovePDF offers three presets (low, medium, high compression). For most users, the presets are fine. For precise control over output quality, Stirling-PDF wins.
Redaction
Stirling-PDF supports true PDF redaction — permanently removing content, not just drawing black boxes over it. Version 2.5.0 added color selection for redaction marks. iLovePDF does not offer redaction in its free tier; the premium tier provides basic redaction.
API Access
Stirling-PDF exposes a full REST API on the same port as the web UI. Every operation available in the browser is available via API. No authentication required in single-user mode, or use the built-in auth for multi-user setups. This makes it straightforward to integrate into scripts and automation pipelines. See the API docs at http://your-server:8080/swagger-ui/index.html.
iLovePDF provides an API on paid plans starting at $4/month. The API has rate limits and file size caps based on your plan tier.
Performance
Stirling-PDF performance depends entirely on your hardware. On a modern quad-core server with 4 GB RAM, operations like merge, split, and rotate complete in under a second for typical documents. OCR and Office-format conversions are CPU-intensive — a 50-page scanned document takes 30-60 seconds depending on your CPU. There is no file size limit beyond your available disk and memory.
iLovePDF offloads processing to its cloud infrastructure, so operations feel fast regardless of your local hardware. The trade-off is a 100 MB file size cap on free tier (4 GB on premium) and dependency on your upload speed. A 200 MB PDF that processes in 10 seconds locally on Stirling-PDF might take minutes to upload to iLovePDF on a slow connection.
Resource Requirements for Stirling-PDF
- RAM: ~200 MB idle, 512 MB-2 GB under heavy load (OCR, large conversions)
- CPU: Low for basic operations; moderate-to-high for OCR and conversions
- Disk: ~500 MB for the container image, plus storage for your documents during processing
Privacy and Security
This is the decisive differentiator.
Stirling-PDF: Your documents stay on your server. Nothing is transmitted anywhere. There is no telemetry, no analytics, no third-party processing. When you merge two PDFs, the operation happens in your Docker container on your network. The files exist only on your disk. If you run Stirling-PDF on a machine with no internet access, it works identically.
iLovePDF: Every document you process is uploaded to iLovePDF’s servers (hosted on AWS). Their privacy policy states files are deleted after 2 hours, but you are trusting their infrastructure with your data during that window. For personal documents — tax filings, medical records, legal contracts, business financials — that is a meaningful risk.
iLovePDF has been audited and holds ISO 27001 certification, which is better than many competitors. But no cloud service can match the privacy guarantee of “your files never leave your network.”
If you process documents with PII, client data, HIPAA-covered information, or trade secrets, Stirling-PDF is the only responsible choice.
Cost Comparison
| Stirling-PDF | iLovePDF Free | iLovePDF Premium | |
|---|---|---|---|
| Monthly cost | $0 | $0 | $4/month (annual) or $6/month |
| File size limit | Unlimited | 100 MB | 4 GB |
| Batch processing | Unlimited | Limited | Unlimited |
| API access | Included | No | Yes |
| OCR | Included | No | Yes |
| Users | Unlimited | 1 | 1 (team plans higher) |
| Annual cost | $0 | $0 | $48/year |
| 3-year cost | $0 | $0 | $144 |
Stirling-PDF costs you only the resources it uses on hardware you already own. If you run a home server or VPS, the marginal cost is effectively zero. iLovePDF Premium at $48/year is not expensive, but it is $48/year more than free — and it still sends your documents to someone else’s server.
Use Cases
Choose Stirling-PDF If…
- You process sensitive documents (legal, medical, financial, client data)
- You already run Docker containers on a server or NAS
- You want API access for automation without paying per-request
- You handle large files that exceed iLovePDF’s upload limits
- You need offline PDF processing
- You want to avoid yet another SaaS subscription
- You process documents in bulk with no artificial rate limits
Choose iLovePDF If…
- You rarely process PDFs and do not want to maintain infrastructure
- You do not handle sensitive documents
- You need PDF tools on a device where Docker is not available
- You want zero setup — open a browser, upload, done
- You are comfortable with your documents transiting third-party servers
Final Verdict
Stirling-PDF is the better tool for self-hosters. It matches iLovePDF feature-for-feature on the operations that matter — merge, split, convert, compress, OCR — while keeping your documents entirely private and costing nothing. The Docker setup takes two minutes. The web UI is clean and functional. The API is included for free.
iLovePDF is a competent cloud service, and its convenience is real. But convenience does not justify sending sensitive documents through third-party infrastructure when a free, local alternative exists. If you run any Docker containers at all, there is no reason to use iLovePDF.
Install Stirling-PDF, bookmark localhost:8080, and stop uploading your documents to the internet.
Related
Get self-hosting tips in your inbox
Get the Docker Compose configs, hardware picks, and setup shortcuts we don't put in articles. Weekly. No spam.
Comments