HTML to PDF Converter
Convert HTML to PDF from pasted code or an .html file, with a preview before you save. Everything runs in your browser.
How to html to PDF
Paste your HTML into the box, or open an .html file.
Check the preview.
Choose Print to PDF for exact rendering, or Download PDF for a PDF built directly.
Save the PDF from the print dialog, or download it.
Two ways to save HTML as PDF
Print to PDF hands the page to your browser print dialog. The rendering is exact, because the browser draws it the same way it shows it.
Download PDF builds the file directly with a simpler layout: headings, paragraphs, lists, tables and images. It skips the print dialog. Need to add pages or reorder them afterwards? Merge PDF and Rearrange PDF Pages handle that.
Converting a web page by URL
A browser tool cannot fetch web page URLs. To convert a live page, view its source, copy the HTML and paste it in.
Pasted HTML shows up in the preview straight away, so you can fix it before saving. For plain text with no markup, Text to PDF is the simpler route.
Guides
Frequently asked questions
How do I convert HTML to PDF?
Paste the HTML or open an .html file, check the preview, then pick Print to PDF or Download PDF.
Can I convert a website URL to PDF?
No. The browser cannot fetch pages by URL. Copy the page HTML and paste it in instead.
Which option keeps the exact look?
Print to PDF. It uses the browser print dialog, so the rendering is exact. Download PDF uses a simpler layout.
Can I convert a saved .html file to PDF?
Yes. Open the .html or .htm file in the tool and it loads into the preview.
Is my HTML uploaded anywhere?
No. The preview and the conversion both happen in your browser.