A powerful, developer-friendly API for converting HTML, URLs, and templates into pixel-perfect PDF documents. Simple REST endpoints, lightning-fast rendering.
From simple HTML-to-PDF conversion to complex template-based document creation with barcodes, images, and custom fonts.
Send raw HTML and receive a perfectly rendered PDF. Full CSS support including Flexbox, Grid, and custom fonts via a headless Chromium engine.
Point to any URL and get a PDF snapshot. Supports custom viewports, page sizes, landscape mode, and print-optimized rendering.
Merge multiple files — PDF, DOCX, XLSX, PPTX, ODT, HTML, images, and emails — into a single unified PDF document.
Create PDFs from templates with positioned text, images, barcodes (Code 128), custom fonts, rotation, and multi-page layouts.
Fill AcroForm PDF fields programmatically. Map data to form fields, insert images, and batch-process multiple documents at once.
Clean, well-documented REST endpoints with Swagger/OpenAPI specs. Simple JSON request/response format with base64 or buffer output.
Five endpoints to cover every PDF generation workflow. All accept JSON, all return your document.
No SDKs, no dependencies. Just send a POST request with your content and receive a PDF back. It's that simple.
# Convert HTML to PDF curl -X POST http://localhost:3000/pdf/render-html \ -H "Content-Type: application/json" \ -d '{ "html": "<h1>Hello World</h1>", "filename": "output.pdf", "json": true, "options": { "page": { "format": "A4" } } }' # Convert a URL to PDF curl -X POST http://localhost:3000/pdf/render-url \ -H "Content-Type: application/json" \ -d '{ "url": "https://example.com", "filename": "snapshot.pdf" }'