25 free trial pages for new users
Convert HTML to PDF with simple, reliable API calls
Built for invoices, reports and document workflows. Fast rendering, async jobs, API keys and predictable pricing.
Sample request
curl -X POST "https://api.html2pdf.online/v1/convert" \
-u "sk_live_xxx:" \
-H "Content-Type: application/json" \
-d '{"source":"<html><body><h1>Hello</h1></body></html>"}' \
--output output.pdfEvaluating alternatives? See how we stack up against Other Tools.
API reliability
CheckingLive health checks every minute from the public API endpoint. Uptime target: 99.9%.
Last checked: waiting for first probe
Everything needed to ship PDF features
API-first platform for product teams and automation workflows.
Fast rendering
Chromium-based rendering with header/footer, margins, watermark and wait controls.
Built for scale
Async worker queue, API keys, plan-based rate limits and usage enforcement.
Developer first
Simple REST API, predictable pricing, dashboard for keys and billing.
Use cases
- Invoice and receipt generation
- Client reports and statements
- Certificates and contracts
- Scheduled snapshots from web apps
Next step
Create account, generate API key, send first convert request in under 5 minutes.
One API, all major languages
Pick your stack, copy the snippet, and ship quickly.
curl -X POST "https://api.html2pdf.online/v1/convert" \
-u "sk_live_xxx:" \
-H "Content-Type: application/json" \
-d '{"source":"<html><body><h1>Hello</h1></body></html>"}' \
--output output.pdf