HTML to PDF
Convert HTML files, or code you paste, to PDF.
- 100% freeNo sign-up needed
- Works in your browserNo upload to a server
- Secure and privateFiles stay on your device
Add your HTML files
Drop your files anywhere on this page, or choose them from your device.
- Processed on your deviceNothing is uploaded
- No file size limitUse as much as you need
- No waitingNo upload or download step
- Safe and privateYour files never leave your device
How to convert HTML to PDF
-
Add your HTML
Add an .html file or paste your HTML code.
-
Set up the page
Choose page size and orientation.
-
Convert and download
Select Convert to PDF and download it.
Turn HTML files or pasted code into a PDF
Convert an HTML page to PDF without installing anything. Add an .html file or paste the code, pick the page size and orientation, and download the PDF. Styles inside the HTML are applied, and the pictures and fonts it links to are loaded. Scripts in the page are not run. The tool works from a file or pasted code, not from a web address.
Good to know
Answers to common questions about HTML to PDF.
Can I convert a web address?
Not directly. Browsers do not let one site read another, and this tool never sends anything to a server. Save the page from your browser (Ctrl+S or Cmd+S) and add the saved .html file.
Do scripts in the HTML run?
No. For your safety the page is rendered with scripts switched off, so content that is drawn by JavaScript will be missing.
Are pictures and styles from the internet included?
Pictures, style sheets and fonts that your HTML links to on other websites are downloaded when those sites permit it. Files that sat next to the HTML on your computer cannot be reached, so put them inside the HTML if you need them.
Is my file uploaded anywhere?
No. HTML to PDF runs inside your browser tab and your file never leaves your device. Close the tab and nothing remains.
Often used next
More tools you might need.
