Convert an HTML File to PDF
To convert an HTML file to PDF, add the .html file, choose A4 or US Letter and portrait or landscape, and click HTML to PDF. Styles, web fonts and reachable images are applied, scripts are not run, and wide content is scaled to fit. It runs in your browser; for live websites, use URL to PDF.
Apply the page styles, web fonts and images, in portrait or landscape
Choose Files
or drop documents directly into this area
Quick facts
- Formats
- HTML or XHTML → PDF
- Where it runs
- In your browser, on your own device. Files are not uploaded. If your device cannot handle a file, you can choose to use our server instead.
- Size limit
- 150 MB per run on a computer, 50 MB on a phone or tablet
- Files per run
- Up to 50
- Last updated
How to use HTML to PDF
Choose your HTML file (.html or .htm).
Pick A4 or US Letter and portrait or landscape.
Click HTML to PDF.
Download the PDF.
Features & Privacy
Fast & High Quality
Private: Files Never Leave Your Device
Batch Processing
Frequently Asked Questions
No. Scripts and event handlers are removed for safety, so pages that build their content with JavaScript may come out incomplete. For a live website, use URL to PDF instead.
Yes. Style blocks, inline styles and linked stylesheets are applied, web fonts are embedded and images from the web load if they are reachable. Relative file paths cannot be resolved.
Not with this tool, which converts .html files you already have. URL to PDF loads a public web page on our server and saves it as a PDF.
No. Pages are saved as sharp images with an invisible text layer, so you can search and copy the text, but links are not clickable.
A4 or US Letter, in portrait or landscape. Content wider than the page is scaled down to fit, and fixed or sticky elements are placed in the normal flow.
No. It is rendered in your browser on your own device, so the file is never uploaded. Only stylesheets, fonts and images linked from the web are fetched from their sites.
Related Guides
Step-by-step guides and tips for getting the best results with this tool:
Related Tools
Continue your workflow with these related tools: