HTML and CSS to PDF API and MCP server. WeasyPrint with page headers, footers and page numbers, no headless browser. Hosted in Germany.
pdfrender turns HTML and CSS into PDF over a REST API and an MCP server. WeasyPrint 70 lays out the pages, with paper size, margins, headers, footers and page numbers set in CSS. It runs no JavaScript and fetches no URLs, so images and fonts go in as data: URIs. Limits are 2 MB of HTML and 50 pages per render. The servers are in Germany. The free plan has 100 credits a month and needs no card.
Official integrations for the pdfrender API, generated from its OpenAPI document and published from this repository.
Create a key and send it in the X-API-Key header.
- n8n — community node
@pdfrender-dev/n8n-nodes-pdfrender, install it under Settings → Community Nodes - Python SDK —
pip install pdfrender· PyPI - TypeScript SDK —
npm install @pdfrender-dev/sdk· npm - GitHub Action —
pdfrender-dev/pdfrender-actionon the GitHub Marketplace
Ready-made automations on the API: the walkthrough on the site, the files in this repository.
| Template | Platform | Walkthrough | Files |
|---|---|---|---|
| Webhook JSON to PDF, sent by email (n8n) | n8n | pdfrender.dev/templates/webhook-json-to-pdf-email | templates/webhook-json-to-pdf-email |
| New sheet row to PDF (n8n) | n8n | pdfrender.dev/templates/row-to-pdf | templates/row-to-pdf |
| Scheduled report as a PDF, sent by email (n8n) | n8n | pdfrender.dev/templates/scheduled-report-pdf-email | templates/scheduled-report-pdf-email |
| Operation | Endpoint | What it does |
|---|---|---|
get_me |
GET /v1/me |
Your plan, remaining requests, and remaining credits |
render_html_to_pdf |
POST /v1/render |
Render an HTML document to a PDF |
API reference: https://pdfrender.dev/docs · Base URL: https://api.pdfrender.dev
Every file listed in .generated is rebuilt from the live API; changes to them are overwritten.