HTML to PDF
Convert an HTML file or pasted HTML code to PDF, as clean selectable text, or a full-design render of the page. Your files are never uploaded to a server.
Free, fast, and privacy-first.
Convert HTML to PDF
or drag & drop files here
.html & .htm filesup to 30 filesup to 100 MB each300 MB total
Selected files 0
document.pdf
0 KB
Pasted code is never uploaded. Choose the rendering and page layout in the options →
Your PDF is ready
Your download should have started automatically.
Convert HTML to PDF: in your browser, your files never uploaded
Turn a local .html or .htm file (a saved article, an exported email, a report, a documentation page), or HTML you paste in directly, into a PDF, entirely in your browser. Your files are never uploaded to a server. Choose the page size, orientation, and margins to fit your document.
Pick the rendering that fits. The default Clean-text mode converts the HTML's content (headings, paragraphs, lists, tables, links, bold/italic, and code) into a readable PDF with a clean built-in style, as real selectable text. It doesn't reproduce the page's own CSS and it fetches nothing (remote images show as alt text, scripts and iframes are stripped). Full-design mode instead renders the page the way a browser does (running its own CSS and JavaScript so colours, layout, tables, and charts appear) and captures it as an image. Because it truly renders the page, it loads the page's own external assets and runs its scripts (your file is still never uploaded). For selectable text with the full design, the “Print for selectable text” button hands off to your browser's Save as PDF.
-
File or pasted code
Convert .html/.htm files, or paste raw HTML straight in, same local pipeline.
-
Page size, orientation, margins
A4/Letter/Legal/A3/A5, portrait or landscape, and custom margins in mm/cm/in/px.
-
Clean text or full design
Selectable clean text with nothing fetched, or a full-design render with colours, styles, and charts.
-
Batch files to one ZIP
Convert up to 30 files at once. Several download together as a ZIP.
How to convert HTML to PDF
-
Add HTML: a file or pasted code
Drop one (or up to 30) .html/.htm files into the upload area, or switch to “Paste code” and type or paste your HTML. (Local only, not a web address.)
-
Pick the rendering & page layout
Choose Clean text (private, selectable) or Full design (colours, styles, and charts). Then set page size (A4, US Letter, Legal, A3, A5), orientation, and margins.
-
Convert & download
Click “Convert to PDF”. Everything runs in your browser and downloads as a PDF (a ZIP for several files).