Convert HTML to PDF
Paste HTML (or open an .html file) and get a clean, paginated PDF of its content. No URL fetching.
Loading tool…
Email templates, exported notes, documentation pages and generated reports are often plain HTML. Paste the markup (or open a saved .html file) and the tool reads its structure (headings, paragraphs, bold and italic, links, lists, quotes, code blocks, tables, rules and images embedded as data URLs) and lays it out as a tidy PDF with page breaks in sensible places.
For your safety and privacy, the HTML is parsed as inert data: scripts never run, CSS is ignored and nothing is loaded from the internet, so remote images and web fonts are skipped. That also means the PDF will not match a styled web page; it is a clean document of the content. The tool does not fetch URLs.
How to use it
- Paste HTML into the box, or open an .html file.
- Choose the page size, orientation, margins and font size.
- Click Create PDF.
- Download the PDF.
Frequently asked questions
Are my files uploaded?
No. The file is read and processed by your browser on your device; nothing is sent to a server. You can load the page, switch off Wi-Fi and it still works.
Can I enter a web address?
No. Fetching pages would mean sending requests from your browser to other sites; paste the HTML instead, for example with "View source" or "Save page as".
Why does my CSS not apply?
Styles are ignored on purpose so any HTML gives a readable, printable document. For a styled copy of a web page, use your browser's Print > Save as PDF.
Are images included?
Images embedded as PNG or JPEG data URLs are included. Images linked from the web are skipped and counted in the result.
Is the text selectable?
Yes, text is real PDF text in an embedded font (Carlito for Latin, Greek and Cyrillic).
Related tools
- Convert text to PDFTurn plain text or Markdown into a neatly paginated PDF with headings, lists and tables.
- Convert Word to PDFConvert a .docx into a clean PDF with headings, lists, tables and images, in your browser.
- Convert Excel to PDFPrint an .xlsx sheet or a CSV as a PDF table that fits the page width, with repeated header rows.
- Merge PDF filesCombine several PDFs into one file in the order you choose. Runs in your browser; nothing is uploaded.
- Extract text from a PDFExtract the text of a PDF in reading order and download it as a .txt file or copy it.