Practical writing on turning HTML into PDFs: which engine to use, what running it yourself
really costs, and code you can paste.
Comparison · July 2026
wkhtmltopdf still renders with a 2012 engine, which is why flexbox, grid, and webfonts break in the
output. Five replacements, what each one is good at, and which fits a modern stack.
Read the comparison
Tutorial · July 2026
A complete Node.js example that posts an HTML string or a URL to the API and writes the PDF to
disk. No SDK, no Chromium, no build step.
Read the tutorial
Decision guide · July 2026
What it actually costs to run headless Chromium yourself, including the parts people leave out of
the estimate, and when a $20 API is the cheaper answer.
Read the guide
Try it without an account
The demo key is free and watermarks the PDF. Paste some HTML on the homepage and get a file back.
Convert HTML to PDF