Guides
- How to convert HTML to PDF in Node.js (2026 guide)
Three ways to generate PDFs from HTML in Node.js: Puppeteer, Playwright and a hosted API. Working code, production pitfalls, and when to use each. - wkhtmltopdf alternatives in 2026: what to use now that it is archived
wkhtmltopdf is archived and stuck on an old QtWebKit engine. Compare modern alternatives: headless Chrome (Puppeteer/Playwright), WeasyPrint, Gotenberg and hosted PDF APIs. - Add page numbers, headers and footers to an HTML-generated PDF
How to add "Page X of Y", headers and footers to PDFs generated from HTML with headless Chrome or Puppeteer, with copy-paste templates and fixes for common problems.