wkhtmltopdf
Open source command line tools rendering HTML to PDF and images
wkhtmltopdf and wkhtmltoimage are open source command line tools that convert HTML documents into PDFs and image formats. They run headless, so no display or display service is needed, making them suitable for server-side document generation tasks such as producing invoices or other HTML-based output.
The tools use the Qt WebKit rendering engine and accept command line options for controlling output, including features such as table of contents generation. A C library is also available for integration into applications. Precompiled binaries and source builds are provided for download, along with documentation for the command line tools and the library.
wkhtmltopdf is licensed under LGPLv3 and is intended for developers and system administrators who need to convert HTML to PDF or images from scripts, applications, or automated workflows.
12 alternatives to wkhtmltopdf
Ranked by how well each tool replaces wkhtmltopdf: shared features, audience, price and popularity.
Command line tool and library for transferring data with URLs.
Covers 4 of 7 key features and has a free plan.
Free planOpen source60 out of 100 matchFreePDF generation for applications, websites, automations, and one-time conversions
Covers 3 of 7 key features and has a free plan.
Free plan58 out of 100 matchContact salesHTML to PDF API with an API for you and an MCP for your agent
Covers 3 of 7 key features and has a free plan.
Free plan58 out of 100 matchFreeHTML to PDF API for developers + 24 free PDF tools. Create templates, preview live, render
Covers 2 of 7 key features and has a free plan.
Free plan56 out of 100 match$29/moTransform HTML and CSS into stunning images and PDFs. The most powerful document generatio
Covers 2 of 7 key features and has a free plan.
Free plan55 out of 100 match$9.17/mo- 54 out of 100 match$10.90/mo
Transform HTML/CSS to PNG, JPG & PDF | 99.99% Uptime
Covers 0 of 7 key features and has a free plan.
Free plan54 out of 100 match$9.17/moHTML to image API for automation workflows
Covers 3 of 7 key features and has a free plan.
Free plan54 out of 100 match$9/moConvert any document to PDF with a single API call.
Covers 2 of 7 key features and has a free plan.
Free plan54 out of 100 matchContact salesEasy web service to convert HTML to PDF.
Covers 1 of 7 key features and has a free plan.
Free plan53 out of 100 match$5/mo- 53 out of 100 match$9/mo
- 53 out of 100 matchContact sales