AI · HTML · Markdown → PDF

Generate PDFs with

Describe any document — an invoice, a contract, a certificate — and get a polished, ready-to-send PDF in seconds. Or start from your own HTML or Markdown.

pdfgen.com/dashboard
INPUT
Generate
GeneratingClick to write your own prompt
GENERATED PDF✓ Ready
Building an integration? Read the API docs →Using an AI agent? Add the generate_pdf tool →

Start with a ready-made PDF template

Pick a template, make it yours with AI, and download it in minutes.

From prompt to PDF in three steps

Step 1

Describe it

Type what you need — an invoice, contract, receipt — in any language, or upload a sample to copy. AI designs the document.

Step 2

Refine it

Click any text to change it, or ask the AI for edits. Save it as a template to reuse anytime.

Step 3

Download or automate

Download a print-ready PDF. Need hundreds? Generate them from your data with one API call.

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.

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.

Make your first PDF — free

Describe your document and download it in minutes. 30 free PDFs every month — no credit card required.

Building with the API? Get an API key →