Skip to content
Toolbento

HTML to PDF

Turn HTML into a PDF with your choice of paper size and margins, using your browser to print it.

Everything stays on this device

HTML to PDF runs in your browser. The files you add are worked on by this device and are never uploaded, to us or to anyone else.

  • No uploads. The page is blocked from sending data to any other server.
  • No account, cookies, ads or tracking.
  • Fonts and scripts come from toolbento.app itself, so the page makes no requests to other companies.
  • Closing the tab clears your files from memory.

Read the full details on the privacy page.

Direction
Direction

Your browser's print window opens. Choose "Save as PDF" as the printer.

Preview

Missing a feature or found a bug in HTML to PDF? Tell me on X (@_andrewtran) or by email.

How to use HTML to PDF

  1. Paste your HTML, with any styles in a style element.
  2. Choose the paper size, direction and margin.
  3. Select Save as PDF, then choose Save as PDF as the printer.

Questions and answers

Is my data sent anywhere?

No. Everything runs in your browser on this device. Nothing you paste is uploaded or stored.

Why were parts of my page taken out?

Scripts, forms, frames and anything that loads from another site are removed, so the page can do nothing but be printed. The status line lists what was taken out.

How do I include images?

Put them in the HTML as data URIs. The image to Base64 tool makes one from any picture. Images at web addresses are not loaded.

Esc

Loading tools