HTML to PDF
Turn an HTML file or markup into a PDF.
Pick an .html or .htm file
Convert an `.html` file or raw HTML markup into a clean A4 PDF, paginated automatically. Useful for archiving an offline copy of a saved webpage, turning hand-written HTML into a printable document, or saving a templated invoice or receipt to PDF. Rendering runs entirely in your browser — your HTML never leaves your device. External resources (remote stylesheets, web fonts, third-party images) won't load; inline styles, base64 images, and self-contained markup work best.
How it works
How HTML to PDF works
Provide HTML
Upload an .html file or paste raw HTML markup into the editor.
Pick page settings
Choose portrait or landscape and set the page margin (defaults to 10 mm).
Download the PDF
We render the HTML in a sandboxed iframe and paginate it into A4 — all in your browser.
FAQ
Frequently asked questions
- No. Rendering happens in a sandboxed iframe on this page. The HTML — and the resulting PDF — never leave your browser.