Free HTML to PDF converter

Paste HTML or a URL and download a PDF — choose page size, orientation, and margins. No signup, no credit card. Powered by the Rendershot API.

PDF options

Page size
Orientation
Margins
Print backgrounds
Remove ads & cookie banners
Wait until
Your PDF will appear here.

Want this in your own code?

This tool runs on Rendershot's HTML to PDF API (and URL to PDF API). Generate PDFs programmatically with one request — the free plan includes 200 renders/month, no credit card.

curl -X POST https://api.rendershot.io/v1/pdf \
  -H 'X-API-Key: sk_live_...' \
  -H 'Content-Type: application/json' \
  -d '{"html":"<h1>Invoice #123</h1>","format":"A4"}' \
  --output document.pdf

Frequently asked questions

How do I convert HTML to PDF?

Switch to the "From HTML" tab, paste your HTML, choose a page size and margins, and click Generate PDF. The HTML is rendered on a real Chromium browser — so your CSS applies — and you get a downloadable PDF. You can also convert a live page with the "From URL" tab.

Is this HTML to PDF converter free?

Yes, it's free with no signup. It's rate-limited per visitor to keep it fast for everyone. To convert HTML or URLs to PDF in bulk or from your own code, grab a free Rendershot API key — 200 renders/month, no credit card.

Can I convert a URL (web page) to PDF, not just HTML?

Yes. Use the "From URL" tab, paste the page's address, and the tool renders the live page to PDF — including JavaScript-rendered content. You can also remove cookie banners and choose when to capture.

Can I control page size, orientation, and margins?

Yes. Choose A4, A3, Letter, or Legal, portrait or landscape, and a margin preset. Page backgrounds are printed by default so styled templates look right.

How do I convert HTML to PDF in my own code?

This tool runs on the Rendershot API. From code you POST your HTML (or a URL) to /v1/pdf with your API key and get PDF bytes back — see the example below. The free plan includes 200 renders/month.