PDF Generation
Convert HTML to PDF with full CSS3 support, custom page sizes, and background rendering.
Doppio replaces self-hosted Puppeteer, wkhtmltopdf, and fragile PDF libraries with a single, fully managed API. Send HTML, get back pixel-perfect documents.
Convert web pages, base64-encoded HTML, or saved templates into production-quality PDF documents. Doppio uses a Chromium-based renderer, so modern layouts such as Flexbox, CSS Grid, webfonts, and JavaScript-heavy pages can be rendered through a single API.
const response = await fetch('https://api.doppio.sh/v1/render/pdf/direct', { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ page: { pdf: { printBackground: true, format: 'A4' }, goto: { url: 'https://your-app.com/invoice/42' } } }) }); const pdfBuffer = Buffer.from(await response.arrayBuffer());
Take high-resolution screenshots of any web page or HTML snippet. Use custom viewports, retina scaling, and clip regions to capture exactly what you need — from full-page captures to cropped UI components.
Create reusable HTML templates directly in Doppio's built-in editor. Inject dynamic data via the API and generate invoices, contracts, reports, or marketing banners at scale — without touching a single line of front-end code each time.
// Generate a document from a saved template const response = await fetch('https://api.doppio.sh/v1/template/direct', { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ templateId: 'tpl_invoice_v2', templateData: { DOP_company: 'Acme Corp', DOP_amount: '$1,250.00', DOP_date: '2026-03-05' } }) }); const pdfBuffer = Buffer.from(await response.arrayBuffer());
Doppio can upload rendered documents to your own S3-compatible storage via presigned URLs. If you provide a presigned URL, the file is uploaded to your bucket; otherwise, Doppio can temporarily host the rendered document for sync responses. Combine this with async mode and webhooks for batch workflows.
From rendering fidelity to developer ergonomics, every feature is built for production use.
Convert HTML to PDF with full CSS3 support, custom page sizes, and background rendering.
Capture full-page or element-level PNG screenshots with retina scaling and clip regions.
Built-in template editor with data injection, optional Paged.js workflows, and version management.
Upload rendered documents directly to your own S3-compatible bucket via presigned URLs.
Get notified when async renders complete. Fire-and-forget large document batches.
Choose real-time synchronous response or asynchronous rendering for complex documents.
Each document renders in a sandboxed Chromium instance destroyed immediately after.
Full observability with detailed logs for every API call. Debug failed renders instantly.
Flexbox, Grid, animations, variables — plus full JavaScript execution before capture.
Full Google Fonts library plus custom @font-face for accurate typography in every document.
Live chat with our engineering team. Average response time under 2 hours.
Distributed computing clusters handle workloads from hundreds to millions of documents without breaking a sweat.
Doppio is a simple REST API. If your stack can make an HTTP request, you can generate documents.
Sign up for free in under 30 seconds. No credit card, no trial expiration.
Send a POST request with your HTML or URL. Receive a PDF or PNG in the response.
Upgrade your plan when you ship. Doppio handles auto-scaling, monitoring, and uptime.
See how Doppio stacks up against self-hosted solutions and other PDF APIs.
| Feature | Doppio | wkhtmltopdf | Self-hosted Puppeteer | Other SaaS APIs |
|---|---|---|---|---|
| Modern CSS (Flexbox, Grid) | ✓ | ✗ | ✓ | Varies |
| Managed infrastructure | ✓ | ✗ | ✗ | ✓ |
| Auto-scaling | ✓ | ✗ | DIY | Varies |
| Direct S3 upload | ✓ | ✗ | DIY | Varies |
| Async + Webhooks | ✓ | ✗ | DIY | Varies |
| HTML template editor | ✓ | ✗ | ✗ | Varies |
| Paged.js support | ✓ | ✗ | DIY | ✗ |
| GDPR & EU-hosted | ✓ | Self | Self | ✗ |
| HDS certified | ✓ | ✗ | ✗ | ✗ |
| Free tier | ✓ 400 docs/mo | Open source | Server costs | Varies |
Doppio is built for companies that demand airtight data handling and regulatory compliance.
All data processing is fully GDPR compliant. No document content is retained after rendering.
All servers are in Europe, ensuring data sovereignty and reduced latency for EU customers.
Every document renders in a dedicated Chromium sandbox that is destroyed immediately after processing.
HDS (Hébergeur de Données de Santé) certified — a strong differentiator for healthcare data over US-based competitors.
Sync responses can temporarily host rendered documents. If you need the file to live only in your own storage, use presigned URL upload.
With a presigned URL, the rendered file is uploaded to your own S3-compatible bucket instead of relying on Doppio's temporary hosting.
Join 4000+ companies using Doppio to generate millions of PDFs and screenshots every month. Free plan, no credit card required.