HTML to PDF

Convert HTML Code to a PDF.

Loading…

Paste HTML and get a PDF with real page breaks, margins and optional page numbers. Headings, paragraphs, lists, links and tables are laid out for paper: A4, Letter and other sizes.

It's a document converter, so it reads the content and ignores the CSS. That suits invoices, reports, articles and generated documents. It isn't a screenshot of a web page, and a page that depends on layout CSS will look different.

How to use the HTML to PDF tool

  1. Paste your HTML or open an .html file.
  2. Choose the paper, font, text size and margins.
  3. Press Make the PDF.
  • Saving an article or documentation page as a clean PDF
  • Turning HTML from a template or a script into a printable document
  • Archiving HTML emails as PDF

Tips for the best result

  • Copy only the article part of a page, so menus and footers stay out.
  • To save a web page exactly as it looks, use your browser's Print, then Save as PDF.

Quick facts

PriceFree
Works withHTML → PDF
Where it runsIn your browser, on your device
AccountNot needed

Frequently asked questions

Does it apply my CSS?

No. The content is laid out with the font and size you pick here.

Can I enter a web address?

No. Browsers do not let one site fetch another. Paste the HTML or open a saved file.

Are images included?

Images are not placed in the PDF. Text, lists, links and tables are.

Can the text in the PDF be selected?

Yes, for Latin-alphabet text. Other scripts are stored as sharp page pictures.