Convert HTML to PDF
We render it in headless Chromium — the engine behind Chrome — then print the result to PDF. Layout, CSS, tables and web fonts are handled the way a real browser handles them.
Also known as: HTM to PDF · HTML file to PDF
Encrypted upload · deleted right after conversion
Your files are deleted automatically
Uploads are removed as soon as processing finishes, and converted files are deleted after 1 hour. Read our privacy policy.
How to convert HTML to PDF
Step 1
1. Add your HTML file
Drag your HTML file into the box, or choose it from your device. It can be up to 20 MB.
Step 2
2. Choose your settings
Adjust Page size (A4), Orientation (Automatic) and Include backgrounds (on), or keep the starting values in brackets, which suit most files. More are under Advanced options.
Step 3
3. Press Convert to PDF
The work happens on our servers, and you can follow its progress.
Step 4
4. Download your PDF file
Your upload is already deleted, and the result is deleted after one hour.
Worth knowing
Only the uploaded HTML file is processed. Stylesheets, scripts and images referenced by a local relative path are not available — inline your CSS or use absolute URLs for the best result.
Why convert HTML to PDF?
- Producing PDF invoices or reports from an HTML template
- Converting an exported email or report file into a document
- Turning a static site page into a printable handout
- Generating documentation PDFs from build output
HTML vs PDF
| Property | HTML | |
|---|---|---|
| Layout | Reflows to fit any window | Fixed pages with set breaks |
| Scripts | Run every time it opens | Run once, before printing |
| Opening it | A browser, plus any linked files | Any PDF reader, one file |
| Best for | Templates and web pages | Invoices, reports and printing |
Frequently asked questions
Page updated