PDF Generator API
## Overview PDF Generator API lets you create PDF documents programmatically from HTML, Markdown, or any public URL. Built on Cloudflare Workers for ultra-low latency worldwide. ## Key Features - **HTML to PDF** — Convert raw HTML strings into clean PDF documents - **Markdown to PDF** — Pass Markdown content and get a formatted PDF back - **URL to PDF** — Provide any public URL and receive its…
PDF Generator API endpoints
| Method | Endpoint | Description |
|---|---|---|
| generate | ||
| POST |
generateFromHtml /generate |
Converts an HTML string into a PDF document. Supports custom page size, margins, headers, and footers. |
| from-markdown | ||
| POST |
generateFromMarkdown /from-markdown |
Converts a Markdown string into a PDF document. |
| from-url | ||
| POST |
generateFromUrl /from-url |
Fetches the HTML content of a URL and converts it into a PDF document. |
| Other endpoints | ||
| GET |
healthCheck / |
|
PDF Generator API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $5.99 / month | — |
|
| ULTRA | $14.99 / month | — |
|
| MEGA | $49.99 / month | — |
|