Generate PDFs with one API call
Turn HTML, Markdown, images or templates into pixel-perfect PDFs. Merge documents, generate invoices — in seconds. No browser, no setup, just your API key.
100 free PDFs/month · No credit card required
// 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 displayAnything becomes a PDF
6 input types · 1 endpoint · zero setup
Everything you need
Simple, powerful, built for developers.
HTML → PDF
Send any HTML string and get back a pixel-perfect PDF. Full CSS & font support.
URL → PDF
Pass any public URL and we'll capture it as a PDF. Great for reports and screenshots.
Markdown → PDF
Pass raw Markdown — we render it into a beautifully styled PDF with proper headings, code blocks, and tables.
Image → PDF
Send any public image URL (JPG, PNG, WebP) and get back a clean single-page PDF instantly.
6 Built-in Templates
Invoice, receipt, report, contract, certificate, offer letter. Pass JSON — we handle the layout.
Merge PDFs
Combine multiple PDFs into one document. Pass an array of URLs — merged in seconds.
Try it live
Paste your HTML and get a real PDF — no signup needed.
Your PDF preview will appear here
One request. That's it.
Here's what a real request and response looks like.
{
"html": "<h1>Invoice #001</h1>",
"options": {
"format": "A4",
"margin": "20px"
}
}// 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
Simple, transparent pricing
Start free. Scale when you need to.
- ✓HTML to PDF
- ✓URL to PDF
- ✓Markdown to PDF
- ✓3 built-in templates
- ✓API key access
- ✓Community support
- ✓Everything in Free
- ✓5,000 PDFs/month
- ✓60 req/min
- ✓Priority support
- ✓Usage dashboard
- ✓Everything in Starter
- ✓15,000 PDFs/month
- ✓100 req/min
- ✓All 6 templates
- ✓Dedicated support
- ✓Everything in Pro
- ✓60,000 PDFs/month
- ✓200 req/min
- ✓SLA guarantee
- ✓2–12h support
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.”
“Replaced my Puppeteer setup with RenderPDFs in under an hour. Invoices look perfect.”
“Works perfectly on Vercel and Lambda. It's the most boring part of my stack, and that's exactly what I want.”
Start generating PDFs today
Free forever for 100 PDFs/month. No credit card needed.
Get your free API key →