{"schemaVersion":"1.0","record":{"label":"wkhtmltopdf","description":"Archived QtWebKit-based command-line HTML-to-PDF converter used in legacy document pipelines.","aliases":[],"kind":"software","website":"https://wkhtmltopdf.org/","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.","license":"LGPLv3","lifecycle":"discontinued","example":false,"features":[{"name":"HTML-to-PDF conversion","status":"limited","detail":"Provides documented legacy conversion operations, but upstream is archived.","useCase":"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","evidence":[{"url":"https://wkhtmltopdf.org/","locator":"QtWebKit tools and LGPLv3","retrievedAt":"2026-10-07T12:47:12.439Z","kind":"vendor"},{"url":"https://github.com/wkhtmltopdf/wkhtmltopdf","locator":"Archived by owner on 2 January 2023","retrievedAt":"2026-10-07T12:47:12.439Z","kind":"vendor"}]},{"name":"Equivalent behavior across builds","status":"limited","detail":"Patched-Qt features and distribution packaging differ.","useCase":"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","evidence":[{"url":"https://wkhtmltopdf.org/downloads.html","locator":"Stable series, historical platform builds and patched Qt differences","retrievedAt":"2026-10-07T12:47:12.439Z","kind":"vendor"}]},{"name":"Untrusted HTML processing","status":"unsupported","detail":"Upstream explicitly warns against processing untrusted HTML because of severe security risk.","useCase":"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","evidence":[{"url":"https://wkhtmltopdf.org/status.html","locator":"Dated engine history and explicit untrusted-HTML warning","retrievedAt":"2026-10-07T12:47:12.439Z","kind":"vendor"}]}],"alternatives":[],"slug":"wkhtmltopdf","draftAlternatives":[{"targetSlug":"weasyprint","status":"limited","detail":"Historical task overlap for trusted HTML-to-PDF generation only; archived upstream and obsolete engine make it unsuitable as an assumed maintained replacement.","useCase":"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","evidence":[{"url":"https://wkhtmltopdf.org/","locator":"QtWebKit tools and LGPLv3","retrievedAt":"2026-10-07T12:47:12.439Z","kind":"vendor"},{"url":"https://github.com/wkhtmltopdf/wkhtmltopdf","locator":"Archived by owner on 2 January 2023","retrievedAt":"2026-10-07T12:47:12.439Z","kind":"vendor"},{"url":"https://wkhtmltopdf.org/status.html","locator":"Dated engine history and explicit untrusted-HTML warning","retrievedAt":"2026-10-07T12:47:12.439Z","kind":"vendor"},{"url":"https://doc.courtbouillon.org/weasyprint/stable/","locator":"Maintained HTML/CSS PDF generation","retrievedAt":"2026-10-07T12:47:12.439Z","kind":"vendor"}]}],"evidence":[{"url":"https://wkhtmltopdf.org/","locator":"QtWebKit tools and LGPLv3","retrievedAt":"2026-10-07T12:47:12.439Z","kind":"vendor"},{"url":"https://github.com/wkhtmltopdf/wkhtmltopdf","locator":"Archived by owner on 2 January 2023","retrievedAt":"2026-10-07T12:47:12.439Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://wkhtmltopdf.org/","locator":"QtWebKit tools and LGPLv3","retrievedAt":"2026-10-07T12:47:12.439Z","id":"home","title":"wkhtmltopdf overview","kind":"vendor"},{"url":"https://github.com/wkhtmltopdf/wkhtmltopdf","locator":"Archived by owner on 2 January 2023","retrievedAt":"2026-10-07T12:47:12.439Z","id":"repo","title":"wkhtmltopdf upstream repository","kind":"vendor"},{"url":"https://wkhtmltopdf.org/usage/wkhtmltopdf.txt","locator":"Document objects, page options and media-load defaults","retrievedAt":"2026-10-07T12:47:12.439Z","id":"manual","title":"wkhtmltopdf 0.12.6 manual","kind":"vendor"},{"url":"https://wkhtmltopdf.org/downloads.html","locator":"Stable series, historical platform builds and patched Qt differences","retrievedAt":"2026-10-07T12:47:12.439Z","id":"downloads","title":"wkhtmltopdf downloads and build FAQ","kind":"vendor"},{"url":"https://wkhtmltopdf.org/status.html","locator":"Dated engine history and explicit untrusted-HTML warning","retrievedAt":"2026-10-07T12:47:12.439Z","id":"status","title":"wkhtmltopdf project status","kind":"vendor"},{"url":"https://doc.courtbouillon.org/weasyprint/stable/","locator":"Maintained HTML/CSS PDF generation","retrievedAt":"2026-10-07T12:47:12.439Z","id":"weasy","title":"WeasyPrint documentation","kind":"vendor"}],"overviewCitations":["home","repo"],"licenseCitations":["home"],"sections":[{"id":"conversion","heading":"Legacy conversion workflow","paragraphs":[{"id":"conversion-detail","content":[{"text":"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."}],"citations":["manual"]}]},{"id":"resources","heading":"Output completeness and scripting","paragraphs":[{"id":"resources-detail","content":[{"text":"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."}],"citations":["manual","status"]}]},{"id":"builds","heading":"Patched Qt and packaging","paragraphs":[{"id":"builds-detail","content":[{"text":"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."}],"citations":["downloads"]}]},{"id":"maintenance","heading":"Maintenance and safety boundary","paragraphs":[{"id":"maintenance-detail","content":[{"text":"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."}],"citations":["repo","status"]}]},{"id":"comparison","heading":"Substitution considerations","paragraphs":[{"id":"comparison-detail","content":[{"text":"wkhtmltopdf overlaps historically with "},{"text":"WeasyPrint","targetSlug":"weasyprint"},{"text":" 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."}],"citations":["home","manual","status","weasy"]}]}]},"id":"Q417","revision":403,"updatedAt":"2026-10-11T20:48:13Z","sourceUrl":"https://substitutefor.net/entities/Q417?revision=403"}}