Convert HTML to PDF with pixel-perfect formatting using modern Chromium. Generate invoices, reports, certificates, and documents from HTML/CSS. Perfect for dynamic content and complex layouts.
100 PDFs/month free • No credit card required
POST your HTML content or URL with PDF formatting options
Modern browser engine processes your content with perfect CSS support
Receive a perfectly formatted PDF document ready for download or sharing
Full support for modern CSS including Grid, Flexbox, and custom fonts.
Control margins, page size, orientation, headers, footers, and page breaks.
Generate PDFs from templates with variables, charts, and real-time data.
Secure sensitive documents with password encryption and access controls.
Generate PDFs in seconds with optimized rendering and smart caching.
Simple REST API with comprehensive docs and SDKs for all languages.
curl -X POST https://api.toolcenter.dev/v1/pdf \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"html": "Hello World
This is a PDF!
",
"pageFormat": "A4",
"margins": {"top": 20, "bottom": 20, "left": 20, "right": 20},
"printBackground": true
}' \
--output document.pdf
Generate professional invoices, receipts, and financial documents with your branding. Perfect for SaaS billing, e-commerce checkouts, and accounting systems.
Convert dashboards, analytics, and data visualizations into shareable PDF reports. Include charts, tables, and dynamic content from your application.
Create course certificates, legal documents, contracts, and official paperwork with custom formatting and branding.
Generate PDFs on-the-fly for email campaigns, order confirmations, shipping labels, and customer communications.
We support standard formats (A4, A3, Letter, Legal) and custom dimensions up to 40 inches. You can set portrait or landscape orientation and control all margins.
Yes! You can add custom headers and footers with page numbers, document titles, dates, or any HTML content. Perfect for official documents and reports.
Our Chromium engine supports all modern CSS features including custom fonts, Grid, Flexbox, and CSS variables. External fonts and stylesheets are fully supported.
Absolutely! Pass any URL instead of HTML content, and we'll fetch and convert the live page. Perfect for archiving, reports, or saving dynamic content.
PDFs are automatically optimized for size while maintaining quality. We support compression settings and can generate web-optimized PDFs for fast loading.
Join thousands of developers using our PDF API. Free tier includes 100 PDFs per month.
Related tools: Screenshot API • QR Code API • vs HTMLCSStoImage