Skip to content
Local

PDF

HTML to PDF

Paste HTML or open an .html file, see it as a printed page, and save it as a PDF from the print window.

Runs in your browser. Files stay on this device.Built with DOMPurify (Apache-2.0)

Open HTML to PDF

Free, no account, no watermark and no daily limit.

Open HTML to PDF

How to use HTML to PDF

  1. 1Paste HTML into the box, or open an .html file.
  2. 2Pick the paper and margins. The preview shows the page as it will print.
  3. 3Press Print, then choose Save as PDF as the printer.

Questions

Why do I pick Save as PDF myself?

The browser's own print engine lays out the page, so text stays as real, selectable text and CSS works as it does on screen. Choosing Save as PDF in the print window writes the file.

Do scripts in my HTML run?

No. The HTML is cleaned with DOMPurify first, which removes scripts, event handlers and anything else that could run code. The tool lists what it removed.

Why are some images missing?

Images from other websites are blocked so the page cannot call out to them. Images written into the HTML as data: URLs show and print.

Is my HTML uploaded?

No. It is cleaned and printed in this browser tab.

Is it free?

Yes. No account, no watermark and no daily limit.

Esc