Convert HTML to PDF

Paste HTML or upload an .html file and get a PDF of its text content: headings, paragraphs, lists and tables. Scripts are never run and nothing is fetched from the internet.

This is a content converter, not a browser print engine. CSS styling, images and web fonts are not applied.

How to hTML to PDF in 3 steps

  1. Paste your HTML, or choose an .html file.
  2. Pick a page size.
  3. Press Convert to PDF and download.

Good for

Turning an email template, a saved article body, a generated report or a simple invoice written in HTML into a shareable PDF.

Need exact styling?

To keep layout, colours and images, open the page in your browser and use Print, then choose Save as PDF. That uses the browser full rendering engine.

Private by design

HTML to PDF runs as code inside your browser tab. The file you choose is read from your device and the result is built on your device, so it is not sent to our servers or anyone else's. You can confirm this by watching the Network tab in your browser's developer tools while you use the tool.

Frequently asked questions

Does it load images or stylesheets?

No. It reads only the text structure of the HTML you provide.

Is it safe to paste untrusted HTML?

Yes. The HTML is parsed as inert text and scripts are not executed.

Guides

Related PDF tools

Merge PDFCombine several PDFs into one file.Compress PDFReduce PDF file size for email and uploads.