
Edit, convert, and transform documents across PDFs, Office formats, HTML, TXT, CSV, RTF, JSON, and i
Edit, convert, and transform documents across PDFs, Office formats, HTML, TXT, CSV, RTF, JSON, and i
Part of the KDAN ecosystem, ComPDF Self-Hosted offers PDF editing and document conversion, helping teams process PDFs, Office files, and images securely in private Docker deployments.
- If you find ComPDF Self-Hosted useful, please consider giving us a ⭐ Star on GitHub. It helps us grow and improve.
- Got questions or ideas? Join the conversation in our Discussions.
Features •
Quick Start • Architecture • Upgrade to Enterprise • support • License • Enterprise →
Unlike traditional SDKs that require deep integration, ComPDF Self-Hosted is a ready-to-deploy open-source PDF processing platform. It combines PDF editing and conversion capabilities, while also supporting image format conversion—covering the full spectrum from documents to images. This enables enterprises to quickly establish a fully controllable, self-owned document center.
Whether you're building an internal document platform, document automation workflow, or enterprise PDF service, ComPDF Self-Hosted helps you get started in minutes.
ComPDF Self-Hosted provides a ready-to-use open source PDF editor, open source PDF converter, and open source image converter center directly accessible through a browser.
| Category | Features |
|---|---|
| PDF Editing | Merge PDF, Split PDF, Rotate PDF, Insert Pages, Delete Pages, Extract Pages, Add Watermark, Remove Watermark, Encrypt PDF, Decrypt PDF |
| PDF to Others | PDF to Word, PDF to Excel, PDF to Slide, PDF to Image (PNG, JPG, JPEG, JPEG2000, BMP, TIFF, TGA, GIF, WEBP), PDF to HTML, PDF to TXT, PDF to CSV, PDF to RTF, PDF to JSON, PDF to SearchablePDF, PDF to OFD, PDF to Markdown, PDF To PDF/A |
| Others to PDF | Word to PDF, Excel to PDF, Slide to PDF, HTML to PDF, TXT to PDF, CSV to PDF, RTF to PDF, PNG to PDF |
| Image to Others | Image to Word, Image to Excel, Image to Slide, Image to HTML, Image to CSV, Image to TXT, Image to RTF, Images to JSON, Images to PDF |
ComPDF Self-Hosted provides a unified management console for viewing API Key details, API usage, and License status, as well as supporting operation log auditing, account management, and core system configuration.
Overview Panel: Displays API Key details, API usage statistics, License scope, and usage status.
Operation Logs: Track, search, and export all the operation logs.
Account Management: Set the username and password.
System Settings: Set the name, logo, and theme color of the system.
git clone https://github.com/ComPDF/compdf-self-hosted.git
cd compdf-self-hostedcp .env.example .env.env includes a free License by default for local development, feature
evaluation, and API verification. Docker Compose automatically loads .env
from the project directory.
docker compose up -dComPDF Web: http://localhost:8080/
Dashboard: http://localhost:8080/adminThe dashboard ships with a default administrator account on first deployment:
admin / admin.
To use an Enterprise license, replace COMPDF_LICENSE_KEY in .env with the
issued License Key. Restart the services after updating the License Key.
Apply for the Enterprise version to obtain the following benefits:
Development uses Docker for the infra and SDK services, while the server and Web UI can run locally for hot reload.
Start the development stack:
docker compose -f docker-compose.dev.yml up -d --build compdf-infra compdf-app compdf-serverOpen ComPDF Web and Dashboard:
cd frontend/compdf-web
npm install
npm run devDevelopment URLs:
ComPDF Web: http://localhost:5173/
Dashboard: http://localhost:5173/admin
Server API: http://localhost:8080/api/v1/You can also view the Documentation.
docker compose -f docker-compose.dev.yml ps
docker compose -f docker-compose.dev.yml logs -f compdf-infra compdf-appThe production deployment stores persistent data in Docker volumes and mounts ./configs into the server container.
Keep this path when you have changed the local source code and need to package a new production compdf-server image from the root Dockerfile. The Dockerfile builds ComPDF Web and Dashboard from frontend/compdf-web, copies the static assets into /app/public/compdf-web, builds the server, and serves pages and APIs together on port 8080.
docker compose -f docker-compose.yml up -d --build compdf-infra compdf-app compdf-serverAll features above come with ComPDF — check them out here.
…In local development, compdf-infra, compdf-app, and compdf-server all run
through docker-compose.dev.yml so the service-to-service connections stay
consistent with the deployment topology.
Contact sales to update to the Enterprise Edition.
| Feature | Free Edition | Enterprise |
|---|---|---|
| PDF Editing | ✅ | ✅ |
| PDF Conversion | ✅ | ✅ |
| Web UI | ✅ | ✅ |
| Dashboard | ✅ | ✅ |
| Watermark-Free Output | ❌ | ✅ |
| Unlimited Pages | ❌ | ✅ |
| Custom Concurrency | ❌ | ✅ |
| Commercial License | ❌ | ✅ |
| Technical Support | ❌ | ✅ |
SDK Documentation: https://www.compdf.com/guides/pdf-sdk/self-hosted-deployment/overview
API Reference: https://www.compdf.com/guides/pdf-sdk/self-hosted-deployment/api-reference-conversion
Have suggestions? Start a discussion. If you find ComPDF Self-Hosted useful, please consider giving us a ⭐ Star on GitHub. It helps us grow and improve.
This project is licensed under the MIT License. See the LICENSE file for details.
Contact Sales for the Commercial / Enterprise licenses for ComPDF Self-Hosted.
Built by the ComPDF team.
Website · Docs · Enterprise Inquiries
No open issues yet, or sync has not completed.