TotoPDF

Convert HTML to PDF

Turn saved web pages, email templates or your own HTML code into a print-ready PDF document.

or drop files here

HTML, HTM Up to 100 MB Processed in your browser

How to convert HTML to PDF

  1. Upload an .html file or paste HTML code into the box.
  2. Choose page size, orientation and margins.
  3. Click "HTML to PDF".
  4. Download the PDF.

Why use TotoPDF HTML to PDF?

File or code

Convert a saved .html file or paste markup directly.

Styles respected

Inline and embedded CSS, tables and images are rendered on the page.

Proper pagination

Long content flows across multiple pages at the size you choose.

Safe rendering

Scripts in your HTML are not executed during conversion.

Frequently asked questions

When the server engine is enabled you can convert by URL; otherwise save the page as HTML or paste the code.

Images linked with relative paths cannot be found from a single uploaded file. Use absolute image URLs or embed images.

No. For security, scripts are not executed, so content generated by JavaScript will not appear.

Yes, use the CSS rule page-break-before or break-before in your HTML.