Convert HTML to PDF
To convert HTML to PDF, drop your .html file into the converter above and click Convert to PDF; the page is rendered and the PDF downloads when it is ready. The rendering uses a real browser engine (Chromium, the same one that draws the modern web) on our server, so you get the printed version of the page rather than a screenshot.
Encrypted upload on an EU server, deleted within about an hour.
Drop your HTML hereChoose a HTML to convert
It becomes a PDF right in your browser, up to 50 MB
Limits, published exactly
| Where it runs | On our server, over an encrypted connection; deleted within about an hour. |
|---|---|
| Free conversions | 2 per day without an account, 5 per day with a free account. |
| Max file size, free | 50 MB |
Why convert HTML to PDF?
HTML is how invoices, receipts, reports, certificates and email templates are generated by software, but HTML is not what you hand to a client, a print shop or an archive; a PDF is. Converting fixes the layout so it looks identical on every device, paginates cleanly for printing, and cannot be reflowed or edited the way a live web page can. It is also the dependable way to turn a saved web page into a single portable file that opens anywhere without a browser.
What is HTML?
HTML (HyperText Markup Language) is the language of web pages, and as a document format it has one superpower: every device with a browser can display it, no installation required. As a conversion target it captures a document's structure (headings, paragraphs, lists, tables, emphasis) in clean, inspectable markup that can be styled, pasted into a CMS or read as-is.
What is PDF?
PDF (Portable Document Format) is the 1993 Adobe format that froze documents into a fixed, device-independent layout, and it has since become the legal and professional standard for anything that must look the same everywhere: contracts, invoices, forms, papers. A PDF can contain vector text, images, fonts and annotations. Editing one is famously awkward, which is exactly the point; it is a final-form format.
Quality and what to expect
The page is rendered by Chromium and printed to PDF, so modern CSS, tables, flexbox and grid layout, web fonts declared inline and inline SVG all come through faithfully, with selectable text rather than a flattened image. The one thing to know: the converter receives the single HTML file you upload, so it is faithful for self-contained pages where the styles, SVG and any images are inline or data-URIs. A page that links out to a separate stylesheet, relies on a script to build the DOM, or references images by URL will render without those remote pieces, because they are not part of the uploaded file. Inline your styles for a pixel-faithful result. On privacy, this is a server conversion: the upload is encrypted, the input is deleted immediately after conversion and the output PDF within about an hour, and the dropzone marks it a server conversion before you start.
HTML to PDF FAQ
Why is my CSS or are my images missing from the PDF?
The converter renders the single HTML file you upload. If your styling lives in a separate .css file or your images are linked by URL, they are not in that file and are not fetched. Inline the style block and embed images as data-URIs, and the result is pixel-faithful.
Is this a screenshot or real rendering?
Real rendering. Chromium lays the page out exactly as a browser would and prints it to PDF, so the text stays selectable and searchable and the layout is true to your CSS rather than a flattened image.
Does JavaScript run during the conversion?
Treat it as no for anything you depend on. The conversion renders the HTML you provide; a page that builds its content with JavaScript at load time can come out empty or partial. Convert the final rendered HTML rather than a script that generates it.
Is my file uploaded to a server?
Yes. This rendering needs a full browser engine on the server, so the file uploads over an encrypted connection, converts, and is deleted: the input immediately after conversion, the PDF within about an hour. The dropzone labels it a server conversion before you start.
Can I control the page size and margins?
Yes, through your HTML. The conversion uses standard print defaults, and Chromium honors CSS @page rules and print styles, so set the page size, margins and page breaks you want in the file before converting.