HTML to PDF
Paste HTML or open an .html file, preview it safely, then save it as a PDF with your browser’s print dialog.
Runs in your browser. Files aren’t uploaded.
Scripts, forms and embedded frames are removed, and images or styles from other websites aren’t loaded. Use images embedded as data URLs if you need them.
Preview
Opens your browser’s print dialog. Choose “Save as PDF” (or “Microsoft Print to PDF”) as the destination.
How to use HTML to PDF
- 1Paste HTML or open an .html file.
- 2Choose page size and margins and check the preview.
- 3Select Save as PDF and choose Save as PDF as the destination in the print dialog.
Good to know
- The PDF is produced by your browser’s own print engine, so the result matches the preview closely.
- For safety, scripts, forms and frames are removed and content from other websites (images, fonts, styles) isn’t loaded. Embed images as data URLs.
- This doesn’t capture live web pages by URL.
Supported files
- Input
- Pasted HTML or an .html file
- Output
- A PDF saved with your browser’s print dialog
Processing happens on your device, so very large files depend on its memory. Free, with no sign-up or watermark.
What people use it for
- Turn an HTML email template or report into a PDF
- Save generated HTML (receipts, exports) as a document
HTML to PDF questions
Something else? Visit support
No. This tool converts HTML you paste or open. It doesn’t fetch live web pages; to save a page you’re viewing, use your browser’s Print → Save as PDF.
For safety, content from other websites isn’t loaded. Embed images as data URLs in the HTML and they will appear.
Related tools
- Images to PDFConvert several images into one PDF with your page size and margins.
- Merge PDFCombine several PDFs into one file in the order you choose.
- Compress PDFReduce PDF size by recompressing images while keeping text and vectors sharp.
- Add page numbersNumber pages with your choice of position, format and size.