HTML to PDF
Turn a saved HTML file into a PDF with real, selectable text. Nothing is uploaded and nothing is fetched.
- Runs on your device — the file is never sent anywhere
- No sign-up, no watermarks, no daily quotas
- Free, with no limit on how often you use it
How it works
There are two different things people mean by "HTML to PDF". One is a screenshot of a web page exactly as a browser paints it, with every stylesheet applied. The other is turning a document written in HTML into a proper PDF you can read, search and print. This page does the second, honestly, and explains below why it does not claim to do the first.
What it converts
Headings at their relative sizes, paragraphs, bulleted and numbered lists including nested ones, tables with their grid drawn, bold and italic, horizontal rules, and images that were embedded in the file itself as data: URIs. All of the text comes out as real text — selectable, searchable and copyable, not a picture of words.
Why CSS is not applied
Reproducing a page the way a browser paints it means running its stylesheets, its web fonts and often its JavaScript, then photographing the result. Doing that faithfully needs a full browser engine driving a print pipeline, which is what a server-side converter is. Doing it in this page would mean loading whatever the file points at — stylesheets, fonts, images, trackers — from other people's servers. That would break the one promise this site makes, which is that nothing about your file leaves your device. So the tool converts structure rather than appearance, and says so.
Nothing is fetched, and nothing runs
The file is parsed into an inert document, which is a browser feature specifically designed for this: scripts do not execute and no image, stylesheet, font or tracking pixel is ever requested. Script, style, iframe and embed elements are then stripped outright, and any image that would need a network request is dropped. Only images already embedded in the file as data: URIs can appear in the PDF.
What it is good for
Exported notes and wiki pages, email archives saved as HTML, generated reports, documentation, invoices produced by a template, and anything you have written in HTML and want as a tidy, searchable document. It is not the right tool for capturing a styled marketing page pixel for pixel.
Saving a web page first
To convert a page you are reading, save it with your browser (Ctrl+S or Cmd+S) and drop the resulting .html file here. If you want the page exactly as it looks, your browser's own Print → Save as PDF does that better than any converter, and it is already installed.
HTML to PDF — questions
Can I paste a URL?
No. Fetching a URL would mean this page downloading someone else's site, which is both a privacy problem and something browsers block across origins anyway. Save the page to a file first, or use your browser's Print to PDF.
Why does my PDF look plain?
Because the stylesheet was not applied — that is deliberate, and the reason is explained above. You get the document's structure and content, not its visual design.
Do images come through?
Only images embedded directly in the file as data: URIs. An image referenced by a URL would have to be downloaded, which this tool will not do.
Is the text selectable?
Yes. Everything is drawn as real text, so the PDF is searchable and copyable and works with screen readers.
Does anything get uploaded?
No. The file is read in the page and the PDF is built there. Turn off your internet connection after the page loads and it still works.