HTML to PDF

Turn a HTML file into a PDF.

Drop a HTML file to convert

or choose a file, or paste with Ctrl or Cmd + V

Your files never leave your browser.

More PDF converters

Every format has its own page, like PDF to JPG or JPG to PDF. Pick one to open it.

Online HTML to PDF Converter

An HTML file is a web page. A PDF gives you a fixed copy of its text that you can send or keep. Add your file and download the PDF. It all runs in your browser.

  • Headings, paragraphs, lists and code blocks are kept in order.
  • Scripts, menus hidden in code and styles are left out.
  • Choose A4 or US Letter for the pages.
  • Private by design. Your file is never uploaded to a server.

How to convert HTML to PDF

  1. Add your HTML file by choosing it or dragging it onto the box.
  2. Pick a page size, A4 or US Letter.
  3. Choose Convert to PDF. The file downloads straight away.

HTML to PDF questions

How do I convert HTML to PDF?

Add your HTML file, choose A4 or US Letter, then choose Convert to PDF. The PDF downloads straight away.

Will the PDF look like the web page?

No. It keeps the text and its order in a simple, readable style, but not the original colours, fonts, layout or pictures.

Does it work on a phone or tablet?

Yes. Tap Choose HTML file to pick a file from your device. The PDF saves to your downloads.

Are my files uploaded anywhere?

No. Everything runs in your browser on your own device. Nothing is sent to a server.