How to convert an HTML file to PDF
An HTML file is a saved web page, a report generated by a program or an email message. To send, print or archive it, a PDF is more convenient. The converter turns an HTML file from your disk into a PDF with A4 pages.
- Add the HTML file
Drop an .html or .htm file into the box above.
- Convert
The content is laid out on A4 pages with the styles stored in the file.
- Download the PDF
Combine several files into one document or save them separately in a ZIP.
Good to know
- it works with HTML files saved on your disk – you do not enter a web address
- styles written in the file are kept, but external CSS stylesheets and scripts are skipped
- images from the internet may not appear
- wide content is scaled down to the page width
How to save a web page as PDF
If you want to turn an open web page into a PDF, the easiest way is to print it in your browser (Ctrl+P) and choose “Save as PDF”. Our converter is useful when you already have the HTML file itself, such as a report or an export from a program.
Frequently asked questions
Can I enter a website address?
No, the converter accepts HTML files. You can save an open page as PDF by printing it in your browser.
Are scripts in the file run?
No, for security reasons scripts are removed before conversion.
Is the file uploaded to a server?
No, it is processed in your browser.