Convert HTML to a PDF

Paste HTML markup or upload an .html file, then download as a PDF. CSS, images, and layout render as-is.

Files are processed entirely in your browser. Your file's contents never leave your device.

Your PDF never touches a server. There's nothing here to ration.

No daily caps. No spinner that turns into a paywall after the third file.

Private by architecture

Your PDF never leaves your device.

Unlimited use

No daily caps or hourly throttling.

No signup, no watermarks

Every tool below works with or without an account.

Works offline

A tool you've already loaded keeps working offline.

About this tool

Good for archiving a page the way it looks today, turning a styled invoice into a file that opens identically everywhere, or making a printable handout out of an article. Paste HTML into the box or upload a saved .html file, hit Convert, and the page renders in a hidden iframe right in your browser and comes back as a PDF.

Output is A4 portrait. Long content gets sliced into page-height chunks, one chunk per page. CSS renders exactly the way the browser renders it: your fonts, colors, images, and layout come through as-is.

One tradeoff to know about: the output is rasterized, so the text in it is pixels, not characters. You can't select or search it. When selectable text matters, export to PDF straight from the source app (Word, Google Docs, and so on). When you want a pixel-faithful snapshot of a page, this is exactly that.

Frequently asked questions

Can I paste any HTML, including with CSS and images?
Anything that renders in an iframe renders in the PDF. External resources (stylesheets, images, fonts) won't load: the site's own security policy blocks requests to other hosts, the same wall that guarantees no uploads. Inline your CSS and embed images as data: URIs and everything renders.
Is the resulting PDF text selectable?
No. The rendered page is rasterized, so the text is part of the image. For selectable text, export from the tool the document came from.
What page size does the converter use?
A4 portrait (210×297 mm). The HTML renders at about 794 px wide, A4 width at 96 DPI, and anything taller than a page splits onto the next one automatically.
Will JavaScript run?
Yes, the iframe runs scripts like any browser frame. On very dynamic pages the render can start before network-loaded content finishes, though, so HTML that doesn't lean on JS for layout gives the most reliable output.
Are hyperlinks clickable in the output?
No. Rasterizing turns links into flat text. If clickable links matter, export from the original tool instead.

All PDF tools

All free, all in your browser. Pick the task you need.