Every time you use a "free online PDF tool," you're making a trade you probably haven't thought about. You upload your document — maybe a contract, a tax return, a medical form — to some server you know nothing about. The tool does its thing. You download the result. And then... what happens to your file?
Most people never ask that question. But the answer isn't great: the file sits on a server, often unencrypted, sometimes indefinitely. Some services explicitly claim ownership of uploaded content in their terms. Others have been caught selling user data. And even the honest ones are one breach away from exposing your documents to the world.
The good news: 2026 is the year this problem gets solved. A wave of open-source, self-hosted PDF tools has emerged that give you everything Adobe Acrobat offers — merging, splitting, compressing, OCR, conversion — without ever sending your documents to a third party. Here's the complete stack.
The Privacy Problem With Online PDF Tools
Let's put some numbers on this. The top five "free online PDF" sites collectively process over 200 million documents per month. Each one of those documents gets uploaded to a server. Each one passes through infrastructure you don't control.
The privacy policies are revealing when you actually read them:
- iLovePDF (100M+ users): "We may retain your files for a limited period" — undefined, and they reserve the right to process files for "service improvement"
- Smallpdf (50M+ users): Retains files for 1 hour, but their GDPR compliance page notes they use third-party processors in multiple jurisdictions
- Adobe's online tools: Files are processed on Adobe servers, and their terms allow them to "analyze your content" for product development unless you explicitly opt out
Even if you trust these companies (and some are genuinely trying to do the right thing), you're still one server misconfiguration away from your documents being exposed. In 2025 alone, two major PDF tool providers disclosed data breaches involving user-uploaded documents.
The alternative? Run the tools yourself. Your documents never leave your network. You control retention. You control access. And with the tools available in 2026, it's easier than ever.
The Self-Hosted PDF Toolkit: Four Tools That Cover Everything
1. Stirling PDF — The Swiss Army Knife
GitHub: Stirling-Tools/Stirling-PDF — 50,000+ stars
Stirling PDF is the heavyweight champion of self-hosted PDF tools. It offers 50+ operations in a single Docker container: merge, split, rotate, compress, OCR, convert to/from Office formats, add watermarks, sign, redact, and more. If you only install one tool, this is it.
What it does best:
- 50+ PDF operations in one container
- Full OCR support (Tesseract, multiple languages)
- Convert between PDF, Word, Excel, PowerPoint, and images
- Add/remove passwords, permissions, and digital signatures
- Dark mode, multi-language UI, and a clean modern interface
Quick start:
docker run -d \
-p 8080:8080 \
-v /path/to/data:/usr/share/tessdata \
--name stirling-pdf \
frooodle/s-pdf:latest
The catch: It's heavy. The Docker image is over 1GB because it bundles LibreOffice for format conversion. If you're running on a Raspberry Pi or a low-resource server, you'll want something lighter.
2. bentopdf — Privacy-First, Lightweight
GitHub: bentopdf/bentopdf — 14,500+ stars (and exploding)
bentopdf is the new kid on the block and it's absolutely crushing it. Built with a "privacy first" philosophy from the ground up, it processes everything client-side in your browser — the server never sees your files. It's fast, beautiful, and covers the 80% of operations people actually use.
What it does best:
- Merge, split, compress, rotate, and reorder pages
- Extract pages, remove pages, add page numbers
- Convert to/from images
- All processing happens in your browser — zero server-side file access
- Clean, modern UI that's genuinely pleasant to use
- Docker image is under 200MB
Quick start:
docker run -d \
-p 3000:3000 \
--name bentopdf \
ghcr.io/bentopdf/bentopdf:latest
The catch: No OCR, no Office format conversion, no advanced features like redaction or digital signatures. It's a focused tool, not a kitchen sink.
3. SnapOtter — The File Processing Powerhouse
GitHub: SnapOtter/SnapOtter — 2,100+ stars
SnapOtter takes a different approach: instead of being "just" a PDF tool, it's a general-purpose file processing platform that handles PDFs, images, audio, and video. Convert, compress, OCR, transcribe — all in one place.
What it does best:
- PDF conversion (to/from images, Office formats)
- OCR with multiple engine support
- Audio transcription (Whisper integration)
- Image processing (resize, convert, optimize)
- Batch processing with queue management
- API-first design — easy to integrate with other tools
Quick start:
docker run -d \
-p 8081:8080 \
-v /path/to/data:/app/data \
--name snapotter \
ghcr.io/snapotter/snapotter:latest
The catch: It's newer and less polished than Stirling PDF. Some features are still maturing. But the pace of development is impressive.
4. DoxDock — Browser-Based, Zero Server
GitHub: DoxDock/DoxDock
DoxDock takes the privacy argument to its logical conclusion: there is no server. It's a static HTML page that does all PDF processing in the browser using WebAssembly and JavaScript. You can literally download the HTML file, open it in any browser, and start processing PDFs — no Docker, no server, no installation.
What it does best:
- Merge, split, and reorder pages
- Extract text and images
- Compress PDFs
- Add/remove passwords
- Works offline — no internet connection needed
- Zero infrastructure — just an HTML file
The catch: Limited to what browser APIs can do. No OCR, no Office conversion, and performance depends on your device. Large PDFs (100MB+) can be slow.
Which Tool for Which Job?
Here's the decision framework:
| Use Case | Best Tool | Why |
|---|---|---|
| "I want everything" | Stirling PDF | 50+ operations, OCR, Office conversion — the full suite |
| "I want privacy above all" | bentopdf | Client-side processing, server never sees files |
| "I need OCR and file conversion" | SnapOtter | Multi-format processing with OCR and transcription |
| "I don't want to run a server" | DoxDock | Static HTML, works offline, zero infrastructure |
| "I want a browser-based quick tool" | devhandbook.io PDF Tools | Merge, split, compress, protect — all client-side, no uploads |
The "I Don't Want to Run Anything" Option
If you don't want to spin up a Docker container but still want privacy, we built a free PDF tool suite right here on devhandbook.io. It does merge, split, compress, and password-protect — all in your browser. Nothing gets uploaded. Nothing hits a server. It's the same client-side approach as DoxDock, but with a polished UI and no setup required.
Try it: devhandbook.io/pdf-tools/
Setting Up Your PDF Stack: The Recommended Approach
Here's my recommendation for most homelabbers:
Tier 1 — Quick and light: Run bentopdf. It covers 80% of what you'll actually need (merge, split, compress, rotate) with a beautiful UI and true client-side privacy. The 200MB Docker image won't stress your server.
Tier 2 — Add power: If you need OCR or Office format conversion, add Stirling PDF alongside bentopdf. Yes, it's 1GB+, but you only spin it up when you need those specific features.
Tier 3 — Go full automation: Add SnapOtter if you want API-driven batch processing. This is the tier where you start building automated document pipelines — think "every PDF that lands in this folder gets OCR'd and compressed automatically."
Here's a docker-compose that gives you the full stack:
version: '3.8'
services:
# Tier 1: Daily driver — fast, private, lightweight
bentopdf:
image: ghcr.io/bentopdf/bentopdf:latest
container_name: bentopdf
ports:
- "3000:3000"
restart: unless-stopped
# Tier 2: Heavy lifter — OCR, Office conversion, advanced features
stirling-pdf:
image: frooodle/s-pdf:latest
container_name: stirling-pdf
ports:
- "8080:8080"
volumes:
- ./stirling/data:/usr/share/tessdata
- ./stirling/config:/configs
environment:
- DOCKER_ENABLE_SECURITY=false
restart: unless-stopped
# Tier 3: Automation engine — API-driven batch processing
snapotter:
image: ghcr.io/snapotter/snapotter:latest
container_name: snapotter
ports:
- "8081:8080"
volumes:
- ./snapotter/data:/app/data
restart: unless-stopped
The Privacy Math
Let's do a quick comparison. If you process 50 PDFs per month (a reasonable number for someone handling contracts, tax documents, and personal paperwork):
| Approach | Files Exposed | Third Parties | Monthly Cost |
|---|---|---|---|
| Online tools (iLovePDF, Smallpdf, etc.) | 50 files/month | 3-5 companies | Free (but you're the product) |
| Adobe Acrobat Pro | 0 (local) | Adobe (telemetry) | $19.99/month |
| Self-hosted stack (bentopdf + Stirling) | 0 | 0 | $0 (just your server's electricity) |
Over a year, that's 600 sensitive documents you're not uploading to strangers' servers. For a business handling client documents, the numbers get even more compelling.
The Bigger Picture: The Self-Hosting Renaissance
The PDF toolkit story is part of a larger trend. In 2026, we're seeing a wave of "self-hosted alternatives to SaaS" that are genuinely good — not just "good enough for nerds," but actually competitive with commercial products:
- PDF tools: bentopdf, Stirling PDF, SnapOtter → replaces Adobe/iLovePDF/Smallpdf
- Document management: Paperless-ngx → replaces Evernote/Google Drive for documents
- Photo management: Immich → replaces Google Photos
- Password management: Vaultwarden → replaces LastPass/1Password
- Media streaming: Jellyfin/Plex → replaces Netflix for your own media
- AI assistants: Open WebUI + Ollama → replaces ChatGPT for many tasks
The common thread: these tools are maturing from "hobbyist projects" to "production-grade software." The UI is getting better. The Docker images are getting smaller. The documentation is getting clearer. And the privacy argument — "your data stays on your hardware" — is resonating with more people every day.
What's Next
The self-hosted PDF space is moving fast. Here's what I'm watching:
- bentopdf's roadmap includes OCR and digital signatures — if they ship those, it could become the only PDF tool most people need
- Stirling PDF is adding AI-powered features (smart redaction, document classification)
- SnapOtter is building out its API to become a general-purpose document processing backend
- WebAssembly improvements in browsers are making client-side tools like DoxDock faster and more capable every quarter
The bottom line: you don't need to upload your documents to random websites anymore. The tools exist. They're free. They're good. And they respect your privacy.
Try our free client-side PDF tools: devhandbook.io/pdf-tools/ — merge, split, compress, and protect PDFs without uploading anything.
Related posts: