PDFend Documentation
PDFend turns HTML and CSS into pixel-perfect PDFs via a simple HTTP API. Use it from any language, framework, or AI agent.
Where to start
- Quickstart — generate your first PDF in under a minute.
- Authentication — how API keys and rate limits work.
- Templates — reusable Handlebars templates with variables.
- MCP Server — let Claude, ChatGPT, Cursor generate PDFs directly.
Core ideas
Everything revolves around a single endpoint: POST /v1/generate. You either send raw html or reference a stored template plus data. Responses include a URL to the generated PDF stored on S3-compatible storage.
Small documents use synchronous mode (response includes the PDF URL). Large documents — or batch workloads — can use async mode, which returns a job id and optionally posts to a webhook when ready.