mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-07-02 00:17:40 +08:00
53c2f97008e926a68bf96d72ec5dbe9ef0602021
Gotenberg
A Docker-based API for converting documents to PDF
Documentation · Live Demo · Community
Gotenberg is a Docker-based API for converting documents to PDF. Trusted in production by thousands of companies. Also adopted by notable open-source projects.
Send your files via multipart/form-data, get a PDF back. No need to manage Chromium, LibreOffice, or fonts yourself.
Quick Start
docker run --rm -p 3000:3000 gotenberg/gotenberg:8
Convert a URL to PDF:
curl \
--request POST http://localhost:3000/forms/chromium/convert/url \
--form url=https://sparksuite.github.io/simple-html-invoice-template/ \
-o invoice.pdf
Features
- HTML, URL, Markdown to PDF via Headless Chromium
- Office documents to PDF via LibreOffice (100+ formats)
- Merge, split, rotate, flatten PDFs
- Watermark, stamp, encrypt PDFs
- PDF/A and PDF/UA compliance
- Screenshots of URLs and HTML
- Read/write metadata and bookmarks
See the full documentation.
Contributing
Questions and feedback: GitHub Discussions. Bug reports: GitHub Issues.
Sponsors
If Gotenberg powers your workflow or your business, consider becoming a sponsor.
Historic & GitHub Sponsors
Powered By
Description
A developer-friendly API for converting numerous document formats into PDF files, and more!
apichromechromiumconvert-to-pdfdockerdocx-to-pdfexcelexiftoolhtml-to-pdflibreofficeopenofficepdfpdf-converterpdftkpuppeteerqpdfscreenshotsunoconvwkhtmltopdfword
Readme
MIT
66 MiB
Languages
Go
60.6%
Gherkin
34.9%
Bru
1.7%
Dockerfile
1.4%
Shell
1%
Other
0.4%
