Puppeteer in your function
- ~170 MB of Chromium against a 250 MB function limit
- Slow cold starts and memory spikes
- Missing fonts wherever the function happens to run
HTML · URL · Template → PDF API
POST HTML, a public URL, or a template plus JSON data — get a signed download URL back. The browser engine runs on our infrastructure, not in your serverless function.
Hobby is free — 100 PDFs a month, no credit card.
One POST in, a signed URL back. All documents shown are samples with demo data — Northwind is a fictional client, not a customer.
Why not Puppeteer?
Puppeteer needs Chromium, and Chromium doesn't fit serverless. Leafwright runs the browser engine on its own rendering infrastructure — your function makes one API call and stays small.
Deploying on Vercel? Puppeteer doesn't work on Vercel. Here's the fix.
Render API
POST raw HTML, a public URL, or a published Handlebars template plus JSON data. Sources are validated before they render.
Each render returns a time-limited signed download URL — or raw bytes, or a drop straight into your own S3 or GCS bucket.
Every render is a tracked job with readable logs, retries, webhooks, and usage — from the dashboard or the API.
A remote MCP server with OAuth plus the local @leafwright/mcp package, so Claude, Cursor, and Codex can render PDFs directly.
How it works
Sign up, create a project, and grab an API key. Hobby includes 100 PDFs a month — no credit card.
Send HTML, a public URL, or a published template plus JSON data to /api/v1/pdfs from any runtime.
A signed download URL comes back in seconds, with job logs, retries, and webhooks behind it.
Studio
When a document needs human hands, the studio sits on the same render pipeline you call from code — draft, edit, and review finished PDFs without leaving Leafwright.
Describe the document, audience, and key sections — get structured, on-brand output you can edit on the canvas.
Lock fonts, colors, and footers in a brand kit so every export stays consistent without manual cleanup.
Inline accessibility and print checks catch issues before a document is exported or shared.
Get started
Start free on Hobby — 100 PDFs a month, no credit card. The full render API, templates, and render logs are on every plan.