HTML to PDF
Paste or upload HTML — drawn as real text, tables and images, not a screenshot.
HTML to PDF turns HTML you paste, or an .html file you open, into a real vector PDF — selectable text, proper page breaks, CSS paged-media rules such as page size, margins and running headers honoured — rendered entirely in your browser.
HTML to PDF lays out pasted or uploaded HTML on your device using your own print CSS and draws it as real, selectable vector text, tables and images — not a screenshot. @page size and margins, running headers and footers, page numbers and page-break rules are honoured automatically when your CSS declares them; a named @page size is not honoured yet, so every page comes out the same size. Chinese, Japanese, Korean, Arabic and emoji are drawn as pictures on the lines that use them, not as text, and named in the result; anything else that cannot be drawn as a vector shape is also drawn as a picture and named. HTML to PDF is one of UnboundPDF's 53 free browser-based PDF and image tools: it runs on your own device with no upload, no account and no watermark, and reports what it measured on the output.
How to convert HTML to PDF — steps & common uses
Updated 19 August 2026
What people use HTML to PDF for
People who want a web snippet or formatted HTML saved as a PDF — an email, a receipt page, or a block of markup.
- Save an HTML receipt as PDF
- Turn markup into a document
- Archive a formatted email
- Make a PDF from a web snippet
How to convert HTML to PDF
- Paste your HTML or open an .html file; it is rendered locally and never sent anywhere.
- Pick a default page size and margin (used when your CSS does not declare @page).
- Click Convert to PDF to lay out the markup and draw it as real vector text and shapes.
- Preview the paginated result and download the PDF.
Questions about HTML to PDF 7
Are my files uploaded to a server?
No. UnboundPDF processes PDFs locally in the browser — documents are not uploaded to a server. We have no backend that receives, stores, or scans your files.
Do scripts in my HTML run?
No. For safety the HTML is rendered in a sandboxed, hidden frame with scripts stripped out, so only the visual markup and its styles are drawn.
How do I include images and styling?
Embed images as data URLs and keep styles inline. External resources may not load in the sandboxed frame, so self-contained markup gives the most reliable result.
How do I use it?
Paste your HTML into the box (or open an .html file) and the tool lays it out, then saves the result as a real, selectable PDF you can download.
Does it fetch external images and styles?
It renders the HTML you paste. External resources may not load, so inline your styles and images for a reliable result.
Can it capture a live website by URL?
No. It renders HTML you paste in, not a page fetched from the web.
Is the text really selectable, or is it an image with invisible text over it?
It is real text, drawn directly as vector glyphs — not a picture with a hidden text layer on top. The exceptions are named: Chinese, Japanese, Korean, Arabic and emoji have no matching font and are drawn as pictures on the lines that use them, and any element the renderer cannot lay out as vector shapes (certain masks, some CSS backgrounds) is also drawn as a picture. Both are listed in the result rather than silently substituted.
Read more
How your files are handled
The work runs on your own device, inside the browser tab — so there is no server to send your document to.
- Nothing is uploaded. We have no backend that receives or stores documents, so we cannot see your files during processing or after.
- Your device does the work. Large documents are handled in stages, pages are rendered as you reach them, and each job is checked against your device before it starts — so a long run takes longer on a phone than on a laptop, nothing is queued behind other people's jobs, and you can stop a run at any point without touching your original file.
- No account and no watermark. The output is a clean file you can use anywhere, with no sign-up and no hourly cap.
More convert tools
Other free PDF utilities that work the same way — in your browser, no sign-up.