AI · HTML · Markdown → PDF

Generate PDFs with

Start from an AI prompt, your own HTML, or Markdown — turn any input into a pixel-perfect PDF in seconds, then generate at scale with a single API call.

pdfgen.com/dashboard
INPUT
Generate
GeneratingClick to write your own prompt
GENERATED PDF✓ Ready
Invoice
Building an integration? Read the API docs →

From prompt to PDF in three steps

Step 1

Describe it

Type what you want — an invoice, contract, receipt — or upload a sample to clone. AI builds the template.

Step 2

Refine & save

Tweak by prompt or click-to-edit, mark dynamic fields, then save it as a reusable template.

Step 3

Generate via API

Call one REST endpoint with your data to render pixel-perfect PDFs at scale.

Built for developers

One API call, a perfect PDF

Send your template ID and data; get back a PDF or a signed URL. No headless browsers to babysit, no rendering infrastructure to run.

  • Generate from a saved template or raw HTML
  • Returns a file or a short-lived signed URL
  • Multiple keys, usage logs, and rate limits
pdfgen.com/api/v1/generate
curl -X POST https://pdfgen.com/api/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"template_id": "clx123abc",
"data": {
"customer_name": "Acme Inc",
"invoice_number": "INV-1024",
"line_items": [
{ "name": "Widget", "qty": 2, "amount": "20.00" }
]
},
"export_type": "url"
}'
Response 200 OK
{ "url": "https://…/invoice-1042.pdf" }

Everything you need to ship documents

Design once, generate forever — with the controls real products need.

AI template design

Generate beautiful, on-brand templates from a prompt — or upload a PDF to replicate.

Dynamic data

Handlebars fields, loops, and conditionals — line items, totals, anything data-driven.

Developer API

A clean REST API to generate PDFs from templates or raw HTML in one call.

Page formats

A4, US Letter, Legal, A3, A5, Tabloid — pick the size your documents need.

Password protection

Encrypt generated PDFs with a password and control print/copy permissions.

Bring your own S3

Deliver as a file, a signed URL, or upload straight to your own storage bucket.

Start with a ready-made PDF template

Pick a template, remix it with AI, then generate at scale.

Integrate PDFgen with no-code platforms

Generate PDFs from the tools you already use — connect to Zapier, Make, n8n, and Airtable with little to no code.

Start generating PDFs at scale

Generate a template, grab your API key, and call it in minutes. Your first 30 credits are on us — no credit card required.