Skip to main content

21 posts tagged with "html to pdf"

View All Tags

Generate PDFs in Node.js Using Puppeteer

· 9 min read
Michał Szymanowski
Michał Szymanowski
PDFBolt Co-Founder

Illustration of generating PDF files in Node.js using Puppeteer

Generating invoice PDFs is a common requirement for web applications – whether for e-commerce, SaaS billing, or financial reporting. Puppeteer, a powerful headless browser automation tool for Node.js, makes it easy to convert HTML into high-quality PDFs. In this guide, we’ll walk you through setting up Puppeteer, designing an invoice with HTML and CSS, and generating a professional PDF.