Free HTML to PDF Converter

Paste HTML and CSS, get a pixel-perfect PDF rendered by headless Chrome. Great for invoices, reports, and certificates. No signup, no watermark.

Your PDF download link appears here
5 free conversions per 5 minutes · 100 KB max · sign up for 100 free renders/month

How the HTML to PDF conversion works

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.

Need this in your app?

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 →

Frequently asked questions

How do I convert HTML to PDF without installing anything?

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.

Does it support CSS and web fonts?

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.

How do I generate PDFs (like invoices) automatically from code?

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.

What is the size limit?

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: