Blog
Tutorials, guides, and insights for building with pdfRelay.
HTML to PDF API Comparison 2026: pdfRelay vs DocRaptor vs PDFShift
A detailed comparison of the top HTML-to-PDF APIs — pricing, speed, features, and which one is right for your project.
Read moreHow to Generate PDFs with Puppeteer in Node.js (And Why You Might Want an Alternative)
A complete guide to PDF generation with Puppeteer — setup, configuration, common problems, and when to consider an API instead.
React to PDF: Using JSX Templates for Document Generation
Learn how to use React components as PDF templates. Build invoices, reports, and contracts with the components you already know.
Building a PDF Invoice System with Stripe and pdfRelay
End-to-end tutorial: generate branded invoices from Stripe payment data, host them, and email download links to customers.
Generating PDFs in Next.js Without Puppeteer
Why running Puppeteer in your Next.js app is a bad idea, and how to use an API-based approach for faster, more reliable PDF generation.
The Complete Guide to HTML-to-PDF Conversion in 2026
Everything you need to know about converting HTML to PDF — tools, libraries, APIs, CSS print styles, and best practices.
Adding Electronic Signatures to Your App with HTML Sign Fields
How to add e-signatures to any document using simple HTML elements. No separate signing service needed — generate and sign in one API call.
7 Problems with Puppeteer PDF Generation (And How to Fix Them)
Memory leaks, cold starts, Docker headaches, font rendering issues — the common Puppeteer PDF problems and their solutions.
Batch PDF Generation: Converting 1,000 Documents in Minutes
How to generate hundreds or thousands of PDFs efficiently using batch processing, async queues, and parallel execution.
PDF Hosting: Secure Document Sharing with Expiring Links
Host your generated PDFs with password protection, download limits, and expiring links. No separate file hosting service needed.
pdfRelay vs DocRaptor: A Developer's Honest Comparison
Speed benchmarks, pricing breakdown, feature comparison, and code examples. Which HTML-to-PDF API is right for you?
CSS Print Styles: Making Your HTML Look Perfect in PDF
Master @page rules, page breaks, margins, headers/footers, and other CSS techniques for pixel-perfect PDF output.
Moving from wkhtmltopdf to a Modern PDF API
wkhtmltopdf is deprecated and uses an ancient WebKit engine. Here's how to migrate to a modern solution without rewriting your templates.
HTML to PDF in Python: ReportLab vs WeasyPrint vs API
Compare Python PDF libraries and learn when an API-based approach saves you time, complexity, and infrastructure costs.
Creating Accessible PDFs: A Guide to Tagged PDF and PDF/UA
How to generate PDFs that work with screen readers. Tagged PDF structure, alt text, reading order, and PDF/UA compliance.
PDF Generation in Serverless Environments: Lambda, Vercel, Cloudflare
Why Puppeteer breaks in serverless, and how API-based PDF generation works perfectly with any serverless platform.
Building Multi-Page PDF Reports with Headers, Footers, and Page Numbers
Use @page CSS rules, page counters, and the compose API to build professional multi-section reports with running headers.
PDF Encryption: Password Protection and Permission Controls
Lock PDFs with user and owner passwords, restrict printing, copying, and editing. AES-256 encryption made simple.
Building a Contract Generation and Signing Workflow
End-to-end tutorial: generate contracts from templates, add signature fields, send for signing, and store the sealed document.
Why We Built a Rust PDF Engine Instead of Using Puppeteer
The technical story behind pdfRelay's rendering engine: why Chromium is overkill for PDF generation and how Rust solves the problem.