Open-source PDF tools cover generating, merging, splitting, rendering, editing and securing PDF files without per-document SaaS fees. Developers usually need either a library for their language or a self-hosted service they can call over HTTP.
This page lists nine maintained projects, grouped by what they do best: a self-hosted editor (Stirling-PDF), a viewer (PDF.js), libraries for Java, Python, JavaScript and Go, an HTML-to-PDF API (Gotenberg) and a command-line transformer (QPDF). Licences were read from each repository.
Tools, licences and pricing checked against vendor and repository pages on November 7, 2026.
What to look for
•Language and runtime fit: Java, Python, JavaScript, Go or CLI
•Generate vs manipulate vs render: tools rarely do all three
•Licence compatibility with your product (permissive vs copyleft)
•Server vs browser: client-side generation avoids uploading files
•Handling of encryption, forms and digital signatures
Best for: Self-hosted PDF editing UI and API · Free MIT-licensed core (self-hosted); paid Server and Enterprise plans - see vendor pricing
Stirling-PDF is an open-core PDF editing platform with a web UI and API you can self-host. The core is MIT licensed while proprietary directories and paid enterprise features exist.
Best for: CLI PDF restructuring and encryption · Free, open source
QPDF is a command-line tool and C++ library for structural PDF transformations such as linearization, encryption, splitting and merging. It does not render PDFs or extract text.