HTML to PDF
Turn a web page, an HTML file or a piece of HTML code into a PDF. Choose the paper size, orientation and margins, check the preview and download.
Source
Page setup
Download PDF builds the file right here in your browser. The second button opens your browser's print window, where you can pick Save as PDF to keep text selectable.
Choose what to convert
Load a web page by its address, pick an HTML file from your computer or paste HTML code. The preview shows how the PDF will look.
How it works
- 01
Choose the source
Paste a page address, pick an .html file or paste HTML code.
- 02
Set up the page
Pick paper size, orientation, margins and how wide the page should be laid out.
- 03
Download the PDF
The PDF is put together in your browser and saved to your device.
Questions
Are my files uploaded?
No. HTML files and pasted code are read and converted in your browser. Only when you load a page by its address does our server fetch that public page for you; nothing is stored.
Can I select text in the PDF?
Download PDF keeps the exact look of the page as images on each page. If you need selectable text, use Print or save with selectable text and choose Save as PDF in the print window.
Why are some pictures missing from my file?
A browser cannot read pictures that sit next to an HTML file on your computer. Use a page address, or a file with pictures built in (for example, one saved with our Web to HTML tool).
Do scripts run?
No. Scripts in the HTML are never run, so the PDF shows the page as written. Content that a site loads with scripts may be missing.
Which paper sizes are there?
A4, A3, A5, US Letter and US Legal, in portrait or landscape, with no, narrow, normal or wide margins.
Is there a page limit?
No fixed limit. Very long pages take longer, and the browser needs enough memory to put them together.