HTML to PDF
Turn HTML code or an HTML file into a PDF, in your browser
HTML
Paste or type it, or drop a file; the PDF is written as you change it
Drop a HTML file here
Or choose one; it's read in your browser and never uploaded
Add some text to see its PDF.
Page
Orientation
Text size
How to convert HTML to PDF
- Paste your HTML, or drop an HTML file.
- Pick the page size, orientation and text size; the PDF is shown as you change them.
- Download the PDF.
Questions
Can I convert a web page by its address?
Not here: fetching a page needs a server. Save the page as HTML in your browser and drop the file, or print it to PDF from the browser.
Is the page's design kept?
Its structure is: headings, paragraphs, bold and italics, lists, tables, links and quotes. Its CSS layout, fonts and colors mostly aren't, so the PDF reads cleanly.
Are images kept?
Images inside the HTML (data: addresses) are; images from the web aren't fetched, so nothing leaves your browser.
Is my HTML uploaded?
No. The PDF is written by your browser, on your device, and nothing is sent anywhere; scripts in the HTML are never run.