Convert HTML text content into a PDF with page size, margin and orientation controls.
This tool runs entirely in your browser. The file you choose is never uploaded to a server. Free, with no account required.
Input
HTML text or an .html file
Output
PDF document
Limit
5 MB per HTML file
Category
PDF Tools
Status
Available now
Price
Free — no subscription, no account
How to use HTML to PDF
Paste HTML or upload an .html file.
Review the extracted text preview.
Choose page size, orientation and margins, then build the PDF.
Frequently asked questions
Is the visual layout preserved?
No. This tool lays out the readable text content with standard PDF fonts. CSS styling, images, tables, columns and embedded media are not rendered. For visual fidelity, use your browser’s Print to PDF.
Can I enter a URL?
No. Fetching a URL from the browser would either need a proxy server or risk unsafe requests, so this tool accepts pasted HTML and local files only.
Are scripts executed?
No. The HTML is parsed with DOMParser and script, style and iframe nodes are removed before any text is read.
Related tools
Add Page Numbers — Insert page numbers into a PDF with control over position, start value and format.
Add Watermark — Stamp a text or image watermark across the pages of a PDF.
Compress PDF — Reduce PDF file size by optimising embedded images and fonts.
Delete PDF Pages — Remove unwanted pages from a PDF and download the cleaned-up document.
Edit PDF — Add text, shapes, highlights and freehand marks to PDF pages, then download the edited file.
Extract PDF Pages — Save the pages you select into a brand new PDF file.