selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Gotenberg logo

Self-host Gotenberg

v9.4.0

API that turns documents and web pages into PDFs

ReleaseOpen SourceMIT
docker run --rm -p "3000:3000" gotenberg/gotenberg:8
Updated4 hours ago
LanguageGo
Setup difficultyEasy
Stars
13 555
CPU
0.2 CPU
RAM
512Mi
Port
3000 (Gotenberg HTTP API listens here by default)
Docker
gotenberg/gotenberg

What is Gotenberg?

Gotenberg is an HTTP API, distributed as a Docker image, that turns documents and web pages into PDFs — aimed at developers who would rather not administer Chromium, LibreOffice or font stacks themselves. Clients post files as multipart/form-data and receive a PDF back: URLs, HTML and Markdown render through headless Chromium, while Word, Excel, PowerPoint and more than 100 other office formats go through LibreOffice. Beyond conversion it edits PDFs with QPDF, pdfcpu, PDFtk, UNO and ExifTool behind one unified route set — merging, splitting, rotating, flattening, watermarking, stamping, password encryption, metadata and bookmark reading/writing, PDF/A and PDF/UA output, and Factur-X / ZUGFeRD e-invoices. Inputs can be fetched from and results pushed to cloud storage through presigned URLs with webhook notifications, and the API offers optional basic-auth or OIDC bearer tokens plus TLS. Deployment is a single docker command on port 3000; slimmer chromium-only and libreoffice-only variants and Kubernetes, Cloud Run and AWS Lambda guides are documented. MIT-licensed, maintained by Julien Neuhart.

Gotenberg alternatives

Should you self-host Gotenberg?

Gotenberg scores 76/100 on selfhost.directory (how scoring works) and ranks #3 of 12 in Document Processing. It has 13 555 GitHub stars, +317 in the last 30 days.

It shipped 22 stable releases in the past year. The latest, v9.4.0, came out on 10 November 2026. New versions land roughly every 9 days.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is MIT-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is Resume-Matcher (81/100, 29 231 stars). It scores higher overall, so compare the two before you pick. See Gotenberg vs Resume-Matcher side by side.

Features

  • API authentication (basic auth / OIDC)
  • Direct download/upload from cloud storage
  • Factur-X / ZUGFeRD e-invoicing
  • Office document to PDF conversion
  • Outbound URL filtering
  • PDF/A and PDF/UA conversion
  • PDF merge and split
  • PDF metadata and bookmarks read/write
  • PDF watermark, stamp and encryption
  • REST API with multipart/form-data
  • Screenshot Capture
  • TLS/HTTPS Support
  • URL, HTML and Markdown to PDF conversion
  • Webhooks and async processing

Gotenberg README

Gotenberg Logo

Gotenberg

A Docker-based API for PDF

Total downloads (gotenberg/gotenberg) Continuous Integration Go Reference

gotenberg%2Fgotenberg | Trendshift

How to install Gotenberg

Install Gotenberg with Docker

docker run --rm -p "3000:3000" gotenberg/gotenberg:8

Lighter variants: gotenberg/gotenberg:8-chromium and gotenberg/gotenberg:8-libreoffice.

How to configure Gotenberg

  • GOTENBERG_HIDE_BANNERfalseHide the banner.
  • GOTENBERG_GRACEFUL_SHUTDOWN_DURATION30sSet the graceful shutdown duration.
  • API_PORT3000Set the port on which the API should listen.
  • API_PORT_FROM_ENVSet the environment variable with the port on which the API should listen - override the default port.
  • API_BIND_IP0.0.0.0Set the IP address the API should bind to for incoming connections.

Gotenberg releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Document Processing

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…