Invoices, receipts, contracts & certificates — from JSON or any AI agent
⚡ First PDF in 60 seconds
🤖 MCP server available

Professional PDFs, without touching layout

Invoices, receipts, contracts, certificates — send your data, we handle the design, tax, currencies and rendering. Ready in a second, from your code or an AI agent. HTML, Markdown & URLs work too.

100 free PDFs/month · No credit card required

generate.ts
// Generate an invoice PDF in 3 lines
const res = await fetch("https://api.renderpdfs.com/v1/generate", {
  method: "POST",
  headers: {
    "X-API-Key": "rpdf_your_key_here",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    template: "invoice",
    data: {
      company_name: "Acme Corp",
      client_name: "John Doe",
      invoice_number: "INV-001",
      total: "$1,500.00",
      items: [{ description: "Web Dev", quantity: 1, amount: "$1,500.00" }],
    },
  }),
});

const pdf = await res.blob(); // ← your PDF, ready to save or display

Anything becomes a PDF

6 input types · 1 endpoint · zero setup

⚡
HTML → PDF
Any HTML + CSS
📝
Markdown → PDF
Headings, code, tables
🖼️
Image → PDF
JPG · PNG · WebP · SVG
🌐
URL → PDF
Any public webpage
📄
Templates → PDF
6 ready-made templates
🔗
PDF Merge → 1 PDF
Combine multiple PDFs

Everything you need

Document generation without the plumbing.

📄

6 Ready-made Templates

Invoice, receipt, contract, certificate, offer letter, report. Send JSON — we handle the layout, tax and currencies.

🤖

AI-ready (MCP)

Plug into Claude, Cursor or any MCP client. Your agents generate invoices & documents from plain language.

🔗

Merge PDFs

Combine multiple PDFs into one document. Pass an array of URLs — merged in seconds.

⚡

HTML → PDF

Send any HTML string and get back a pixel-perfect PDF. Full CSS & font support.

📝

Markdown → PDF

Pass raw Markdown — we render it into a beautifully styled PDF with proper headings, code blocks, and tables.

🌐

URL & Image → PDF

Capture any public webpage or image (JPG, PNG, WebP) as a clean PDF instantly.

Try it live

Paste your HTML and get a real PDF — no signup needed.

index.html
📄

Your PDF preview will appear here

One request. That's it.

Here's what a real request and response looks like.

POSTapi.renderpdfs.com/v1/generate
{
  "html": "<h1>Invoice #001</h1>",
  "options": {
    "format": "A4",
    "margin": "20px"
  }
}
200 OKapplication/pdf
// Ready to use in your app:

const blob = await res.blob();

// Save to disk
fs.writeFileSync('invoice.pdf',
  Buffer.from(await blob.arrayBuffer()));

// Or stream to browser
res.setHeader('Content-Type',
  'application/pdf');

Auth via X-API-Key header · Response in ~200ms · SDKs available

🤖
AI-native · MCP Server

Let your AI generate PDFs for you

RenderPDFs is the only PDF API with a built-in MCP server. Claude, Cursor, and Windsurf can generate PDFs straight from your prompts — no code required.

Example

You
Generate an invoice PDF for ACME Corp, $2,500, due April 30
AI
✅ Invoice generated!
generate_invoice_pdf({company: "ACME Corp"...})
📥 Download PDF (valid 24h)

Claude calls generate_invoice_pdf and returns a download link automatically.

Works with

✓
Claude Desktop
claude_desktop_config.json
✓
Claude Code
settings.json → mcpServers
✓
Cursor
~/.cursor/mcp.json
✓
Windsurf
mcp_settings.json

Setup (60 seconds)

claude_desktop_config.json
{
  "mcpServers": {
    "renderpdfs": {
      "url": "https://api.renderpdfs.com/mcp",
      "headers": {
        "X-API-Key": "your_api_key"
      }
    }
  }
}

Available tools

generate_pdf_from_htmlgenerate_pdf_from_urlgenerate_invoice_pdfgenerate_receipt_pdfgenerate_contract_pdfgenerate_certificate_pdfgenerate_offer_letter_pdf
View full MCP documentation →

Simple, transparent pricing

Start free. Scale when you need to.

Free
$0forever
100 PDFs / month
  • ✓HTML to PDF
  • ✓URL to PDF
  • ✓Markdown to PDF
  • ✓3 built-in templates
  • ✓API key access
  • ✓Community support
Get Started
Most Popular
Starter
$9/ month
5,000 PDFs / month
  • ✓Everything in Free
  • ✓5,000 PDFs/month
  • ✓60 req/min
  • ✓Priority support
  • ✓Usage dashboard
Get Started
Pro
$19/ month
15,000 PDFs / month
  • ✓Everything in Starter
  • ✓15,000 PDFs/month
  • ✓100 req/min
  • ✓All 6 templates
  • ✓Dedicated support
Go Pro
Business
$79/ month
60,000 PDFs / month
  • ✓Everything in Pro
  • ✓60,000 PDFs/month
  • ✓200 req/min
  • ✓SLA guarantee
  • ✓2–12h support
Go Business

Frequently asked questions

What counts as a PDF?▾

Each successfully generated PDF counts as one. Failed requests are never counted against your quota.

What happens if I exceed my limit?▾

The API returns a 429 error. You can upgrade from your dashboard or wait for the next billing cycle.

Can I cancel anytime?▾

Yes. Cancellation takes effect at the end of your current billing period. No hidden fees.

Do failed requests count toward my quota?▾

No. Only successful generations (HTTP 200) consume your quota.

Do you support custom fonts?▾

Yes, via CSS @font-face with any publicly accessible font URL.

Is there a free trial?▾

The free plan gives you 100 PDFs/month forever with no credit card. No trial needed.

★★★★★

“Exactly what I needed — a clean API to generate PDFs. No heavy dependencies, no setup.”

Alex M.
Fullstack developer
★★★★★

“Replaced my Puppeteer setup with RenderPDFs in under an hour. Invoices look perfect.”

Sarah K.
Founder, B2B SaaS
★★★★★

“Works perfectly on Vercel and Lambda. It's the most boring part of my stack, and that's exactly what I want.”

James T.
Backend engineer

Start generating PDFs today

Free forever for 100 PDFs/month. No credit card needed.

Get your free API key →