WeasyPrint

The Awesome Document Factory

WeasyPrint is a smart solution helping web developers to create PDF documents. It turns simple HTML pages into gorgeous:

  • Statistical reports
  • Invoices
  • Tickets
Statistical report
Statistical reports
Invoices report
Invoices
Tickets
Tickets

WeasyPrint is free and open source software that can be easily plugged to your applications and websites.

About

WeasyPrint has been created and developed by Kozea. Professional support, maintenance and community management is provided by CourtBouillon.

Get Involved

Use WeasyPrint

You are a web designer or a developer interested in trying WeasyPrint? Just follow the few steps given in the First steps section of the documentation.

Report Bugs

We are trying our best to provide stable and reliable versions of WeasyPrint. If you find a problem in the latest version, please open a new issue on GitHub … if nobody already did!

Improve Code & Documentation

WeasyPrint is free and open source software, meaning that you can improve it for yourself and for the others. Get the source! And even if you have no programming skills, you can help us improving the documentation.

Donate

If you want to see WeasyPrint grow and become even better, support us by providing a financial help. Let us drive the development of the features and improvements that matter to you!

Tell Us About You

Meeting our wonderful users is the best way to discover the real needs of companies, developers and final customers. Happy? Unhappy? Please let us know how we could provide you a better experience, or how useful WeasyPrint is in your daily life.

Samples

Reports

Report thumbnail

A small report with a table of contents, customized headers, different page layouts and nice typography features.

Invoices

Invoice thumbnail

A simple invoice with a delicate layout, tables and a nice footer.

Tickets

Ticket thumbnail

A ticket with a barcode, with just 50 lines of HTML and 150 lines of CSS.

Books

Book thumbnail

A full book with a nice cover, a simple table of contents and running elements. Comes with an alternate stylesheet.

Letters

Letter thumbnail

A letter with a nice coupon made of form inputs, that also renders nicely in a browser.

Posters

Poster thumbnail

A poster mainly composed of images fitting in one page, with an alternate stylesheet used to generate a flyer.