Gotenberg
A Docker-powered stateless API for PDF generation. Convert HTML, Markdown, Office documents, and more into PDF using Chromium and LibreOffice engines.
What You Can Do After Deployment
- Convert HTML to PDF — send HTML content or a URL and receive a PDF file
- Convert Office documents — transform Word, Excel, PowerPoint files into PDF via LibreOffice
- Merge PDFs — combine multiple PDF files into a single document
- Take screenshots — capture web pages as PNG or JPEG images
- Use webhooks — receive conversion results asynchronously via callback URLs
Key Features
- Chromium engine for HTML, Markdown, and URL to PDF conversion
- LibreOffice engine for Office document conversion (Word, Excel, PowerPoint, ODT, ODS, etc.)
- PDF merging and manipulation
- Screenshot capture (PNG, JPEG)
- Webhook support for async processing
- Health check endpoint at
/health
- Horizontal scaling — fully stateless, no storage needed
- Configurable timeouts, page size, margins, and print options
License
MIT — GitHub