Convert HTML to PDF
Load an HTML file and turn it into a PDF using the most faithful renderer available: your own browser. The page is displayed in a sandbox (scripts disabled) and sent to the print dialog, where you choose “Save as PDF”. Nothing is uploaded.
100% private: files are processed in your browser and never uploaded to any server.
How it works
- Drop an .html file into the box above — a safe preview appears (scripts are disabled).
- Click “Convert” — your browser’s print dialog opens.
- Choose “Save as PDF” as the destination and save the file.
Turning a web page into a fixed document
HTML is made to flow and adapt; a PDF is made to be fixed and shareable. Converting one to the other is useful when you want to archive a page as it looks now, send a saved article or invoice as a self-contained file, or produce something printable from an HTML template. The goal is a document that looks the same on every device, forever.
Using your browser as the renderer
There is a genuine engineering reason this tool opens your print dialog rather than downloading a file directly. Rendering HTML faithfully — fonts, CSS, layout — requires a full browser engine. The most faithful one available, without uploading your file anywhere, is the browser you are already using. So the tool loads your HTML into a sandboxed preview and hands it to your browser's print pipeline, where you choose "Save as PDF". The result is a true vector PDF with selectable, sharp text — and the one extra click is the price of perfect fidelity with no upload.
Safety and its limits
Your HTML is rendered in a sandboxed frame with JavaScript disabled, so nothing in the file can run — safe even for HTML from an unknown source. Two things to know: references to external images or stylesheets will be fetched by your browser when rendering, so for a fully offline result embed your assets; and you control paper size and margins from the print dialog, or with CSS @page rules in your HTML.
Frequently asked questions
Why does this open the print dialog instead of downloading a file?
Rendering HTML faithfully requires a full browser engine, and the only one available without uploading your file is the browser you are using. Its print pipeline produces a true vector PDF — text stays selectable and sharp. The one extra click is the price of perfect fidelity with zero upload.
Are scripts in the HTML file executed?
No. The file is rendered in a sandboxed frame with JavaScript disabled, so nothing inside it can run. If your page needs scripts to render its content, the preview will show it as static HTML.
Will images and CSS in my HTML work?
Inline CSS and embedded (data URI) images always work. References to external images or stylesheets will be fetched by your browser when rendering — if you need the conversion fully offline, embed your assets.
How do I control page size and margins?
In the print dialog you can pick paper size, orientation, margins and scale. For full control, add CSS @page rules to your HTML — browsers honor them when printing.