Free Online HTML to PDF Converter
Turn an HTML file or pasted HTML code into a PDF. See a live preview, choose the paper size, and save the result as a PDF. Saved web pages work too: select the .html file together with its styles and pictures.
How to use HTML to PDF
- Open HTML to PDF and drop your .html file, or choose "Paste HTML Code".
- If you saved a web page, select the .html file together with the files from its folder so styles and pictures load.
- Check the live preview, and choose the paper size or one long page.
- Create the PDF, or use "Print / Save as PDF" to keep selectable text.
Features
Convert a saved page, an exported email or HTML you paste in directly.
See the page before converting, so you know how it will look.
Choose A4, Letter and other sizes, or one long continuous page.
Add the CSS and image files that belong to the page for an accurate result.
Try to block ads and remove pop-ups from saved pages before converting.
The HTML is rendered by your browser and never uploaded.
When to use it
HTML to PDF is handy when you want a permanent copy of something saved in a web page format: an online receipt or ticket, a newsletter, documentation you want to read offline, or a page you designed yourself. A PDF keeps the content exactly as it was on the day you saved it, which is useful for records and proof of purchase. Developers can also paste HTML to quickly check how a template prints on real paper sizes.
Frequently asked questions
Can I convert a saved web page?
Yes. Save the page in your browser, then select the .html file together with the files in its folder so that the styles and images appear in the PDF.
Will the text in the PDF be selectable?
Use "Print / Save as PDF" to create a PDF with selectable text through your browser print dialog. The normal create button makes an exact picture of each page, which keeps the look but not selectable text.
Can I paste HTML code?
Yes. Choose "Paste HTML Code", paste it in, and the preview shows the result straight away.
Is my file uploaded?
No. The HTML is shown and converted inside your own browser.
Why do some pictures not appear?
The pictures are separate files. Select them together with the HTML file, or make sure the page uses full web addresses for its images.