wkhtmltopdf

Render HTML as PDF or image files with wkhtmltopdf, an open-source command-line tool using Qt WebKit without a display service.

wkhtmltopdf.org
wkhtmltopdf homepage screenshot

About wkhtmltopdf

wkhtmltopdf and wkhtmltoimage are command-line tools that render HTML into PDF and various image formats using the Qt WebKit rendering engine. They run headless and do not require a display or display service.

Use involves downloading a precompiled binary or building from source, then processing an HTML document or URL, with command-line options including table of contents generation. A C library version is also available.

Key features

  • Render HTML files or URLs into PDF documents
  • Convert HTML to image formats with wkhtmltoimage
  • Run headless without display or display service
  • Generate table of contents through command-line options
  • Install via precompiled binary or build from source
  • Use C library version for programmatic use
Best for: People comfortable with the command line who need to turn HTML into PDF or image files.
Good for
  • Open source under LGPLv3 license
  • Runs without a display or display service
  • Offers command-line tools and a C library

wkhtmltopdf at a glance

Type
Online tool
Pricing
Not confirmed. Check the site
Platforms
Web
Open source
Not stated
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

wkhtmltopdf alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 4 alternatives

PDF4QT

jakubmelka.github.io

For Windows and Linux, PDF4QT offers an open-source editor and reader, rendering tools, desktop applications, command-line tools, and a C++ library.

Popular in PDF & Document Tools

Well-known listings from the same topic.

All 61

wkhtmltopdf FAQ

How do I use wkhtmltopdf?
Download a precompiled binary or build from source, create your HTML document, then run it through the tool, for example: wkhtmltopdf http://google.com google.pdf.
Does it need a display to run?
No. It runs headless and does not require a display or display service.
Is there a library version?
Yes. A C library version is available for programmatic use.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing