Get started

Guides for PDF development

Guides, tutorials, and tips for working with PDFs: from free tools to programmatic generation.

PDF generation in Express.js: every working option in 2026
Developer Guides

PDF generation in Express.js: every working option in 2026

Generate PDFs in an Express.js app: Puppeteer and Playwright for HTML to PDF, pdfkit for drawing, plus a hosted PDF4.dev API with no browser to manage.

Puppeteer vs WeasyPrint: HTML to PDF compared (2026)
Comparisons

Puppeteer vs WeasyPrint: HTML to PDF compared (2026)

Puppeteer vs WeasyPrint for HTML to PDF: Node.js Chromium versus Python CSS rendering, with real benchmark numbers, JavaScript support, and CSS coverage.

PDF generation in Vue and Nuxt: every working option in 2026
Developer Guides

PDF generation in Vue and Nuxt: every working option in 2026

Generate PDFs in Vue and Nuxt in 2026: client-side jsPDF, server-side Playwright in Nitro routes, and a hosted HTML-to-PDF API, with the tradeoffs.

PDF generation in Bun: every working option in 2026
Developer Guides

PDF generation in Bun: every working option in 2026

How to generate PDFs in Bun in 2026: Puppeteer support, why Playwright is unofficial, pure-JS libraries with no browser, and the hosted API escape hatch.

How to extract images from a PDF (free online and programmatic methods)
PDF Manipulation

How to extract images from a PDF (free online and programmatic methods)

Extract embedded images from any PDF, free online or with Python and JavaScript. Pull out JPEGs and PNGs at full quality, or render pages to images.

PDF generation in FastAPI: WeasyPrint, Playwright, and a PDF API compared
Developer Guides

PDF generation in FastAPI: WeasyPrint, Playwright, and a PDF API compared

Generate PDFs in FastAPI: render a Jinja2 template, convert with WeasyPrint or async Playwright, or call a PDF API. Full async code, comparison table, tips.

Developer Guides

PDF generation in Django: WeasyPrint, Playwright, and a PDF API compared

Generate PDFs in Django: render a template, convert with WeasyPrint or Playwright, or call a PDF API from a view. Complete code, comparison, tips.

PDF color spaces: RGB vs CMYK for screen and print
Developer Guides

PDF color spaces: RGB vs CMYK for screen and print

HTML to PDF renders in RGB, but offset print shops want CMYK. Learn the difference, when each matters, and how to convert a PDF to CMYK with Ghostscript.

Developer Guides

PDF generation in .NET and C#: QuestPDF, Playwright, and PDF APIs compared

Generate PDFs in .NET and C# with QuestPDF, Playwright for .NET, PuppeteerSharp, or a REST API. Real ASP.NET Core code, an options table, and production tips.

wkhtmltopdf alternatives in 2026: the migration guide
Comparisons

wkhtmltopdf alternatives in 2026: the migration guide

wkhtmltopdf is archived and unmaintained. Compare the best 2026 alternatives (Playwright, Puppeteer, WeasyPrint, Gotenberg) and pick a safe migration path.

How to add a QR code to a PDF (HTML to PDF, with code)
Developer Guides

How to add a QR code to a PDF (HTML to PDF, with code)

Add a QR code to a PDF from HTML using Node.js, Python, or PHP. Embed it as a base64 data URI or inline SVG so it always renders, with copy-paste code.

Comparisons

Puppeteer vs wkhtmltopdf: which to use in 2026

Puppeteer vs wkhtmltopdf for HTML to PDF: rendering engine, CSS and JS support, deployment, and why wkhtmltopdf is now deprecated.

Ready to generate PDFs programmatically?

Try the PDF4.dev API: free