# wkhtmltopdf

Archived QtWebKit\-based command\-line HTML\-to\-PDF converter used in legacy document pipelines\.

ID: Q417 · Revision: 403

Type: software · License: LGPLv3[^home] · Status: discontinued

Website: https://wkhtmltopdf.org/



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\.[^home][^repo]

## 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\.[^manual]

## 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\.[^manual][^status]

## 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\.[^downloads]

## 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\.[^repo][^status]

## Substitution considerations

wkhtmltopdf overlaps historically with [WeasyPrint](/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\.[^home][^manual][^status][^weasy]

## Capabilities and substitutions

### HTML\-to\-PDF conversion — limited

Provides documented legacy conversion operations, but upstream is archived\.[^home][^repo]

Use case: Maintaining trusted legacy HTML\-to\-PDF workflows · Platforms: Historical Windows builds, Historical macOS builds, Distribution\-specific Linux builds · Region: Version, build and integration requirements apply

### Equivalent behavior across builds — limited

Patched\-Qt features and distribution packaging differ\.[^downloads]

Use case: Maintaining trusted legacy HTML\-to\-PDF workflows · Platforms: Historical Windows builds, Historical macOS builds, Distribution\-specific Linux builds · Region: Version, build and integration requirements apply

### Untrusted HTML processing — unsupported

Upstream explicitly warns against processing untrusted HTML because of severe security risk\.[^status]

Use case: Maintaining trusted legacy HTML\-to\-PDF workflows · Platforms: Historical Windows builds, Historical macOS builds, Distribution\-specific Linux builds · Region: Version, build and integration requirements apply

### [Substitute for WeasyPrint](/weasyprint) — limited

Historical task overlap for trusted HTML\-to\-PDF generation only; archived upstream and obsolete engine make it unsuitable as an assumed maintained replacement\.[^home][^repo][^status][^weasy]

Use case: Maintaining trusted legacy HTML\-to\-PDF workflows · Platforms: Historical Windows builds, Historical macOS builds, Distribution\-specific Linux builds · Region: Version, build and integration requirements apply

## References

[^home]: [wkhtmltopdf overview](<https://wkhtmltopdf.org/>) — QtWebKit tools and LGPLv3 (vendor; retrieved 2026-10-07T12:47:12.439Z)

[^repo]: [wkhtmltopdf upstream repository](<https://github.com/wkhtmltopdf/wkhtmltopdf>) — Archived by owner on 2 January 2023 (vendor; retrieved 2026-10-07T12:47:12.439Z)

[^manual]: [wkhtmltopdf 0\.12\.6 manual](<https://wkhtmltopdf.org/usage/wkhtmltopdf.txt>) — Document objects, page options and media\-load defaults (vendor; retrieved 2026-10-07T12:47:12.439Z)

[^downloads]: [wkhtmltopdf downloads and build FAQ](<https://wkhtmltopdf.org/downloads.html>) — Stable series, historical platform builds and patched Qt differences (vendor; retrieved 2026-10-07T12:47:12.439Z)

[^status]: [wkhtmltopdf project status](<https://wkhtmltopdf.org/status.html>) — Dated engine history and explicit untrusted\-HTML warning (vendor; retrieved 2026-10-07T12:47:12.439Z)

[^weasy]: [WeasyPrint documentation](<https://doc.courtbouillon.org/weasyprint/stable/>) — Maintained HTML/CSS PDF generation (vendor; retrieved 2026-10-07T12:47:12.439Z)

Source revision: https://substitutefor.net/entities/Q417?revision=403
