wkhtmltopdf/wkhtmltopdf
Convert HTML to PDF using Webkit (QtWebKit) observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 6235
- days_rel: n/a
- days_push: 1380
- n_releases_24m: 0
Adoption not part of the score
14572 stars · 1956 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
wkhtmltopdf and wkhtmltoimage are open-source (LGPLv3) command line tools that render HTML into PDF and various image formats using the Qt WebKit engine, running entirely headless without a display. A C library (libwkhtmltox) with stable C bindings is also available for programmatic HTML-to-PDF/image conversion.
Use cases
- convert html page to pdf from command line
- generate invoices as pdf from html templates
- render a webpage screenshot as png or jpeg
- save a url as pdf headlessly on a server
- embed html-to-pdf conversion in an application via c library
- create printable reports from html
When to choose
- you need simple, headless HTML-to-PDF or HTML-to-image conversion from the command line
- you want a stable C API to integrate HTML rendering into your own application
- you need to generate PDFs from HTML templates without a browser or display service
When to avoid
- you need modern CSS/JavaScript support, since Qt WebKit is outdated and no longer matches current browsers
- you need an actively developed tool - the project is in maintenance with its last release in 2022
- you need pixel-perfect rendering of modern web apps - consider headless Chrome/Puppeteer instead
Facets
cli-tool · maturity maintenance
pdf image-processing cli pdf developer-tools web-development files windows cli cross-platform html-to-pdf webkit headless-rendering html-to-image qt-webkit libwkhtmltox linux macos
4 sources
- readme: https://github.com/wkhtmltopdf/wkhtmltopdf · fetched 2026-08-28 · e8a262e9ec1e
- homepage: https://wkhtmltopdf.org · fetched 2026-08-29 · 688f6f8474f0
- site_page: https://wkhtmltopdf.org/docs.html · fetched 2026-08-29 · 30c1fdd08dd6
- site_page: https://wkhtmltopdf.org/libwkhtmltox · fetched 2026-08-29 · 65db9b84562f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| wkhtmltopdf/wkhtmltopdf | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="wkhtmltopdf/wkhtmltopdf")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem