PDF · Made a little simpler

HTML to PDF

Convert saved HTML to a PDF on your device. Review headings, lists, table cells and inline images, choose margins, then save from the print dialog.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

HTML to PDF: how to use it

  1. Paste HTML source or open a UTF-8 HTML file. Review the reconstructed document and any image omissions.
  2. Check captions, headings, merged cells and alternative text. Select the paper size, text size and margins.
  3. Choose Print or save PDF. Pick Save as PDF and inspect the final pages before sharing.

Limits and notes

Accepts UTF-8 files up to 1 MB and 250,000 UTF-16 code units. Uses document styles supplied by this tool. Scripts, forms, source CSS and remote resources are omitted. Self-contained base64 PNG and JPEG images can be printed.

How your privacy works →

HTML to PDF: common questions

Can I print a web address directly?

Open a saved HTML document or paste its markup. This tool never visits an address supplied in the document.

Which table details will appear?

The reading copy keeps captions, header cells, rows and data cells. Row and column spans from 1 to 100 are supported. Check wide tables in the browser’s paginated preview.

Guides