Compare WeasyPrint vs WKHTMLToPDF and see what are their differences.


Convert HTML to PDF using Webkit (QtWebKit) (by wkhtmltopdf)
Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • SaaSHub - Software Alternatives and Reviews
8 43
4,961 12,213
1.9% 1.3%
9.7 3.5
6 days ago 12 days ago
Python C++
BSD 3-clause "New" or "Revised" License GNU Lesser General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of WeasyPrint. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-06.


Posts with mentions or reviews of WKHTMLToPDF. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-24.

What are some alternatives?

When comparing WeasyPrint and WKHTMLToPDF you can also consider the following projects:

Dompdf - HTML to PDF converter for PHP

TCPDF - Official clone of PHP library to generate PDF documents and barcodes


PyPDF2 - A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files

DinkToPdf - C# .NET Core wrapper for wkhtmltopdf library that uses Webkit engine to convert HTML pages to PDF.

Snappy - PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage

puppeteer - Headless Chrome Node.js API

mPDF - PHP library generating PDF files from UTF-8 encoded HTML

PDFMiner - Python PDF Parser (Not actively maintained). Check out pdfminer.six.

pagedjs - Display paginated content in the browser and generate print books using web technology

PHPJasper - A PHP report generator

PHPPdf - Pdf and graphic files generator library written in php