PDF generation API

Stop building PDFs
in code.

Design the template visually. Send your JSON. Get a pixel-perfect PDF back in under a second.

  • Visual template editor — no HTML, no CSS, no browser to run
  • Expressions built in — totals, currencies, dates, conditions
  • Tables, charts, barcodes — that grow with your data
  • Fillable PDF forms — text, checkbox, dropdown, signature
  • REST API, batches, webhooks — and MCP, so AI agents can call it
  • Templates ready to use — invoices, payslips, tax forms, labels

Start free See a template render →

No credit card required. 50 documents every month on the free plan.

POST/v1/create
"template": "tpl_invoice_a4",
"data": {
  "customer": "Northwind Trading Ltd.",
  "invoice_no": "INV-2026-0184",
  "items": [
    { "name": "Document rendering",
      "qty": 1, "price": 5988 }
  ]
}
Invoice
invoice.pdf ● 0.7 s

Every logo change should not need a release

ticket sprint PR review deploy done in the editor
48functions inside an expression
10object types on the page
105documented fields
0.7sto render an invoice
3ways in: API, MCP, embed

Three steps. That is the whole thing.

1

Design the template

Add objects to the page in the editor and bind the parts that change to your data. Or start from a template we already made.

2

Send your JSON

One call with the template id and your data. One document, a batch, or a queue with a webhook.

3

Get the PDF

Back in under a second, as a link you can hand straight to your customer. Same template, every time.

A real editor. No HTML, no CSS.

Snapping, rulers, undo and groups. Click a field in your data and it binds itself into the object you selected.

Click a field, get a binding

Select an object, click a field in your sample data, and the expression lands in it.

Tables that grow

Bind an array. One row becomes as many as your data has, and the total still lines up.

Fillable forms

Text boxes, checkboxes, dropdowns and signature spaces, prefilled from your data.

Your existing PDFs

Merge, stamp, read and fill the files your customers already send you.

Templates, ready to use

Invoices, quotations, payslips, US tax forms, Japanese qualified invoices, shipping labels. Take one, make it yours, call it by id.

Browse every template →

Call it from anywhere

Your backend, an AI agent, or your own customers inside your product.

REST API

One call, one PDF

Send JSON, get the finished file back. Batches and webhooks when there are many.

$ curl -X POST \
  https://brewmypdf.com/v1/create \
  -H "x-api-key: $KEY" \
  -d @invoice.json

{ "ok": true,
  "data": { "status": "done",
    "url": "https://…/d/…" } }
MCP for AI agents

Your agent makes the document

Claude, Cursor and anything else that speaks MCP can pick a template and generate a PDF. Paste one config block.

{
  "mcpServers": {
    "brewmypdf": {
      "url": "https://brewmypdf.com/mcp",
      "headers": {
        "Authorization": "Bearer bmp_live_…"
      }
    }
  }
}
Embed

The editor, inside your product

Give your customers the template editor in an iframe, with your branding and no account here.

POST /v1/embed/sessions
{
  "template_id": "tpl_…",
  "mode": "edit"
}

→ { "url": "https://…" }
Runs on Cloudflare, 330+ citiesEvery render logged and searchableEU data residency availableWe never train on your documents

Questions people ask first

How fast is it?

An invoice renders in about 0.7 seconds and the call returns the finished file. Larger runs go through the batch endpoint and come back as one job.

Do I need a developer to change a template?

No, that is the whole point. The template lives in the editor and the API calls it by id, so moving a field or adding a tax line takes a minute and no release.

Can I use it from an AI agent?

Yes. We are an MCP server: point Claude or Cursor at our endpoint with your API key and the agent can pick a template and generate the document itself.

Can the bill surprise me?

No. There is no overage billing. You pay the plan you chose, and the console shows exactly how much of the month you have used.

Can I put the editor in my own product?

Yes. From Professional you can open the editor inside your app in an iframe, with your branding, and your customers never need an account with us.

Read every question →

Make your first PDF today.
Free, and without a card.

Pick a template, put your data in it, press render. 50 documents every month on the free plan, with no trial clock and no call with sales.

Start free See the docs

No credit card required, cancel any time