Generate PDFs from HTML or any public URL using a real headless Chromium browser. Full CSS rendering, custom headers, footers, watermarks, and paper sizes.
POST /generate
Content-Type: application/json
{
"html": "<h1>Invoice #001</h1>...",
"format": "A4",
"margin": "20mm",
"landscape": false
}
{
"status": "ok",
"pdf": "JVBERi0xLjQKJeLjz9MK...",
"pages": 1,
"size_bytes": 45231,
"format": "A4",
"took_ms": 1240
}
Uses actual headless Chrome — full CSS3, web fonts, flexbox, grid, and modern web features render perfectly.
Submit raw HTML markup or a public URL. Both are rendered by the browser before converting to PDF.
A4, Letter, Legal, A3, or custom dimensions. Portrait or landscape orientation. Custom margins.
Add custom HTML headers and footers with page numbers, dates, and document titles.
Add text or image watermarks to all pages. Perfect for draft documents and confidential reports.
Print stylesheets, web fonts (Google Fonts, custom), background colors, images — all rendered accurately.
Free plan available — 100 requests per month, no credit card required.
Get API Key →