Skip to content
ToolMint

HTML to PDF

Convert HTML pages to PDF documents

Processed locally — your files never leave your browser

How It Works

1

Provide HTML

Choose one of three input modes: upload an .html file, paste raw HTML directly into the textarea, or fetch a public URL. In every mode the HTML stays on your device — for the URL mode, your browser fetches the page directly, no server proxy is involved.

2

Convert

The HTML is sanitised with DOMPurify (to strip scripts and event handlers), rendered to a high-resolution off-screen canvas via html2canvas, then drawn page-by-page into a PDF using jsPDF inside a Web Worker. This pipeline runs entirely client-side so no upload is ever made.

3

Download

Save the generated PDF to your device. Pick page size (A4, Letter, Legal), orientation, and margin before converting. Output is a standard PDF compatible with every modern reader and ready for printing, archiving, or sharing.

Frequently Asked Questions