Gotenberg
Document API · Free
A Docker API for converting documents to PDF: Chromium and LibreOffice process HTML, web pages, and office files for reports in your own app.

What you can use for free
The open source component used locally or self-hosted for the stated workflow, within its license terms.
Paid features and costs
Your own server, external APIs, and compute; managed cloud hosting, support, and additional commercial features if selected.
Access and limitations
Code licensing and hosting costs are separate matters. Check the conditions for the specific version and edition.
Use cases
- Generate a PDF report through an API
- Send a document through the multipart API and check the pages of the resulting PDF
Example workflow
A possible workflow; this is not a report of hands-on testing.
Generate a PDF report through an API
Before you start
- A test HTML report with fonts and images.
- A test project and completion criteria for the task: Generate a PDF report through an API.
Steps
- Set up Gotenberg to test: A test HTML report with fonts and images.
- Send a document through the multipart API and check the pages of the resulting PDF.
- Integrate the checked version into your project; document its configuration, limitations, and recovery method.
Check your result
- Line breaks, fonts, and images are preserved; input URLs and files are limited by server rules.
- Check the result against a reference example; separately confirm the terms of any assets and external services used.
Choosing Gotenberg
Generate a PDF report through an API
Choose this when
- Generate a PDF report through an API
- Send a document through the multipart API and check the pages of the resulting PDF
Requirements
- The illustrated quick start runs in Docker; the client sends HTTP multipart/form-data.
Things to consider
- Costs and limits of free use: Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected.
- Terms of use: MIT
Frequently asked questions
What can you use for free in Gotenberg?
The openly available portion, used locally or self-hosted for the stated use case within its license terms.
What additional costs might arise with Gotenberg?
Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected.
What terms of use matter for Gotenberg?
MIT
How do you get started with Gotenberg?
Set up Gotenberg to test: A test HTML report with fonts and images. Send a document through the multipart API and check the pages of the resulting PDF. Integrate the checked version into your project; document its configuration, limitations, and recovery method.
Can the API perform operations on an existing PDF?
Beyond HTML/URL/Markdown through Chromium and Office through LibreOffice, the README lists merge, split, rotate, flatten, watermark, stamp, encrypt, and metadata/bookmark operations. Files are sent as multipart/form-data, with a PDF as the result; the quick start launches a Docker API and a POST URL conversion.
License
MIT
MIT — permissive license
You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.
License termsTechnologies and topics
- Gotenberg
- Document API