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.
How to use HTML to PDF
- Paste HTML into the box or choose an .html file.
- Select page size, margins and font size.
- Convert.
- 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.
Related PDF tools
- Word to PDFLimitedTurn a .docx into a text-based PDF (basic formatting).
- PDF to HTMLLimitedExport PDF text as a simple, semantic HTML page.
- Excel to PDFLimitedPrint .xlsx or .csv sheets to a table-style PDF.
- Add Page Numbers to PDFNumber pages with custom position, format and start value.