OpenSource-Hub
G

Gotenberg

12.0k stars·Developer Tools·SHA-256 checksum verified

Gotenberg is a Docker-powered API that turns documents into PDFs with a simple HTTP request. It uses Headless Chromium for HTML, URL, and Markdown conversion, and LibreOffice for over 100 office formats.

Smart Download

Visit Project Homepage

No installer available yet — head to the source repository

Docker-based PDF conversion API — send files, get PDFs, no local setup.

Core Features

  • HTML, URL, Markdown to PDF via Chromium
  • Office documents (Word, Excel, PPT, etc.) to PDF via LibreOffice (100+ formats)
  • PDF merge, split, rotate, flatten
  • Watermark, stamp, encrypt PDFs
  • PDF/A and PDF/UA compliance

What It Can't Do

  • Ensure Docker container has enough memory (≥2GB) for large documents (e.g., 100+ page Office files).
  • Default binds to 0.0.0.0:3000; use firewall or reverse proxy in production.
  • LibreOffice may not perfectly render complex Chinese Office files (special fonts, text boxes); test thoroughly.
  • Keep the image updated to avoid security vulnerabilities.

Use Cases

  • Automated invoice/report/contract PDF generation
  • Online document preview (Office → PDF for browser view)
  • Web page archiving and screenshots
  • Batch PDF merging/splitting
  • PDF/A archiving compliance

Gotenberg is a Docker-powered API that turns documents into PDFs with a simple HTTP request. It uses Headless Chromium for HTML, URL, and Markdown conversion, and LibreOffice for over 100 office formats (Word, Excel, PowerPoint, etc.). Beyond basic conversion, it supports PDF merging, splitting, rotating, watermarking, stamping, encryption, and PDF/A/UA compliance. You can also take screenshots of web pages. No need to install or manage Chromium, LibreOffice, or fonts yourself—just run the Docker container and call the API. Trusted in production by thousands of companies and adopted by notable open-source projects.

Tags

dockerpdfdocument-conversionapichromiumlibreofficeheadless

Getting Started

1

Download installer

Click the button above to download the installer for your system

2

Install the software

Double-click the downloaded installer and follow the prompts

3

Step 1: Run Docker container: docker run --rm -p 3000:3000 gotenberg/gotenberg:8

4

Step 2: Convert a URL: curl --request POST http://localhost:3000/forms/chromium/convert/url --form url=https://example.com -o output.pdf

5

Step 3: Convert a local HTML file: curl --request POST http://localhost:3000/forms/chromium/convert/html --form files=@file.html -o output.pdf

Install Guide
  1. Step 1: Run Docker container: docker run --rm -p 3000:3000 gotenberg/gotenberg:8
  2. Step 2: Convert a URL: curl --request POST http://localhost:3000/forms/chromium/convert/url --form url=https://example.com -o output.pdf
  3. Step 3: Convert a local HTML file: curl --request POST http://localhost:3000/forms/chromium/convert/html --form files=@file.html -o output.pdf
File Integrity

Checksum not available

This project has not published a SHA-256 checksum on its GitHub Release page

SHA256 Checksum

No checksum available

Download directly from GitHub Releases and verify file integrity yourself

All SHA-256 checksums on this platform are extracted from the project's official GitHub Release page, without any modification. You can independently verify them on the GitHub Releases page.

Open Source Transparency

View GitHub Source
Environment Guide

Uninstall Info

Stop and remove the container: docker rm $(docker ps -a | grep gotenberg | awk '{print $1}') and optionally delete the image: docker rmi gotenberg/gotenberg:8

No Extra Dependencies

Ready to use after download. No additional runtime required.

Project Info
LicenseMIT
Last Updated2026-06-26 11:00:14
GitHub RepositoryOfficial Website

Having issues? Check the FAQ below

5 FAQs

Similar Projects