DEV Community

Vikas Singhal
Vikas Singhal

Posted on

Self-Hosting Stirling-PDF in 2026: I Ditched Adobe and Smallpdf

I hit the wall on a Tuesday. I had three invoices to merge, a contract to split, and one scanned page that needed OCR. Smallpdf let me do two things and then told me to come back tomorrow or pay up. Adobe wanted $20 a month for the privilege of editing a PDF I already owned.

So I did what I should have done a year ago: I self-hosted Stirling-PDF. It has been running for a few months now, it costs me $7/mo flat, and I have not thought about a PDF paywall since.

Here is the honest write-up - what it replaces, what it actually costs, where it is genuinely cheaper, and where it is not.

TL;DR

  • Stirling-PDF is a free, open-source (MIT, ~84k GitHub stars) web app with 50+ PDF tools: merge, split, OCR, convert, sign, redact, compress, the lot.
  • It is stateless by default - no database, and your files are processed on your own server and deleted right after. Nothing gets uploaded to a third party. That alone is the reason I moved.
  • The paid SaaS tools it replaces: Adobe Acrobat Pro $19.99/mo, Smallpdf Pro ~$9-10/mo, iLovePDF Premium ~€7/mo. The free tiers are capped hard (Smallpdf is 2 tasks a day).
  • Cheapest way to run it: a $4-5 VPS if you enjoy doing your own setup and updates. Easiest way: a managed pod (I use InstaPods at $7/mo, deploy in about a minute). It is a Java app, so it wants a little more memory than a static site - that is why it is not a $3 box.

The real problem with SaaS PDF tools

Two things, really.

The paywall is per-task, not per-month. The free tiers are designed to be annoying enough that you upgrade. Smallpdf's free plan gives you 2 tasks per day across all tools combined - merge a file, compress a file, and you are done until tomorrow. iLovePDF's free tier is web-only with per-file size caps and a daily task limit. None of that is a real "free tool," it is a 30-second trial that resets.

Your files leave your machine. This is the part nobody mentions. When you drag a contract, a payslip, a signed NDA, or a medical form into a web PDF tool, that file gets uploaded to a server you do not control. The reputable ones delete it after an hour. You are still trusting a stranger's infrastructure with documents that, by definition, are the sensitive ones - otherwise you would not be editing them in private.

For a one-off, fine. For anything recurring, both of those are a slow tax on your time and your privacy.

What Stirling-PDF is

It is a single web app you run yourself that does nearly everything the paid tools do:

  • Organize: merge, split, rotate, reorder, delete pages
  • Convert: PDF to/from images, Office docs, and back
  • OCR: make scanned PDFs searchable
  • Security: add/remove passwords, redact, sign, watermark
  • Optimize: compress, repair, flatten
  • Plus a REST API and no-code pipelines if you want to automate a recurring job

The important bit: it is stateless. There is no database to set up. Files are processed in memory or temp storage and removed immediately - nothing is stored, logged, or sent anywhere. (It only creates a small embedded file-based store if you turn on the optional login feature, and even then it is a local file, not a separate database server.)

MIT-licensed core, ~84k stars, actively maintained. This is not a weekend project that will disappear.

The cost math

Here is the comparison that made the decision for me. Prices observed June 2026, annual-billed where the vendor pushes it:

Tool Price The catch
Adobe Acrobat Pro $19.99/mo annual ($29.99 month-to-month) Most expensive; you are renting an editor for files you own
Adobe Acrobat Standard $14.99/mo annual Fewer tools than Pro
Smallpdf Pro ~$9-10/mo annual (~$108/yr) Free tier = 2 tasks/day
iLovePDF Premium ~€7/mo (~€4/mo annual) Web-only free tier, per-file caps
Stirling-PDF self-hosted $0 software + your hosting You run the server (Java, wants ~1-2GB RAM)

The software is free. The only real cost is the box you run it on. Two honest options:

Raw VPS - cheapest. A $4-5/mo Hetzner or DigitalOcean instance, Docker, and 20 minutes of setup. You own the updates, the reverse proxy, the SSL renewal, the OS patching. If that is your idea of a good time, this is genuinely the cheapest path and you should take it.

Managed pod - easiest. This is what I landed on. I deploy Stirling-PDF as a 1-click app on InstaPods, pick the Build plan ($7/mo), and it is online with HTTPS in about a minute. No Docker, no nginx, no certbot. It is a Java app so it needs more headroom than a $3 static pod, which is why it sits on the $7 tier rather than the cheapest one. New accounts get a $10 credit when you add a card, so the first month-plus is effectively covered.

Either way, you are out of the per-task paywall and your files stay on a server you control. Even the $7 managed option pays for itself the moment you would have hit a single Adobe Acrobat Pro month.

Where self-hosting is NOT the answer

I am not going to pretend this is free or zero-effort.

  • It is a server, not an app on your laptop. Something has to run it. Even the managed route is a recurring $7, not $0. If you edit a PDF twice a year, use the free Smallpdf tier and move on - self-hosting is for people doing this weekly.
  • OCR and big conversions eat RAM. Stirling-PDF idles light but ramps up during heavy OCR. Size your box accordingly; a 256MB toy instance will choke.
  • No mobile app. It is a web UI. Great on a desktop, fine on a phone browser, but there is no polished native app like the SaaS tools ship.

If none of those are dealbreakers, the math is lopsided in favor of self-hosting.

What I would tell past-me

If you touch PDFs more than a couple of times a month, and especially if those PDFs are the kind you would not want sitting on a stranger's server, run your own Stirling-PDF. The tooling caught up to Adobe years ago. The only thing standing between you and unlimited private PDF editing is one server, and that part is now a one-minute deploy.

I run mine for $7/mo and I have not seen a "you have used your 2 free tasks" banner since.


How do you handle PDFs right now - still paying a SaaS tool, self-hosting something, or just living with the free-tier limits? Curious whether anyone has found a lighter self-hosted option than Stirling-PDF, because the Java memory footprint is the one thing I would change.

Top comments (0)