Document generation API
Generate
PDFs from
HTML templates
DocForge gives your product team a fast, reliable document pipeline for invoices, proposals, and branded PDFs — without managing rendering infrastructure.
curl -X POST https://api.docforge.app/api/v1/render -H "Content-Type: application/json" -H "X-API-Key: df_live_your_key" -d '{
"templateId": "tmpl_invoice_01",
"data": {
"customer": "Acme Inc.",
"invoiceNumber": "INV-2026-042",
"amount": "$1,250.00"
}
}' --output invoice.pdfHow it works
From template
to PDF
Upload template
Store HTML and Handlebars templates once, then reuse them across invoices, contracts, and reports.
Send data via API
POST structured JSON payloads with your template ID and render options from any backend or job queue.
Get PDF back
Receive production-ready PDFs in seconds with predictable limits, analytics, and usage controls.
Features
Everything for document automation
Sub-second rendering
Chromium-powered PDF generation with optimized pooling delivers documents in under 2 seconds.
Template versioning
Track every change to your templates with full version history. Roll back anytime without breaking live integrations.
Batch rendering
Generate up to 50 PDFs in a single API call. Perfect for monthly invoices, reports, and bulk document runs.
Custom CSS & fonts
Upload custom stylesheets and load web fonts. Full control over typography, layout, and branding.
Webhooks & storage
Get notified when renders complete. Auto-store PDFs in S3-compatible storage with signed download links.
Team workspaces
Collaborate with role-based access control. Manage templates, API keys, and billing across your organization.
Developer-first
Ship without infrastructure
Use a stored template ID, pass in structured JSON, and let DocForge handle rendering, tier enforcement, and analytics.
await fetch('/api/v1/render', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-Key': process.env.DOCFORGE_API_KEY
},
body: JSON.stringify({
templateId: 'tmpl_contract_02',
data: {
company: 'Northwind',
signer: 'Avery Stone'
}
})
});Compare
Why teams choose DocForge
| Feature | DocForge | wkhtmltopdf | Puppeteer DIY | DocRaptor |
|---|---|---|---|---|
| HTML + Handlebars templates | ✓ | ✗ | ✓ | ✓ |
| Custom CSS & web fonts | ✓ | ✗ | ✓ | ✓ |
| Batch rendering (50+ docs) | ✓ | ✗ | ✗ | ✗ |
| Template versioning | ✓ | ✗ | ✗ | ✗ |
| Team workspaces & RBAC | ✓ | ✗ | ✗ | ✗ |
| Webhook notifications | ✓ | ✗ | ✗ | ✓ |
| S3 storage & download links | ✓ | ✗ | ✗ | ✗ |
| Usage analytics dashboard | ✓ | ✗ | ✗ | ✗ |
| No infrastructure to manage | ✓ | ✗ | ✗ | ✓ |
| Free tier available | ✓ | ✓ | ✓ | ✗ |
Testimonials
Trusted by engineering teams
“We replaced our entire PDF generation pipeline with DocForge in an afternoon. Our invoicing system went from flaky wkhtmltopdf crashes to rock-solid renders.”
Sarah Chen
CTO, Meridian Billing
“The template versioning alone sold us. We can iterate on document layouts without worrying about breaking production. Batch rendering 10k invoices monthly just works.”
Marcus Rivera
Lead Engineer, NorthPeak Finance
“Our team was spending 20 hours a month maintaining Puppeteer infrastructure. DocForge gave us that time back and the PDFs actually look better.”
Jamie Okafor
Engineering Manager, Clearpath Legal
Pricing
Predictable plans
$0
50 docs/month
- Handlebars templating
- PDF rendering
- API access
- Usage analytics
$29/mo
5,000 docs/month
- Handlebars templating
- PDF rendering
- API access
- Usage analytics
- Priority rendering
- Email support
$99/mo
50,000 docs/month
- Handlebars templating
- PDF rendering
- API access
- Usage analytics
- Priority rendering
- Custom templates
- Dedicated support
- SLA
Start generating PDFs
in five minutes
Create a free account, upload your first template, and render your first PDF — no credit card required.