HTML to PDF at a glance
- Price
- Free
- Account
- Not needed
- Watermark
- None
- Privacy
- Files are processed inside your browser and are never uploaded.
- Works on
- Windows, Mac, Linux, Android and iPhone – in any modern browser
- Install
- Nothing to install
Two modesClean document with selectable text, or Exact look that keeps colours, fonts and CSS.
Safe previewSee the page in a locked preview window before converting. Scripts never run.
Great for templatesTurn HTML invoices, emails, receipts and reports into PDF.
How to use HTML to PDF
- Paste your HTML code, or press Open .html file.
- Choose Clean document or Exact look, then page options.
- Press Convert to PDF and download.
Which mode should I choose?
Clean document reads the structure of your HTML – headings, paragraphs, lists, tables, images – and lays it out as a tidy PDF with real, selectable text. CSS styling is simplified.
Exact look draws your HTML with its styles, like a screenshot of the full page, and splits it into PDF pages. Text in this mode is part of the picture.
Limits
For safety, JavaScript in your HTML is removed and never runs. External stylesheets and web fonts are not loaded – put your CSS in a <style> tag. To save a live website as PDF, open it in your browser and use Print → Save as PDF.
What you can convert
- Saved web pages (.html files), email templates, invoices and reports exported as HTML.
- Pasted HTML code – useful for developers testing a template.
Tips
- Pictures and styles must be inside the file or reachable online.
- To save a live web page by its address, use Webpage to PDF.
- For a picture instead of a PDF use HTML to JPG.
Frequently asked questions
Is HTML to PDF free?
Yes, free with no watermark.
What is the difference between “Clean document” and “Exact look”?
Clean document rebuilds the page as a tidy PDF with selectable text. Exact look draws the page with its colours and styles and saves it as a picture, so it looks closer to the browser but text cannot be selected.
Can I convert a website URL?
This tool converts HTML code that you paste or open. To save a live website from its address, use Webpage to PDF.
Does it run my scripts?
No. Scripts are removed for security, so only the content and styles are converted.
Can I convert an e-mail or invoice template?
Yes. Paste the HTML of the e-mail or template and choose Exact look to keep the design.
Is my code uploaded?
No, it is converted on your device.