Alternatives to WeasyPrint

A command-line tool and Python library that turns HTML and CSS documents into PDF files. The listings below can replace it for an important use case. Each note says what changes if you switch.

The original

Replacements

Listings that take over the same core job as WeasyPrint.

  • Gotenberg

    Self-hosted Docker API that converts web pages, Markdown and Office documents into PDF files.

    Gotenberg is a self-hosted Docker API bundling Chromium and LibreOffice, so it runs JavaScript and also converts Office files and Markdown, unlike WeasyPrint's Python library.

Similar software

Related functionality, not a direct replacement.