Back to directory
gotenberg avatar

gotenberg

A developer-friendly API for converting many document formats into PDF files, and more!. Read more below about its uses, features, and usage.

Clone repository

git clone https://github.com/gotenberg/gotenberg.git

12,987

Stars

850

Forks

77

Watchers

MIT

License

Gotenberg Logo

Gotenberg

A Docker-based API for converting documents to PDF

Total downloads (gotenberg/gotenberg) Continuous Integration Go Reference

gotenberg%2Fgotenberg | Trendshift

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

Releases

Aug 14, 2026

8.36.0

Download .zip

Security Fixes ⚠️

Filter WebSocket handshakes against the outbound policy. Chromium could open WebSocket connections to hosts the SSRF policy otherwise blocks.

New Features

OIDC bearer token authen...

Aug 7, 2026

8.35.0

Download .zip

Security Fixes ⚠️

Sanitize the Gotenberg-Output-Filename header. filepath.Base ignores \ on Linux, so a crafted header reached archive entry names on splitMode conversions, giving a Windows-side Zip...

Jun 12, 2026

8.34.0

Download .zip

Security Fixes ⚠️

Block content linked from untrusted locations in LibreOffice. An uploaded document could reference external (http(s)://) or local (file:///…) resources that LibreOffice resolved dur...

May 29, 2026

8.33.0

Download .zip

Security Fixes ⚠️

Block IPv6 prefixes that tunnel to internal IPv4 in IsPublicIP. ::ffff:10.0.0.1, 2002:c0a8:: (6to4), and 2001::/32 (Teredo) embed an internal IPv4 destination inside an IPv6 address...

Apr 30, 2026

8.32.0

Download .zip

Security Fixes ⚠️

Reverted SSRF defaults (breaking vs 8.31.0). 8.31.0 blocked private-IP destinations by default, which broke deployments running Gotenberg inside a private network. 8.32.0 restores...