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]
Contents 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]
Also included: 3 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.