Chromium rendering engine with full CSS3/Flexbox/Grid support. Enterprise-grade security for production-ready PDF generation. * Chromium is available on Pro and above. Free uses the fast engine (wkhtmltopdf).
$ curl -X POST /api/pdf/generate-from-html \
-H "Authorization: Bearer sk-xxxxx" \
-d '{"html":"<h1>Hello</h1>"}'
{
"success": true,
"data": {
"download_url": "https://...pdf",
"file_size": 45321
}
}Building a PDF conversion API from scratch means handling authentication, rate limiting, storage, and cleanup. FUNBREW PDF provides it all in one package.
POST your HTML and get a download URL back as JSON.
curl -X POST https://pdf.funbrew.cloud/api/pdf/generate-from-html \
-H "Authorization: Bearer sk-your-api-key" \
-H "Content-Type: application/json" \
-d '{"html": "<h1>Hello</h1>", "options": {"page-size": "A4"}}'{
"success": true,
"data": {
"filename": "a1b2c3d4-e5f6-...-7890.pdf",
"download_url": "https://api.example.com/api/pdf/download/a1b2c3d4-...",
"file_size": 45321,
"expires_at": "2026-03-20T12:00:00.000000Z",
"max_downloads": 0,
"remaining_downloads": -1
}
}Instead of building PDF generation yourself, let the API handle it. Just add a few lines to your existing system.
Feed order data from your accounting system into a template and send it to the API. Generation, storage, and expiry management are all handled API-side.
// Fill the invoice template with data and turn it into a PDF
const html = renderInvoice(order);
const res = await fetch("/api/pdf/generate-from-html", {
method: "POST",
headers: {
"Authorization": `Bearer ${API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
html,
options: { "page-size": "A4" },
expiration_hours: 168, // valid for 7 days
email: { // email the PDF as an attachment
to: order.email,
subject: "Your invoice",
},
}),
});Pass a dashboard URL to the API to capture it as a PDF. Combine with cron to deliver daily reports to Slack automatically.
# Every morning at 9: turn the dashboard into a PDF and post it to Slack
res = requests.post(
f"{API_BASE}/api/pdf/generate-from-url",
headers={"Authorization": f"Bearer {API_KEY}"},
json={
"url": "https://bi.internal/dashboard/daily",
"options": {"page-size": "A3"},
},
)
pdf_url = res.json()["data"]["download_url"]
slack.post(channel, f"Daily report: {pdf_url}")Contracts, certificates, insurance policies — generate unique PDFs per user. Download limits prevent link sharing, and expired files are auto-deleted.
// Generate and return a certificate PDF for each user
$html = view('certificate', [
'user' => $user,
'course' => $course,
'issued_at' => now(),
])->render();
$res = Http::withToken($apiKey)
->post("{$apiBase}/api/pdf/generate-from-html", [
'html' => $html,
'max_downloads' => 3, // up to 3 downloads
'expiration_hours' => 72,
]);
return $res->json('data.download_url');Save point-in-time snapshots of web pages as PDFs. Just send the URL — no scraping or headless browser management needed.
// Turn a list of URLs into PDFs
const urls = [
"https://example.com/product/123",
"https://example.com/product/456",
];
const results = await Promise.all(
urls.map((url) =>
fetch("/api/pdf/generate-from-url", {
method: "POST",
headers: {
"Authorization": `Bearer ${API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ url }),
}).then((r) => r.json())
)
);
results.forEach((r) => console.log(r.data.download_url));3 plans based on monthly generation volume. All prices exclude tax.
| Free | Pro | Business | |
|---|---|---|---|
| Monthly | $0 | $79 | $399 |
| PDFs / month | 30 | 1,000 | 10,000 |
| API requests / min | 10 | 120 | 300 |
| Storage | 10MB | 1GB | 5GB |
| Watermark | "FUNBREW PDF" | None | None |
| Chromium Engine (CSS3) | — | ✓ | ✓ |
| Templates | Unlimited | Unlimited | Unlimited |
| Webhook / Slack | ✓ | ✓ | ✓ |
| Batch / Merge | ✓ | ✓ | ✓ |
| S3 Storage | — | — | ✓ |
| IP restriction | — | — | ✓ |
| Members | No limit on number | No limit on number | No limit on number |
| Support | Priority email | Priority email | |
| Start free | Get started | Get started |
For high volume or a dedicated environment (dedicated infrastructure, SLA, unlimited), please contact us. Contact us
When you reach the monthly limit, generation stops until next month (no overage charges).
Free plan requires no credit card. You can change plans anytime from the dashboard.
FUNBREW Inc., the company behind FUNBREW PDF, is a systems development company. From API integration to workflow automation, we provide end-to-end support.
View use casesFree plan includes 30 PDFs/month. Integration support available.