AptLynx

Command-line tool

wkhtmltox

winget/wkhtmltopdf.wkhtmltox

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Convert HTML documents or web pages into PDF files. pdf html

At a glance

Type
Command-line tool
Install on
Windows
Last checked
25 Oct 2026, 21:09 UTC

Install it

Windows

winget install --id wkhtmltopdf.wkhtmltox -e

Convert an HTML document into PDF

wkhtmltopdf input.html output.pdf

Specify the PDF page size (please see `PaperSize` of `QPrinter` for supported sizes)

wkhtmltopdf --page-size A4 input.html output.pdf

Set the PDF page margins

wkhtmltopdf --margin-top 10mm input.html output.pdf

Browse

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents