Blog

Tutorials, guides, and insights for building with pdfRelay.

comparison8 minMarch 28, 2026

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 more
tutorial12 min

How 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.

March 27, 2026Read more
tutorial10 min

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.

March 26, 2026Read more
tutorial15 min

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.

March 25, 2026Read more
guide7 min

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.

March 24, 2026Read more
guide20 min

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.

March 23, 2026Read more
tutorial10 min

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.

March 22, 2026Read more
guide8 min

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.

March 21, 2026Read more
tutorial8 min

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.

March 20, 2026Read more
guide6 min

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.

March 19, 2026Read more
comparison10 min

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?

March 18, 2026Read more
guide12 min

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.

March 17, 2026Read more
guide7 min

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.

March 16, 2026Read more
comparison9 min

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.

March 15, 2026Read more
guide10 min

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.

March 14, 2026Read more
tutorial8 min

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.

March 13, 2026Read more
tutorial11 min

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.

March 12, 2026Read more
guide6 min

PDF Encryption: Password Protection and Permission Controls

Lock PDFs with user and owner passwords, restrict printing, copying, and editing. AES-256 encryption made simple.

March 11, 2026Read more
tutorial14 min

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.

March 10, 2026Read more
announcement8 min

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.

March 9, 2026Read more