Get your API key

Guides for PDF development

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

Migrate wkhtmltopdf to Playwright: options, fonts, and page breaks
Developer Guides

Migrate wkhtmltopdf to Playwright: options, fonts, and page breaks

Migrate wkhtmltopdf to Playwright with a minimal rendering script, an option mapping table, font checks, and a rollout plan for existing PDF templates and apps.

CVE-2026-110136: the Chromium PDF flaw and what to patch
News

CVE-2026-110136: the Chromium PDF flaw and what to patch

CVE-2026-110136 affects Chrome PDF handling before 155.0.8059.79. Check browser binaries, separate PDF viewing from generation, and patch renderer deployments.

Next.js October 2026 security update: three flaws PDF apps should check
News

Next.js October 2026 security update: three flaws PDF apps should check

Next.js October 2026 security fixes cover cache RCE, SVG processing, and Server Actions DoS. Check affected features, patch versions, and PDF app deployment.

Node2Shell CVE-2026-111497: patching Brotli in PDF pipelines
News

Node2Shell CVE-2026-111497: patching Brotli in PDF pipelines

Node2Shell CVE-2026-111497 is being exploited through Brotli decompression. Check fixed Node.js versions, rebuild containers, and audit PDF pipeline inputs.

CVE-2026-98432: patch the Linux host behind your PDF containers
News

CVE-2026-98432: patch the Linux host behind your PDF containers

CVE-2026-98432 is a Linux TCP use-after-free with demonstrated remote root execution. Check host kernels, MPTCP exposure, and PDF infrastructure ownership.

Connect Claude and ChatGPT to PDF4.dev without an API key
AI & PDF

Connect Claude and ChatGPT to PDF4.dev without an API key

Claude, Claude Code and ChatGPT now connect to the PDF4.dev MCP server by signing in. What the consent screen shows, the access levels, and admin control.

Portugal QES on PDF invoices from 2027: a developer guide
Developer Guides

Portugal QES on PDF invoices from 2027: a developer guide

Portugal requires a qualified electronic signature on PDF invoices from 1 January 2027. PAdES levels, timestamps, QSCD keys and pipeline design.

Verifactu QR codes on Spanish invoices: a developer guide
Developer Guides

Verifactu QR codes on Spanish invoices: a developer guide

What the Verifactu tax QR encodes, the AEAT validation URL, the size and placement rules, and how to render it correctly in an HTML to PDF invoice.

One Zod schema, three consumers: REST, MCP, and OpenAPI
Developer Guides

One Zod schema, three consumers: REST, MCP, and OpenAPI

How PDF4.dev keeps its REST API, MCP server, and OpenAPI spec aligned, what we actually share today, and the drift we found auditing our own code.

PDF phishing in 2026: the data, and what it means if you send PDFs
PDF Security

PDF phishing in 2026: the data, and what it means if you send PDFs

Microsoft, Cisco Talos and Check Point numbers on PDF phishing in 2026, and what a legitimate sender can do so invoices still get delivered.

MCP vs A2A for document generation, which protocol exposes your PDF API
AI & PDF

MCP vs A2A for document generation, which protocol exposes your PDF API

MCP lets an agent call a tool. A2A lets an agent delegate a task to another agent. A verified comparison, and what it means for a PDF generation API.

MCP Apps: what an interactive PDF preview inside Claude would look like
AI & PDF

MCP Apps: what an interactive PDF preview inside Claude would look like

MCP Apps let an MCP server render interactive HTML inside the chat. Here is what a PDF preview would look like instead of a signed URL you open in a tab.

Ready to generate PDFs programmatically?

Start free