Convert HTML to PDF
Convert an HTML file or pasted HTML code into a PDF document, with page size options and a live preview. Free, private and processed in your browser.
HTML to PDF turns web content into a fixed document: an HTML email you want to keep, a report generated as HTML, an invoice template, or code you have written yourself.
How to use it
- Select an .html file, or paste HTML code.
- Choose the page size and layout options.
- Check the preview, then create the PDF and save it.
Tips
- Include your styles inside the HTML (in a style tag) so they are applied.
- Images must be embedded or available online to appear.
- Use CSS page-break rules to control where pages break in long documents.
Frequently asked questions
Can I convert a website by its address? This tool converts HTML you provide. To save a web page, use your browser's Print → Save as PDF option, or save the page as HTML first.
Is my HTML uploaded? No. The PDF is created in your browser.
Common uses
- Keeping a copy of an HTML email receipt or booking confirmation.
- Turning an HTML invoice or report template into a PDF to send.
- Saving documentation or notes you have written in HTML.
Why do some images not appear? Images that are only available on your computer, or on a site that blocks outside access, cannot be loaded. Embed them in the HTML or use images that are publicly available online.
Related guides
- How to Reduce a PDF’s Size for Online Forms and Email
- How to Scan Documents with Your Phone (and Make Them Look Professional)