Skip to content
UnlockedPDF

HTML to PDF

Convert HTML code or an .html file to PDF.

Your files never leave your device

Loading tool...

How to use HTML to PDF

  1. 1

    Paste HTML or upload a file.

  2. 2

    Choose the page size.

  3. 3

    Download the PDF.

Frequently asked questions

Do CSS and JavaScript work?

No. Basic structures such as headings, paragraphs, lists, tables, links and embedded images are carried over; CSS layout and scripts are not applied.

Can I enter a web address?

No. Because your files never leave your device, pages are not fetched from the web; paste the HTML or upload the file.