FilesProcess

Convert to PDFLimited

Convert HTML to PDF

Paste markup or upload an .html file. The structure (headings, paragraphs, lists, tables, bold/italic, links and data-URI images) is typeset into a PDF with selectable text. For privacy and safety, scripts are removed and no remote images, stylesheets or fonts are requested.

Loading tool…

How to use HTML to PDF

  1. Paste HTML into the box or choose an .html file.
  2. Select page size, margins and font size.
  3. Convert.
  4. Download the PDF.

Supported formats

  • Input: HTML (pasted or .html file)
  • Output: PDF

What is supported

h1–h6, p, br, ul/ol/li, blockquote, pre/code, hr, simple tables, strong/em, hyperlinks and images embedded as data: URIs.

What is not

CSS (layout, colours, web fonts), JavaScript, remote images and iframes. For pixel-perfect pages, use your browser’s Print → Save as PDF.

Privacy

Files you choose are read into your browser’s memory and processed on your device; they are not uploaded to a server. Temporary download links are released after use, and the offline cache never stores your documents. More about privacy and limits.

Frequently asked questions

Why are my styles ignored?

A full CSS engine is outside what a lightweight client-side typesetter can do. The output is a clean, semantic document instead.

Are scripts run?

Never. The markup is parsed as inert data and scripts are stripped.

More in Convert to PDF