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

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
- Open source under LGPLv3 license
- Runs without a display or display service
- Offers command-line tools and a C library
wkhtmltopdf at a glance
- Website
- wkhtmltopdf.org
- Category
- Online Tools › PDF & Document Tools
- 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
Guides for PDF & Document Tools

wkhtmltopdf alternatives
Tools and sites you could use instead, ranked by how closely they match.
For Windows and Linux, PDF4QT offers an open-source editor and reader, rendering tools, desktop applications, command-line tools, and a C++ library.
Turn web pages into PDF, EPUB, HTML, or Markdown documents with Percollate, a command-line tool.
Search PDF text from the command line with pdfgrep, which supports GNU grep-style options such as recursive and case-insensitive search.
An open-source toolkit for Windows and Linux, PDF4QT combines desktop apps, command-line tools, and a C++/Qt engine for PDF work.
Popular in PDF & Document Tools
Well-known listings from the same topic.
wkhtmltopdf FAQ
How do I use wkhtmltopdf?
Does it need a display to run?
Is there a library version?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.








