Paste HTML and CSS, get a pixel-perfect PDF rendered by headless Chrome. Great for invoices, reports, and certificates. No signup, no watermark.
Your markup is loaded into a sandboxed headless Chrome instance and printed to PDF using Chrome's native print engine — the same output you'd get from “Save as PDF” in the browser, but via an API. Modern CSS (flexbox, grid, custom fonts, page backgrounds) is fully supported.
This tool is powered by our REST API. Automate it with one HTTP call — 100 free renders every month, no credit card required.
curl -X POST https://screenshotapis.org/v1/pdf \
-H "X-Api-Key: sk_live_your_key" \
-H "Content-Type: application/json" \
-d '{"html": "<h1>Invoice #42</h1>"}' \
--output invoice.pdf
Get a free API key →
Paste your HTML (inline CSS is fine) in the editor above and click Convert. It renders in headless Chrome server-side and returns a downloadable PDF.
Yes — the document is rendered by a real Chrome engine, so modern CSS, flexbox, grid, and linked web fonts all work exactly as in the browser.
Use the API: POST your HTML to /v1/pdf and get a PDF back — ideal for invoices, reports, and certificates. See our invoice generation guide on the blog.
The free tool accepts up to 100 KB of HTML. The API supports much larger documents plus headers, footers, page formats, and margins.
More free tools: