API v1.0 — Production Ready

Generate PDFs
at Scale

A powerful, developer-friendly API for converting HTML, URLs, and templates into pixel-perfect PDF documents. Simple REST endpoints, lightning-fast rendering.

API Documentation Quick Start
5
API Endpoints
10+
File Formats
<2s
Avg Render Time
A4+
Page Formats

Everything you need for PDF generation

From simple HTML-to-PDF conversion to complex template-based document creation with barcodes, images, and custom fonts.

HTML to PDF

Send raw HTML and receive a perfectly rendered PDF. Full CSS support including Flexbox, Grid, and custom fonts via a headless Chromium engine.

URL to PDF

Point to any URL and get a PDF snapshot. Supports custom viewports, page sizes, landscape mode, and print-optimized rendering.

File Merging

Merge multiple files — PDF, DOCX, XLSX, PPTX, ODT, HTML, images, and emails — into a single unified PDF document.

Template Engine

Create PDFs from templates with positioned text, images, barcodes (Code 128), custom fonts, rotation, and multi-page layouts.

Form Filling

Fill AcroForm PDF fields programmatically. Map data to form fields, insert images, and batch-process multiple documents at once.

REST API

Clean, well-documented REST endpoints with Swagger/OpenAPI specs. Simple JSON request/response format with base64 or buffer output.

Simple, powerful endpoints

Five endpoints to cover every PDF generation workflow. All accept JSON, all return your document.

POST /pdf/render-html Convert raw HTML to a PDF document
POST /pdf/render-url Capture any URL as a PDF snapshot
POST /pdf/merge Merge multiple files into a single PDF
POST /pdf-creator Generate PDFs from positioned templates
POST /pdf-form-creator Fill AcroForm fields in PDF templates

Up and running in seconds

No SDKs, no dependencies. Just send a POST request with your content and receive a PDF back. It's that simple.

1
Send your HTML or URL
POST a JSON payload with your content to the appropriate endpoint.
2
We render pixel-perfect
Headless Chromium generates your PDF with full CSS and JavaScript support.
3
Get your PDF
Receive the PDF as a binary buffer or base64-encoded JSON response.
curl
# 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"
  }'