HTML to PDF
Render HTML code or an HTML file as a PDF.
Secure temporary processing
Files are sent over HTTPS, processed in an isolated worker and deleted automatically within 30 minutes — or right away when you choose “Delete now”. Privacy
Features
- Free to use, no sign-up
- No watermarks
- Secure temporary processing — files deleted automatically
How to use HTML to PDF
- 1Upload your file (drag and drop, choose, or paste)
- 2Adjust the options if you want to
- 3Click HTML to PDF
- 4Download the result
Frequently asked questions
Why are my external images or scripts missing?
For security, pasted or uploaded HTML is rendered with JavaScript and network access disabled. Embed images as data URIs, or use URL to PDF for public web pages.
Is HTML to PDF really free?
Yes. Every tool on this site is free with no sign-up, no watermark and no premium tier. The only limits are technical ones that keep the service fast for everyone.
What happens to my files?
Your files are sent over an encrypted connection, processed in an isolated worker, and deleted automatically within 30 minutes — or immediately when you click “Delete now”. We never share them or use them for training.
Is there a file size limit?
Files up to 100 MB are accepted. This technical limit protects the free service from overload and is the same for everyone.
Turning HTML into a PDF
HTML to PDF renders HTML code or an .html file as a PDF document. It's useful for developers and anyone who has content as HTML: an email template, an exported report, a saved web page or a simple page you wrote yourself.
Why external images or scripts might be missing
For security, pasted or uploaded HTML is rendered with JavaScript and network access turned off. That means:
- Images linked from other websites won't load. Embed them in the HTML as data URIs instead.
- Web fonts loaded from Google Fonts or a CDN won't appear; the PDF falls back to standard fonts.
- Charts or content created by JavaScript won't render. Export them as static HTML or images first.
If the content is already published on a public website, URL to PDF is usually easier, because it loads the page like a normal visitor.
Tips for good print output
- Use CSS
@media printrules andpage-break-beforeorbreak-inside: avoidto control where pages break. - Keep widths in percentages or set them to fit A4, so content isn't cut off at the right edge.
Rendering runs on our server in an isolated worker, and your file is deleted automatically.