HTML to PDF — Free
Convert any HTML file to a PDF document in your browser. No upload to external servers, no sign-up, completely free.
- 1Upload your
.htmlor.htmfile - 2pdflu renders it right inside your browser
- 3Click Convert to PDF and download
HTML to PDF
Upload an HTML file (.html or .htm) to convert to PDF.
Drag & drop your HTML file here
or click to browse from your computer
Why use pdflu to convert HTML to PDF?
pdflu converts HTML files to PDF entirely in your browser — no file is ever sent to an external server, and no sign-up is required. Your HTML content stays completely private on your device.
Perfect for developers converting email templates, reports, invoices, or static HTML pages to PDF for sharing or archiving. Works on any device with a modern browser — no installation needed.
Tips for best results
- Embed all CSS inside a <style> tag in your HTML file — external .css files will not load
- For images, use base64 data URIs embedded directly in the HTML src attribute
- Standard system fonts (Arial, Georgia, Times New Roman) render reliably — custom Google Fonts may not load
- The output renders at 960px wide — design your HTML for desktop width for best results
- If you need selectable, searchable text in the PDF, use the Word to PDF tool instead
Frequently Asked Questions
Will external CSS and images load correctly?
External resources — separate CSS files, images from other URLs — may not load due to browser security restrictions (CORS). Embed all CSS in a <style> tag and encode images as base64 data URIs directly in the HTML src attribute for the most reliable output.
Is the text in the output PDF selectable?
No. The conversion renders your HTML as a canvas image, so the resulting PDF is image-based. Text will not be selectable, copyable, or searchable. This is a known limitation of browser-based HTML-to-PDF conversion without a server-side renderer.
How many pages will the output PDF have?
pdflu automatically splits tall HTML content across multiple A4 pages. A short single-screen HTML page becomes one PDF page. Longer pages paginate automatically — you don't need to do anything extra.
Why does my HTML look different in the PDF?
The HTML is rendered at 960px wide using html2canvas. Custom web fonts, external images, and CSS animations may not render correctly. For the most accurate output, use inline CSS and standard HTML elements only.
Does this tool require a server or sign-up?
No. HTML to PDF is 100% client-side — everything happens inside your browser. No files are uploaded to any server, no account is needed, and it is completely free to use.