All tools › HTML to PDF

HTML to PDF

Paste HTML or code, or open an .html file, and turn it into a PDF that looks like the page. Works best with self-contained HTML. Everything happens in your browser — your code is never uploaded.

Paste your HTML

on your device

You can also drop an .html file onto the box.

Preview

Your page appears here as you type.

What to expect. Your HTML and CSS are drawn the way a browser draws them, but scripts are not run, so anything a script builds will be missing. Content wider than the page is shrunk to fit. Each page is drawn as a picture with a hidden layer of text on top (searchable and copyable for Latin letters), so the file is bigger than a normal PDF and the text cannot be edited. Prefer real text pages? Use Print / Save as PDF and pick “Save as PDF”.

Processed in your browser with open-source code. We never see your code.