Sejda PDF Editor

HTML to PDF Converter

Want to turn HTML code into a PDF? This free HTML to PDF converter takes your HTML and makes a PDF file. You can paste the code or upload an .html file.

What is an HTML to PDF converter?

HTML is the code that makes web pages. Sometimes you want a page, a bill or a letter written in HTML as a PDF, so you can print or send it. This tool does that in your browser.

How to use it

  1. Paste your HTML code, or upload an .html file.
  2. Press the "Convert to PDF" button.
  3. Download your PDF.

When can you use it?

  • You made an invoice or a letter in HTML and want to send it as a PDF.
  • You want to save your own HTML page as a file.
  • You want to test how your HTML looks on paper.

Good to know

For your safety, scripts are removed. Pictures and styles from other websites may not load, so use inline styles and pictures that are inside the code. This tool cannot open a live web address. The words in the PDF are drawn as a picture, so you cannot select them.

Is it private?

Yes. The work is done on your own device, so your file is not sent to our servers. Read our Privacy Policy to learn more.

Questions and answers

Can I convert a website link to PDF?

No. This tool needs the HTML code or an .html file, not a web address.

Why is my picture missing?

Pictures from other websites may not load. Put the picture inside your HTML.

Is it free?

Yes. It is free and your file stays on your device.

More PDF tools