software · Q417
wkhtmltopdf
Archived QtWebKit-based command-line HTML-to-PDF converter used in legacy document pipelines.
Overview
wkhtmltopdf is a command-line HTML-to-PDF converter based on QtWebKit, with a related image-conversion tool and C library. It appears in legacy automated document pipelines, but its upstream repository was archived in January 2023. Its continued download availability should not be mistaken for an actively maintained rendering engine.[1][2]
Legacy conversion workflow
The command-line manual supports combining web-page objects, a cover and a generated table of contents into one output. Global and per-object settings control such details as page dimensions, margins and headers. These options explain why existing reporting systems may be tied to the tool's invocation model, even when a newer engine can perform the broader HTML-to-PDF task.[3]
Output completeness and scripting
The 0.12.6 manual distinguishes page-load failures from media-load failures, with different default handling. Media errors may be ignored, so obtaining a PDF does not establish that every referenced image or stylesheet was available. The engine also has JavaScript execution and delay controls, but those belong to its legacy runtime and should not be interpreted as compatibility with current browser applications.[3][5]
Patched Qt and packaging
The download FAQ explains that some features rely on a patched Qt build, while distribution packages may use a different engine configuration and omit those features. Its static-build description applies to Qt rather than every operating-system dependency. Historical Windows, macOS and Linux downloads therefore do not prove identical behavior or support for all present-day systems. Migration testing needs to identify the actual old build being replaced.[4]
Maintenance and safety boundary
The upstream repository is read-only after its 2023 archival. The status page is a historical explanation of engine and maintenance problems, not a current roadmap promise. It explicitly warns against converting untrusted HTML because doing so can expose the host to severe compromise. This record is useful for identifying a legacy dependency and planning replacement, not for presenting the old renderer as a safe general-purpose service.[2][5]
Substitution considerations
wkhtmltopdf overlaps historically with WeasyPrint in turning controlled HTML reports into PDFs. The practical comparison is usually how to move an existing workflow to a maintained implementation, preserving required pagination and assets. The old engine's scripting, options and patched-build behavior are not automatically reproduced by a new renderer. Conversely, the shared output format does not justify adopting archived wkhtmltopdf for a new untrusted-input pipeline.[1][3][5][6]
Capabilities & limitations
HTML-to-PDF conversion
limitedProvides documented legacy conversion operations, but upstream is archived.[1][2]
Maintaining trusted legacy HTML-to-PDF workflows · Historical Windows builds, Historical macOS builds, Distribution-specific Linux builds · Version, build and integration requirements apply
2 sources · check evidence
QtWebKit tools and LGPLv3
vendor · checked 2026-10-07Archived by owner on 2 January 2023
vendor · checked 2026-10-07Equivalent behavior across builds
limitedPatched-Qt features and distribution packaging differ.[4]
Maintaining trusted legacy HTML-to-PDF workflows · Historical Windows builds, Historical macOS builds, Distribution-specific Linux builds · Version, build and integration requirements apply
1 source · check evidence
Stable series, historical platform builds and patched Qt differences
vendor · checked 2026-10-07Untrusted HTML processing
unsupportedUpstream explicitly warns against processing untrusted HTML because of severe security risk.[5]
Maintaining trusted legacy HTML-to-PDF workflows · Historical Windows builds, Historical macOS builds, Distribution-specific Linux builds · Version, build and integration requirements apply
1 source · check evidence
Dated engine history and explicit untrusted-HTML warning
vendor · checked 2026-10-07Can substitute for
These are products or services this entry can replace. Check the task and limitations for each comparison.
WeasyPrint for Maintaining trusted legacy HTML-to-PDF workflows
limitedHistorical task overlap for trusted HTML-to-PDF generation only; archived upstream and obsolete engine make it unsuitable as an assumed maintained replacement.[1][2][5][6]
Historical Windows builds, Historical macOS builds, Distribution-specific Linux builds · Version, build and integration requirements apply
References
- wkhtmltopdf overview
QtWebKit tools and LGPLv3
vendor · retrieved 2026-10-07 - wkhtmltopdf upstream repository
Archived by owner on 2 January 2023
vendor · retrieved 2026-10-07 - wkhtmltopdf 0.12.6 manual
Document objects, page options and media-load defaults
vendor · retrieved 2026-10-07 - wkhtmltopdf downloads and build FAQ
Stable series, historical platform builds and patched Qt differences
vendor · retrieved 2026-10-07 - wkhtmltopdf project status
Dated engine history and explicit untrusted-HTML warning
vendor · retrieved 2026-10-07 - WeasyPrint documentation
Maintained HTML/CSS PDF generation
vendor · retrieved 2026-10-07
Discussion & disputes
Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.
No discussion yet.
Revision history
Open a revision to read an earlier version of this article.
| Revision | Timestamp | Edit summary |
|---|---|---|
| 403 | 2026-10-11 20:48:13 | /* wbeditentity-create-item:0| */ sf:999d73d1-b9a3-4f32-b3aa-a484318ab29e:v1 | Add archived wkhtmltopdf as a legacy comparison, with upstream untrusted-input warning and patched-Qt build differences. | attribution: /proposals/999d73d1-b9a3-4f32-b3aa-a484318ab29e |