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.
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.