Universal PDF
HTMLPDF

HTML to PDF

Convert HTML files to PDF documents.

HTML to PDF converts an HTML file into a paginated PDF, rendering the page's layout, styles and images before saving it as fixed pages. It works best with a self-contained HTML file rather than one linking to external assets. Files up to 100MB upload over an encrypted connection.

Drop your HTML file here

Upload files

Size up to 100 MB

How do I use HTML to PDF?

  1. 1

    Drop your .html or .htm file into the box above, or click to browse and select it from your device.

  2. 2

    Click Convert to PDF. The file uploads over an encrypted connection and renders, typically in a few seconds.

  3. 3

    Download the PDF, with the page's layout, images and styling captured as fixed pages.

Frequently asked questions

Does it work with linked images and stylesheets?

It works best with a self-contained HTML file: inline styles and embedded or base64 images render reliably. If your HTML links to external stylesheets, fonts or images by relative path, those references may not resolve since the linked files aren't uploaded alongside the HTML.

How much does it cost?

Universal PDF requires a Pro subscription. One subscription unlocks every tool on the site, cancel anytime.

Can I convert a live webpage by pasting its URL?

No. This tool converts an HTML file you upload from your device, not a live URL. To capture a page from the web, save it as a complete HTML file from your browser first, then upload that file here.

How is the page split into PDF pages?

Content flows onto standard-sized pages one after another, breaking wherever the page height runs out. The conversion runs through a document layout engine rather than a web browser, so it renders HTML markup and CSS but doesn't execute JavaScript; complex layouts built with flexbox, CSS grid, or scripts that generate content may not render the way they would in a browser. Very wide layouts designed for large screens may get cut off at the page edge rather than shrinking to fit.

Related tools

Last updated: July 8, 2026