Freedom251 › PDF Creation Software
WeasyPrint

What WeasyPrint is
WeasyPrint is free, open-source software for web developers creating PDF documents from HTML pages. Its Python library can render an HTML object to a PDF file, while its command-line interface includes PDF/A, PDF/UA, and PDF/X options. Sample document types include reports, invoices, tickets, books, letters, and posters. The documentation covers input from HTML, CSS, local files, URLs, file objects, HTML strings, raster images, and SVG, along with fillable form creation and API access. Installation instructions are available for Linux, macOS, and Windows. WeasyPrint can also be used as a Python library, and the documentation lists community-maintained Docker images and an AWS Lambda layer. Version 70.0 requires Python 3.10 or later and Pango 1.44 or later, among other dependencies. The default HTTP client does not support cookies or authentication, though a custom URL fetcher is available. The documentation also warns that untrusted HTML or CSS can cause security problems. Kozea develops WeasyPrint, and CourtBouillon offers professional support and consulting.
Who it suits
WeasyPrint suits web developers who need to generate PDF documents from HTML and CSS. It may also fit teams that want Python library use or deployments involving Docker or AWS Lambda.
What it does well
- Free and open source
- Python library and command-line interfaces
- Supports PDF/A, PDF/UA, and PDF/X options
- Available for Linux, macOS, and Windows
- Supports fillable form creation
What to know first
- Default HTTP client lacks cookie and authentication support
- Untrusted HTML or CSS may cause security problems
- Version 70.0 requires Python 3.10+ and Pango 1.44+
Plans
| Plan | Billed and limits | Price |
|---|---|---|
| Free and open source | Free and open source software | Free |
| Basic consulting | Annual billing; prices exclude taxes · 1 topic per month · Reply within 1 working day · Mail only · Not available in Canada and USA | €150 a year |
| Essential consulting | Annual billing; prices exclude taxes · 3 topics per month · Reply within 1 working day · Mail and 30-minute video call per topic · Not available in Canada and USA | €350 a year |
| Premium consulting | Annual billing; prices exclude taxes · 5 topics per month · Reply within 1 working day · Mail and 30-minute video call per topic · Not available in Canada and USA | €550 a year |
As weasyprint.org lists them, read 7 Oct 2026. The maker's own page has the final word.
Getting started
- Visit https://weasyprint.org/.
- Choose the installation instructions for Linux, macOS, or Windows, or use a self-hosted deployment.
- Check that your environment meets the Python 3.10 and Pango 1.44 requirements for version 70.0.
- Use the Python library or command-line interface to create PDFs.
- For support, choose a CourtBouillon consulting plan if one is available for your location.
Verdict
WeasyPrint offers a free route from HTML-based content to PDF, with library and command-line options. Review the dependency requirements and input-security warning before using it with untrusted content.
Questions
Is WeasyPrint free?
Yes. The Free and open source plan is free.
Which platforms does it support?
WeasyPrint lists API, Linux, macOS, self-hosted, and Windows platforms. Its documentation provides installation instructions for Linux, macOS, and Windows.
Can it create PDF/A, PDF/UA, or PDF/X documents?
Its command-line interface supports PDF options that include PDF/A, PDF/UA, and PDF/X variants.
What support plans are available?
CourtBouillon lists Basic consulting at €150 a year, Essential consulting at €350 a year, and Premium consulting at €550 a year. Prices exclude taxes, and the plans are not available in Canada and the USA.
Who created and maintains WeasyPrint?
Kozea created and develops WeasyPrint. CourtBouillon provides professional support, maintenance, and community management.
Can WeasyPrint access authenticated URLs by default?
No. Its default HTTP client does not support cookies or authentication, though a custom URL fetcher can be used.
Facts from WeasyPrint's own pages
- Creator and maintainer
- WeasyPrint was created and developed by Kozea, while CourtBouillon provides professional support, maintenance, and community management. · weasyprint.org, 7 Oct 2026
- Dependencies
- WeasyPrint 70.0 requires Python 3.10 or later and Pango 1.44 or later, among other dependencies. · doc.courtbouillon.org, 7 Oct 2026
- Integrations
- The documentation describes use as a Python library and lists community-maintained Docker images and an AWS Lambda layer. · doc.courtbouillon.org, 7 Oct 2026
- Intended users
- The maker describes WeasyPrint as a solution for web developers and shows document examples including statistical reports and invoices. · weasyprint.org, 7 Oct 2026
- Notable limit
- The default HTTP client does not support cookies or authentication, though a custom URL fetcher can be used. · doc.courtbouillon.org, 7 Oct 2026
- Output examples
- The maker shows reports, invoices, tickets, books, letters, and posters as sample documents. · weasyprint.org, 7 Oct 2026
- PDF options
- The command-line interface supports PDF variants including PDF/A, PDF/UA, and PDF/X options. · doc.courtbouillon.org, 7 Oct 2026
- Platform support
- The documentation gives installation instructions for Linux, macOS, and Windows. · doc.courtbouillon.org, 7 Oct 2026
- Purpose
- WeasyPrint is free and open source software that helps web developers create PDF documents from HTML pages. · weasyprint.org, 7 Oct 2026
- Python API
- The Python library can render an HTML object to a PDF file with HTML.write_pdf(). · doc.courtbouillon.org, 7 Oct 2026
- Security
- The documentation warns that using WeasyPrint with untrusted HTML or CSS may cause security problems. · doc.courtbouillon.org, 7 Oct 2026
- Support
- CourtBouillon offers professional assistance with WeasyPrint use, configuration, integration, bug fixes, new features, and templating. · weasyprint.org, 7 Oct 2026
Where WeasyPrint stands on Freedom251
- PDF Creation Software#17 of 46
- PDF SDKs#17 of 31