HTML to PDF Converter

Paste HTML code or open an .html file and turn it into a PDF – clean and selectable, or exactly as it looks.

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

  1. Paste your HTML code, or press Open .html file.
  2. Choose Clean document or Exact look, then page options.
  3. 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

Tips

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.

More free tools