Get started
Author

benoitded

Software Engineer at PDF4.dev

Software engineer and founder of PDF4.dev, building developer tools for PDF generation and document automation.

59 articles by benoitded

How to automate PDF generation with Zapier and Make.com
Tutorials

How to automate PDF generation with Zapier and Make.com

Step-by-step no-code guide to automating PDF generation with Zapier and Make.com. Typeform to PDF receipt, email delivery, Google Drive storage, and a full Zapier vs Make comparison.

How to create a PDF certificate
Business Documents

How to create a PDF certificate

Design and generate PDF certificates for courses, events, and HR programs. Covers layout, seals, signature lines, QR verification, batch rendering from CSV, and localization.

Handlebars templates for PDF generation: the complete guide
Developer Guides

Handlebars templates for PDF generation: the complete guide

Learn how to use Handlebars as a PDF templating language. Variables, blocks, helpers, partials, escaping, and a full invoice example you can run today.

Claude can now create PDFs. When do you still need a PDF API?
News

Claude can now create PDFs. When do you still need a PDF API?

Claude shipped native PDF, Excel and Slides creation in April 2026. Here is the honest decision framework for when an LLM is enough, and when you still need a PDF API.

PDF generation best practices for production
Developer Guides

PDF generation best practices for production

An operational guide to running PDF generation at scale: caching, retries, timeouts, browser pool lifecycle, memory, observability, and cost. Real numbers from the PDF4.dev production stack.

How to convert a React component to PDF
PDF Conversion

How to convert a React component to PDF

Two ways to turn React components into PDFs: server-render JSX to HTML and print with Chromium, or use @react-pdf/renderer. Includes Tailwind, MUI, and benchmarks.

How to convert Markdown to PDF: the complete guide
PDF Conversion

How to convert Markdown to PDF: the complete guide

Convert Markdown to PDF five ways: Pandoc with LaTeX, marked plus Playwright, markdown-it plus Puppeteer, and a REST API. Covers GFM, math, mermaid, and page breaks.

How to watermark a PDF to prevent copying and unauthorized sharing
PDF Security

How to watermark a PDF to prevent copying and unauthorized sharing

Use per-recipient watermarks to deter PDF leaks, create legal evidence, and trace shared documents. Code examples, tile patterns, and DRM comparison.

PDF generation in serverless environments: AWS Lambda, Vercel, and Cloudflare
Developer Guides

PDF generation in serverless environments: AWS Lambda, Vercel, and Cloudflare

Why Playwright and serverless are a painful match. Cold starts, size limits, Cloudflare Workers, @sparticuz/chromium, and when to call an API instead.

How to add custom fonts to a PDF
Developer Guides

How to add custom fonts to a PDF

Embed custom fonts in HTML-to-PDF rendering with Playwright, Python, and PDF4.dev. Covers Google Fonts, self-hosting, FOUT, variable fonts, and CJK.

PDF encryption explained: RC4, AES-128, AES-256
PDF Security

PDF encryption explained: RC4, AES-128, AES-256

How PDF encryption works across RC4, AES-128, and AES-256, with the real security level of each version, known weaknesses, and which to use today.

PDF vs JPG: which format to choose
PDF Conversion

PDF vs JPG: which format to choose

PDF or JPG? A side-by-side comparison covering photos, documents, lossy vs lossless compression, file size, color, EXIF, and print workflows.

PDF vs PNG: when to use each format
PDF Conversion

PDF vs PNG: when to use each format

PDF or PNG? A practical comparison of the two formats covering documents, images, vector vs raster, file size, transparency, and archiving.

How to edit PDF metadata (title, author, keywords)
PDF Manipulation

How to edit PDF metadata (title, author, keywords)

Edit PDF metadata online for free, or automate it with pdf-lib, PyMuPDF, Ghostscript, and ExifTool. Covers document info dictionary and XMP metadata.

How to build a PDF certificate generator
Developer Guides

How to build a PDF certificate generator

Build a certificate generator with HTML templates, Google Fonts, and a single API call. Covers design, batch generation from CSV, watermarks, and security.

How to convert Word to PDF
PDF Conversion

How to convert Word to PDF

Convert DOCX to PDF for free using Microsoft Word, LibreOffice CLI, Python, Node.js, or Google Docs API. Includes batch conversion and formatting fixes.

How to repair a corrupted PDF
PDF Manipulation

How to repair a corrupted PDF

Repair a corrupted PDF online for free, or automate recovery with pdf-lib, PyMuPDF, Ghostscript, and qpdf. Covers xref rebuilding and common corruption causes.

Generate PDFs from HTML in Go: chromedp, Rod, and REST APIs compared
Developer Guides

Generate PDFs from HTML in Go: chromedp, Rod, and REST APIs compared

Generate PDFs from HTML in Go using chromedp, Rod, or a REST API. Covers templates, concurrency, Docker sizing, and production deployment patterns.

How to resize PDF pages
PDF Manipulation

How to resize PDF pages

Resize PDF pages online for free, or automate it with pdf-lib, PyMuPDF, Ghostscript, and qpdf. Covers A4 to Letter conversion and custom dimensions.

How to prevent PDF editing (permissions, flattening, and watermarks)
PDF Security

How to prevent PDF editing (permissions, flattening, and watermarks)

Restrict editing, copying, and printing in any PDF using permissions passwords, flattening, and watermarks. Free tools and code examples included.

How to convert a PDF to grayscale
PDF Manipulation

How to convert a PDF to grayscale

Convert a PDF to grayscale online for free, or automate it with pdfjs + pdf-lib, PyMuPDF, Ghostscript, and ImageMagick. Covers color models and file size impact.

How to crop a PDF
PDF Manipulation

How to crop a PDF

Crop a PDF page online for free, or automate it with pdf-lib, PyMuPDF, Ghostscript, and qpdf. Covers CropBox vs MediaBox and batch cropping.

How to flatten a PDF (form fields, annotations, layers)
PDF Manipulation

How to flatten a PDF (form fields, annotations, layers)

Flatten a PDF in seconds: free online tool, no upload, plus pdf-lib, PyMuPDF, Ghostscript, and qpdf code examples for batch automation.

How to convert a webpage to PDF (free, no install)
PDF Conversion

How to convert a webpage to PDF (free, no install)

Convert any webpage to PDF using a free browser tool or automate with Playwright. Covers JavaScript pages, lazy loading, and bot-detection workarounds.

How to extract pages from a PDF (free, no upload required)
PDF Manipulation

How to extract pages from a PDF (free, no upload required)

Save specific pages from a PDF into a new file, free and in your browser. Covers browser tool, macOS, Python, Node.js, and command-line methods.

How we render PDFs in under 300ms
Developer Guides

How we render PDFs in under 300ms

Inside PDF4.dev's rendering pipeline. Singleton browser pool, Handlebars compilation cache, the thead/tfoot trick for repeating headers, and page number stamping via pdf-lib.

Why we built PDF tools that run in your browser
Developer Guides

Why we built PDF tools that run in your browser

PDF4.dev's 24 free tools process files entirely client-side using pdf-lib and pdfjs-dist. No upload, no server, no privacy risk. Here is how the architecture works.

AI document generation: complete guide for developers (2026)
AI & PDF

AI document generation: complete guide for developers (2026)

AI document generation lets you create PDFs, invoices, and reports from natural language prompts. Full guide covering MCP, LLM workflows, and production APIs.

How to redact a PDF permanently (and why highlighting isn't enough)
PDF Security

How to redact a PDF permanently (and why highlighting isn't enough)

Learn how to permanently redact sensitive text and images in PDFs. Covers free browser tools, Python scripts, and why simple highlighting fails security audits.

How to generate a PDF from Google Sheets (4 methods)
Tutorials

How to generate a PDF from Google Sheets (4 methods)

Export Google Sheets data to PDF automatically: built-in export, Apps Script automation, Zapier/Make no-code workflows, and API-based generation for production use.

How to delete pages from a PDF (free, fast, no upload required)
PDF Manipulation

How to delete pages from a PDF (free, fast, no upload required)

Delete pages from a PDF in seconds, free and without uploading files. Browser-based tool, Python script, Node.js API, and command-line methods covered.

How to add page numbers to a PDF (free, online, no install)
PDF Manipulation

How to add page numbers to a PDF (free, online, no install)

Add page numbers to any PDF in seconds. Free online tool, no upload required. Also covers programmatic methods using Python, Node.js, and pdf-lib.

How to reorder PDF pages (free online and programmatic methods)
PDF Manipulation

How to reorder PDF pages (free online and programmatic methods)

Rearrange PDF pages in any order, free and in your browser, or automate page reordering with JavaScript, Python, and pdf-lib. No upload needed.

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

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

Extract text from any PDF in seconds, free and online, or automate it with JavaScript, Python, and the PDF.js API. No signup required for the free tool.

AI invoice generator: build one with Claude and PDF4.dev in 10 minutes
AI & PDF

AI invoice generator: build one with Claude and PDF4.dev in 10 minutes

Generate professional PDF invoices with AI using Claude and PDF4.dev. Full tutorial with Node.js code, Handlebars templates, and MCP integration examples.

How to convert HTML to PDF: complete guide (2026)
PDF Conversion

How to convert HTML to PDF: complete guide (2026)

Convert HTML to PDF online, in the browser, or via API. Free tool, browser printing, Node.js, Python, PHP, and REST API methods compared.

PDF generation in Next.js: a complete guide for App Router
Developer Guides

PDF generation in Next.js: a complete guide for App Router

Generate PDFs in Next.js 14+ App Router using server actions, API routes, and Playwright. Includes React-to-PDF, dynamic templates, and PDF4.dev API examples.

Generate PDFs from HTML in PHP: Dompdf, Playwright, and REST APIs compared
Developer Guides

Generate PDFs from HTML in PHP: Dompdf, Playwright, and REST APIs compared

Generate PDFs from HTML in PHP using Dompdf, headless Chromium, or a REST API. Covers Laravel, Symfony, dynamic templates, fonts, and production tips.

What is the Model Context Protocol (MCP) and how to use it for PDF generation
AI & PDFPillar

What is the Model Context Protocol (MCP) and how to use it for PDF generation

MCP lets AI agents call external tools directly. Learn what MCP is, how the protocol works, and how to connect Claude, ChatGPT, Cursor, or VS Code to a PDF API in under 3 minutes.

Generate PDFs from HTML in Python: WeasyPrint, Playwright, and PDF APIs compared
Developer Guides

Generate PDFs from HTML in Python: WeasyPrint, Playwright, and PDF APIs compared

Generate PDFs from HTML in Python using WeasyPrint, Playwright, or a REST API. Covers Flask, FastAPI, dynamic templates, fonts, and production tips.

How to add a watermark to a PDF (free, no upload needed)
PDF Manipulation

How to add a watermark to a PDF (free, no upload needed)

Add text watermarks to any PDF for free in your browser. Interactive designer, code examples with pdf-lib and Python, plus API automation.

How to remove a password from a PDF (free, no Adobe needed)
PDF Security

How to remove a password from a PDF (free, no Adobe needed)

Remove a PDF password instantly in your browser or with qpdf on the command line. Files stay on your device. Works on Mac, Windows, and mobile.

How to compress PDF for email (under 10 MB in seconds)
PDF Manipulation

How to compress PDF for email (under 10 MB in seconds)

Compress a PDF for email in seconds with no quality loss. Covers email size limits, free browser tools, Ghostscript, and Python one-liners. 2026 guide.

CSS print styles: the complete guide for PDF generation
Developer Guides

CSS print styles: the complete guide for PDF generation

Master @media print, @page margins, page breaks, widows/orphans, and table headers. Interactive demos show each CSS property in action.

How to convert PDF to Word: LibreOffice, Python pdf2docx, and 5 free methods
PDF Conversion

How to convert PDF to Word: LibreOffice, Python pdf2docx, and 5 free methods

Convert PDF to editable DOCX with LibreOffice, Python pdf2docx, Microsoft Word, or Google Docs. Covers equations, batch conversion, and layout preservation.

Complete guide to PDF conversion: every format, every method (2026)
PDF ConversionPillar

Complete guide to PDF conversion: every format, every method (2026)

PDF conversion explained: convert PDF to JPG, PNG, Word, HTML and more. Covers free browser tools, Python, Node.js, and command-line methods. Updated 2026.

How to convert images to PDF (free, no upload needed)
Tutorials

How to convert images to PDF (free, no upload needed)

Turn JPG, PNG, or multiple images into a single PDF in seconds. Free browser-based tool, no sign-up, files never leave your device.

How to rotate PDF pages (free, no software needed)
PDF Manipulation

How to rotate PDF pages (free, no software needed)

Rotate one or all PDF pages permanently for free. Browser tool, macOS Preview, command line, and code options. Files stay on your device.

How to generate PDF invoices programmatically
Business Documents

How to generate PDF invoices programmatically

Build automated invoice generation with HTML templates, dynamic data, and a single API call. Covers design, multi-language code examples, compliance, and scaling.

How to password protect a PDF (free, no Adobe needed)
PDF Security

How to password protect a PDF (free, no Adobe needed)

Add a password to any PDF in seconds using free browser-based tools, Adobe Acrobat, or the command line. Files never leave your device.

How to convert PDF to JPG (free, high quality)
PDF Conversion

How to convert PDF to JPG (free, high quality)

Convert PDF to JPG online for free without uploading files. Also covers Python, Node.js, and command line methods with JPEG quality and DPI tips.

Design PDFs with Claude, no code, just conversation
AI & PDF

Design PDFs with Claude, no code, just conversation

Use Claude + PDF4.dev MCP to design invoices, certificates, and reports through natural language. A complete walkthrough from blank page to production-ready PDF.

How to generate PDFs with AI agents using MCP
AI & PDF

How to generate PDFs with AI agents using MCP

Connect Claude, ChatGPT, Cursor, or any AI agent to PDF4.dev via MCP and generate PDFs with natural language. Step-by-step setup guide with examples.

Generate PDFs from HTML templates with Node.js
Developer Guides

Generate PDFs from HTML templates with Node.js

Build a Node.js PDF generator using Handlebars templates and Playwright. Covers dynamic data, styling, fonts, Docker, and when a PDF API makes more sense.

How to convert PDF to PNG (high quality, free)
PDF Conversion

How to convert PDF to PNG (high quality, free)

Convert PDF pages to high-resolution PNG images online, with Python, Node.js, or command line. Includes DPI tips for print-ready output.

How to compress PDF files without losing quality
PDF Manipulation

How to compress PDF files without losing quality

Reduce PDF file size by up to 80% while maintaining readable quality. Learn how PDF compression works and the best free methods to shrink your files.

How to split a PDF into individual pages (or custom ranges)
PDF Manipulation

How to split a PDF into individual pages (or custom ranges)

Split any PDF into individual pages or custom page ranges for free, in your browser, from the command line, or via API. No upload required.

How to merge PDF files: 5 free methods
PDF Manipulation

How to merge PDF files: 5 free methods

Merge multiple PDF files into one document for free. Compare 5 methods including browser-based tools, command-line, and programmatic approaches.

The complete guide to PDF manipulation: merge, split, compress, and more
PDF ManipulationPillar

The complete guide to PDF manipulation: merge, split, compress, and more

Learn how to merge, split, compress, rotate, reorder, and watermark PDF files. A comprehensive guide covering every PDF manipulation technique with free tools.