Software Alternatives & Reviews

Tcpdf VS wkhtmltopdf

Compare Tcpdf VS wkhtmltopdf and see what are their differences

Tcpdf logo Tcpdf

TCPDF: Open Source PHP Class for generating PDF documents

wkhtmltopdf logo wkhtmltopdf

wkhtmltopdf is an open source (LGPL) command line tools to render HTML into PDF and various image...
  • Tcpdf Landing page
    Landing page //
    2022-07-04
  • wkhtmltopdf Landing page
    Landing page //
    2021-10-21

Tcpdf videos

Make PDF report in PHP with TCPDF | TCPDF Tutorial #1

wkhtmltopdf videos

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

Category Popularity

0-100% (relative to Tcpdf and wkhtmltopdf)
HTML To PDF
45 45%
55% 55
PDF Tools
45 45%
55% 55
PDF Conversion API
41 41%
59% 59
Word
100 100%
0% 0

User comments

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

Social recommendations and mentions

Based on our record, wkhtmltopdf should be more popular than Tcpdf. It has been mentiond 33 times since March 2021. 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.

Tcpdf mentions (10)

  • PostScript’s Sudden Death in Sonoma
    TCPDF has full support for rendering an EPS into a PDF. It can be fussy. https://tcpdf.org/. - Source: Hacker News / 7 months ago
  • Python to what?
    Idk what’s the big problem. Maybe it’s just something like https://tcpdf.org ? Using that for years. Source: about 1 year ago
  • pdf generation
    Running a headless browser to render HTML is a resource intensive task. If you only need to generate simple documents, you're better off using a tool that generates PDF directly. In the old days we used FPDF and its successors (TCPDF was the most popular). Both seem to have recent releases. There's also mPDF , that seems to be another child of FPDF. Source: about 1 year ago
  • Create PDF from Excel.
    You may want to look at a PDF library (Python/PHP/Perl/Java, etc.) You can do all you mention with a lot of flexibility. Tcpdf comes immediately to mind, there is also a Python port. If you want to learn a language, I recommend python. Learning how to make a basic program when it is something that you want, and you know what you want is a great way to learn. Source: over 1 year ago
  • How to insert MYSQL data in allredy prepared PDF document
    The original site still has it available for download, but most importantly, a ton of examples and documentation, that while I haven't tried the github version, probably works based on the same as the old. Source: almost 2 years ago
View more

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 / 3 months 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 / 4 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 / 5 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 / 6 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 / 8 months ago
View more

What are some alternatives?

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

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

WeasyPrint - WeasyPrint is a visual rendering engine for HTML and CSS that can export to PDF.

HTML PDF API - Easily generate PDF documents from HTML code with our powerful API

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!

HTML2PDF.fr - HTML2PDF is a HTML to PDF converter that allows the conversion of valid HTML 4.

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.