HTML to PDF Converter
Render your HTML and save it as a PDF through the browser print dialog.
How to use this converter
Complex files can produce different results depending on their structure.
About this tool
Render your HTML and save it as a PDF through the browser print dialog. Processing happens on your device whenever possible, so your pasted content is not stored by ConvertToHTML.com.
Frequently asked questions
How do I convert HTML to PDF?
Paste your HTML, create the preview and use the browser print dialog to save it as a PDF.
Can I convert an HTML file to PDF in Chrome?
Yes. Open or preview the HTML, choose Print in Chrome and select Save as PDF as the destination.
How do I convert HTML to PDF on Windows or Mac?
Use the converter to preview the page, then use your browser's Print command. Select Save as PDF on Windows or PDF in the macOS print dialog.
Will CSS and images appear in the PDF?
Visible styles and accessible images can appear in the print result, but browser print rules, blocked resources and page sizing can change the layout.
Can I add page breaks before creating the PDF?
Yes. Add print CSS such as break-before, break-after or break-inside rules to the appropriate elements, then check the print preview.
More conversion tools
Text to HTML Converter
Open this free browser-based converter.
↗Markdown to HTML Converter
Open this free browser-based converter.
↗HTML to Text Converter
Open this free browser-based converter.
↗HTML to Markdown Converter
Open this free browser-based converter.
↗CSV to HTML Table Converter
Open this free browser-based converter.
↗JSON to HTML Converter
Open this free browser-based converter.