Software Alternatives & Reviews

wkhtmltopdf VS WeasyPrint

Compare wkhtmltopdf VS WeasyPrint and see what are their differences

wkhtmltopdf

wkhtmltopdf is an open source (LGPL) command line tools to render HTML into PDF and various image...

WeasyPrint

WeasyPrint is a visual rendering engine for HTML and CSS that can export to PDF.
  • wkhtmltopdf Landing page
    Landing page //
    2021-10-21
  • WeasyPrint Landing page
    Landing page //
    2023-10-09

wkhtmltopdf

Categories
  • HTML To PDF
  • PDF Conversion API
  • PDF Tools
  • PDF Creator
Website wkhtmltopdf.org  
Details $

WeasyPrint

Categories
  • HTML To PDF
  • PDF Conversion API
  • PDF Tools
  • PDF Creator
Website weasyprint.org  
Details $

wkhtmltopdf videos

✔️ Como instalar wkhtmltopdf ubuntu (compatible con cualquier odoo 11) Facil y rapido 2018

WeasyPrint videos

No WeasyPrint videos yet. You could help us improve this page by suggesting one.

+ Add video

Category Popularity

0-100% (relative to wkhtmltopdf and WeasyPrint)
HTML To PDF
70 70%
30% 30
PDF Conversion API
72 72%
28% 28
PDF Tools
70 70%
30% 30
PDF Creator
69 69%
31% 31

User comments

Share your experience with using wkhtmltopdf and WeasyPrint. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

wkhtmltopdf might be a bit more popular than WeasyPrint. We know about 33 links to it since March 2021 and only 27 links to WeasyPrint. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

wkhtmltopdf mentions (33)

  • Htmldocs: Typeset and Generate PDFs with HTML/CSS
    Wkhtmltopdf[1] uses the QT WebKit renderer. I used it as part of my job hut work-flow with pandoc to get pdf resumes from markdown. It got me a job, so there's that. [1] https://wkhtmltopdf.org/. - Source: Hacker News / about 1 month ago
  • HexaPDF: Versatile PDF creation and manipulation library in Ruby
    I've been using WkhtmlToPdf all this while, so this seems a better option to try since it's pure Ruby. https://wkhtmltopdf.org/. - Source: Hacker News / about 2 months ago
  • Show HN: Generate pdf with gitbook or mdbook url
    In 2014 we used wkhtmltopdf[0] to generate PDF copies of Cloudfoundry docs for every version every release, and maybe that's what I'd reach for now. Not sure if Qt WebKit has similar limits as Chromium. Not that you asked, but I am sitting here silently judging whoever let those pages get that large. Enough html to cap out RAM? Chesterton's Fence dictates that I presume your upstream's hands were tied, but wowee!... - Source: Hacker News / 4 months ago
  • Writerside – a new technical writing environment from JetBrains
    In most cases no, AsciiDoctor-PDF converter uses the Ruby library PDF library Prawn to generate PDFs, However, there are alternative PDF converters which do convert from HTML (the VSC AsciiDoctor plug-in allows the option to use a different converter), but I don't think they use chrome. Please note that using different pdf converters is a bit of an advanced topic. https://wkhtmltopdf.org/, and asciidoctor-web-pdf. - Source: Hacker News / 4 months ago
  • Generate invoice PDF file using HTML template
    There are multiple options for how to convert HTML to PDF, one could be by using open-source projects like Puppeteer or wkhtmltopdf. I wrote a separate post How to convert HTML to PDF using Puppeteer, but now for simplicity, I going to use html2pdf.app. Its free plan gives 100 credits per month, excellent! - Source: dev.to / 6 months ago
View more

WeasyPrint mentions (27)

  • Show HN: A new open-source library to design PDF using React
    Thanks for your answer! I imagined you would be using PrinceXML behind the scenes since that is probably the gold standard in HTML+CSS rendering. The only open source alternative I know of is WeasyPrint at https://weasyprint.org/. I'm not sure how well it fares against PrinceXML, though. And thanks for the pointer to Taffy - I didn't know it before! - Source: Hacker News / 11 days ago
  • Htmldocs: Typeset and Generate PDFs with HTML/CSS
    Some people might be interested in https://weasyprint.org/. - Source: Hacker News / about 1 month ago
  • Ask HN: What's the best way to write a book in Markdown?
    I use Weasyprint [1] to generate a PDF from HTML, and I use a static site generator to convert Markdown to HTML. Weasyprint can handle code highlighting e.g. Using Pygments or another static framework, the only downside is it can't execute JS so if you e.g. Want to dynamically generate content to render you need to first pass your HTML through a headless browser, which is also possible though. There's also... - Source: Hacker News / 4 months ago
  • Show HN: Invoice Dragon – An Open Source App to Create PDF Invoices for Free
    For Python there is Weasyprint: you prepare the invoice as an HTML document, and Weasyprint turns it into a PDF https://weasyprint.org/. - Source: Hacker News / 7 months ago
  • The Gemini protocol seen by this HTTP client person (curl dev)
    Well yes, but you can implement HTML+CSS. WeasyPrint did from scratch, and independent implementations of HTML+CSS are considerably more numerous than HTML+CSS+JS. Source: 9 months ago
View more

What are some alternatives?

When comparing wkhtmltopdf and WeasyPrint, you can also consider the following products

PDF my URL - PDFmyURL turns any webpage or even complete website into PDF. Use our rest API in PHP, .NET, Ruby, Perl or any other programming language. Or convert webpages or even full websites directly in the browser!

DocRaptor - As the only API powered by the Prince HTML-to-PDF engine, DocRaptor provides the best support for complex PDFs with powerful support for headers, page breaks, page numbers, flexbox, watermarks, accessible PDFs, and much more

PDFShift - Convert any HTML documents to high-fidelity PDF using a single POST request

Prince XML - Convert HTML documents to PDF. Beautiful printing with CSS.

Tcpdf - TCPDF: Open Source PHP Class for generating PDF documents

pdflayer - Free, powerful HTML to PDF API supporting both URL and raw HTML conversion. Unlimited document size, lightning-fast and compatible PHP, Python, Ruby, etc.