Stack Gems
Menu
← Catalog

Gotenberg

MIT Docker API that turns HTML and Office files into PDFs

DevOps / Documents · OSS/MIT · 13.3k

Reviewed 2026-10-17 · last push 2026-10-16 · repo checked 2026-10-19

What's Good

MIT (gotenberg/gotenberg), release v8.38.1 (2026-10-15), running since 2018. HTML, URL and Markdown go through headless Chromium; Office files go through LibreOffice, which covers 100+ formats. It can also merge, split, rotate, flatten, watermark, stamp and encrypt PDFs, produce PDF/A and PDF/UA, and take screenshots of pages. docker run -p 3000:3000 gotenberg/gotenberg:8 is the whole install, and any language that can send an HTTP request can use it. ★~13.3k.

The Catch

It converts to PDF, not from it: it won't turn a PDF back into Word or text. It is a service you run next to your app, not a library you import, so you deploy, scale and secure the container yourself, and the bundled Chromium and LibreOffice make it a heavy image. Keep it off the public internet: its URL route fetches whatever address it is sent.

Verdict

The default way to add HTML or Office-to-PDF to any backend — keep it on your private network.

Embed

Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.

Reviewed on Stack Gems

Markdown

[![Reviewed on Stack Gems](https://stackgems.com/badge/gotenberg.svg)](https://stackgems.com/gems/gotenberg)

HTML

<a href="https://stackgems.com/gems/gotenberg"><img src="https://stackgems.com/badge/gotenberg.svg" alt="Gotenberg reviewed on Stack Gems" height="20"></a>

Related

DevOps →