HTML to PDF Converter

Paste HTML and get back a clean, paginated PDF that keeps the document structure.

The HTML to PDF converter parses your markup on your device. Rendered invoices and customer reports often contain personal data, and none of it is uploaded.

Go the other way, PDF to HTML

About HTML to PDF

Printing a web page to PDF gives you the page — navigation, cookie bar, three columns of chrome and all. Often what you actually want is the content: the report an application generated, the invoice a template rendered, the article without the furniture. This converter reads the markup for its structure rather than its appearance. Headings, paragraphs, lists, block quotes, preformatted code, horizontal rules and tables all survive; stylesheets, scripts and layout are deliberately ignored. The result is a document that reads like a document, laid out on the page size you choose, built entirely on your device.

Features

How to use the HTML to PDF

  1. Paste your HTML, or drop a saved .html file onto the page
  2. Check the block count so you can see what structure was recognised
  3. Pick page size, margins, text size and typeface
  4. Convert, read the preview, and download

Example

Input

<h1>Quarterly summary</h1>
<p>Revenue grew across all three regions.</p>
<ul><li>Renewals up 14%</li></ul>

Output

A PDF with a large heading, one paragraph and a bulleted line — no page chrome, no stylesheet.

Structure is what carries over; the visual design of the original page does not.

Common errors & troubleshooting

Frequently asked questions

Does this send my markup to a rendering service?
No. The markup is parsed and the PDF is written in this tab, which matters when the HTML is a rendered invoice or a customer report.
Will my CSS be applied to the PDF?
No. Fonts, colours and layout come from the page settings on this screen, not from the stylesheet — that is what keeps the output readable rather than reproducing a screen layout on paper.
Can I convert a live URL rather than pasting markup?
Not from here, because fetching a URL would mean a request leaving your machine. Save the page or copy its markup and paste that in.
Are inline images in the HTML included?
No. Only the alt text is kept, since the images sit at addresses the tool deliberately does not fetch.
What happens to a form or an input element?
Form controls have no meaning on paper, so they are skipped. Any label text around them is kept as ordinary content.

Related tools

All ArrayKit tools