Get started

Guides for PDF development

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

EU e-invoicing mandates 2026: a developer guide
News

EU e-invoicing mandates 2026: a developer guide

Belgium, Poland and France flip mandatory B2B e-invoicing in 2026. What developers need to ship: EN 16931 XML, Factur-X PDF/A-3, KSeF FA(3), Peppol BIS 3.0.

Real-time dashboard sync
Developer Guides

Real-time dashboard sync

pdf4.dev now updates every open dashboard tab the moment an AI agent or an API call writes a template, a component, or a PDF render log. Inside the architecture: SSE, an in-process EventEmitter bus, and the Railway and Next.js gotchas we had to work around.

CVE-2026-42593: Gotenberg watermark and stamp routes leak arbitrary PDFs
News

CVE-2026-42593: Gotenberg watermark and stamp routes leak arbitrary PDFs

CVE-2026-42593 is an unauthenticated arbitrary PDF read in Gotenberg 8.31.0 and earlier, exposed by stampExpression and watermarkExpression on six conversion routes. Self-hosters affected, managed APIs unaffected.

How to convert SVG to PDF
PDF Conversion

How to convert SVG to PDF

Convert SVG to PDF without losing vector quality. Compares Inkscape, rsvg-convert, Playwright, and svg2pdf.js with code, font handling, and page-fit tips.

n8n community nodes: publishing with npm provenance
News

n8n community nodes: publishing with npm provenance

From May 1, 2026, every verified n8n community node must ship with npm provenance built on GitHub Actions. A four-step migration guide with the PDF4.dev worked example.

How to connect ChatGPT to a PDF API
AI & PDF

How to connect ChatGPT to a PDF API

Three ways to connect ChatGPT to a PDF generation API: Custom GPT actions, the experimental MCP server support, and the Assistants API with function calling. Full OpenAPI snippet, auth setup, and signed URL delivery.

Chrome Headless Shell vs full Chromium for PDF generation
News

Chrome Headless Shell vs full Chromium for PDF generation

Chrome 132 removed the old headless mode. chrome-headless-shell is the lean replacement. Here is when to migrate for PDF rendering, and when to stay.

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.

pdf-lib vs jsPDF vs PDFKit: JavaScript PDF libraries compared
Comparisons

pdf-lib vs jsPDF vs PDFKit: JavaScript PDF libraries compared

Honest comparison of the three main JavaScript PDF libraries: pdf-lib for manipulation, jsPDF for client-side rendering, PDFKit for server-side streaming. Feature matrix, code samples, and when to pick each.

MCP 2026 roadmap explained: what server builders should do now
News

MCP 2026 roadmap explained: what server builders should do now

The Model Context Protocol 2026 roadmap names four priorities. Here is what changes for MCP server builders, and which patterns to adopt today.

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.

Anthropic Agent Skills explained, with a PDF generation example
News

Anthropic Agent Skills explained, with a PDF generation example

What Agent Skills are, how they differ from MCP servers and system prompts, and a worked example of shipping a Skill that generates PDFs from prompts.

Ready to generate PDFs programmatically?

Try the PDF4.dev API: free