HTML to PDF
Convert your HTML page or snippet into a PDF file.
How to use HTML to PDF
- 1Paste your HTML or open an .html file.
- 2Choose the paper size, direction and margin and check the preview.
- 3Press Create PDF and choose Save as PDF in the print window.
About this tool
HTML is the language of web pages. If you have an invoice, a letter, a report or a page of your own written in HTML, you can turn it into a PDF with this tool. The text stays sharp and selectable because the PDF is made by your browser print engine.
You can choose A4, Letter or A5, portrait or landscape, and the page margin. When the print window opens, choose Save as PDF as the printer. Scripts inside your HTML are switched off for your safety, and nothing is uploaded. If your page has coloured backgrounds, tick Background graphics in the print window.
Frequently asked questions
Why does a print window open?
Your browser creates the PDF itself. Choose Save as PDF as the destination and press Save.
Will my CSS styles work?
Yes. Styles written in your HTML or in style tags are used. External files and fonts are loaded if the address is public.
Can I convert a web address?
Not directly. Browsers do not let one site read another site, so paste the HTML code instead.