HTML to PDF conversion
Turn HTML into a PDF without installing software
Reports, invoices, and recipes written in HTML need a PDF form for sharing. The HTML to PDF tool renders your markup in a sandboxed preview and uses the browser print dialog to save the PDF, so no software and no upload are involved.
Convert in four steps
The browser print engine does the conversion.
Open the tool
Load the HTML to PDF tool.
Paste the HTML
Paste the markup or open an .html file locally.
Review the preview
Check the sandboxed preview; scripts and external requests are blocked.
Save as PDF
Click the print button and choose Save as PDF in the dialog.
Print settings that shape the PDF
Paper size, margins, scale, and background graphics are all controlled in the browser print dialog. Enabling background graphics keeps colored designs intact, and fit-to-page avoids clipped columns.
The HTML to PDF guide walks through each setting with examples.
Where HTML to PDF surprises you
- JavaScript-driven layouts that render empty
- External fonts and images missing without network access
- Page breaks landing in awkward places
Best practices
- Keep the HTML static for the most reliable output
- Set margins and scale in the print dialog
- For Word documents, use the Word to PDF tool instead
Frequently asked questions
Do I need to install anything?
No. The browser print engine does the conversion, and the tool itself runs in the browser.
Do scripts run in the preview?
No. The preview is sandboxed, so JavaScript and external requests are blocked.
How do I control margins and page size?
Use the print dialog settings; the tool opens the standard dialog with those controls.
Is my HTML uploaded?
No. Everything happens locally in your browser.
Your HTML stays local
Rendering and printing happen entirely in your browser. The HTML never leaves your device.
Open HTML to PDF