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. - CSS page breaks in HTML to PDF (tested in Chrome)
Force a new page, keep boxes, table rows and headings together, and repeat table headers when you convert HTML to PDF with Chrome or Puppeteer. Each rule tested. - Background colors missing in HTML to PDF? 3 fixes
Why background colors and images disappear when Chrome or Puppeteer prints HTML to PDF, and three tested fixes: printBackground, print-color-adjust and screen media. - Fonts missing or wrong in HTML to PDF? 5 causes
Why Chrome and Puppeteer PDFs fall back to the wrong font or show blank CJK text, and tested fixes: CORS on web fonts, relative font URLs, waiting for fonts, fallbacks and missing system fonts. - PDFLoom vs DocRaptor: HTML to PDF API comparison
DocRaptor uses the Prince engine and is strong at print typography; PDFLoom uses headless Chrome and costs less. Pricing, rendering engines and when to pick which. - PDFLoom vs PDFShift: HTML to PDF API comparison
PDFShift and PDFLoom compared: pricing per volume, credits vs flat plans, limits, features, and when each one is the better fit. - PDFLoom vs Api2Pdf: pay-per-use vs flat pricing
Api2Pdf charges per second of compute and per MB; PDFLoom uses flat monthly plans. An honest comparison of cost, engines and features.