HTML to PDF converter
Convert an HTML file to PDF
To convert HTML to PDF, drag the .html file, hold Shift and drop it on the PDF bubble: a PDF version is saved in the same folder. The file is converted on your own machine, which matters for exported statements, receipts and internal reports.
Free to download, $9.50 once to unlock. 7-day money-back guarantee.
How to convert HTML to PDF
- 1
Drag the file
Drag order-confirmation.html from Finder, File Explorer or your desktop.
- 2
Hold Shift
Keep dragging and hold Shift. The Uncle pops up next to your cursor with the formats that fit your file.
- 3
Drop it on PDF
Drop the file on the PDF bubble. order-confirmation.pdf appears next to the original.
Got a lot of them? Select several files and drag them together. Prefer clicking? Open the Feed Window from the menu-bar or tray icon and drop the files there.
Why turn HTML into PDF?
HTML files turn up in more places than web servers: saved web pages, exported email receipts, reports generated by software and documentation built by tools. They open in a browser, but they are awkward to attach, print neatly or file away.
A PDF is a single, fixed file. It keeps a record of a receipt or a booking as it was on the day, and it is what accountants, landlords and offices usually want.
| HTML | ||
|---|---|---|
| Layout | Flows to fit the window, different on every screen | Fixed pages, the same on every screen |
| Made of | Markup that often links to separate images, styles and scripts | One self-contained file |
| Standard | HTML Living Standard, maintained by WHATWG | ISO 32000 |
| Opens in | A web browser | A PDF reader, browser or phone |
| Best for | Reading on screen, interactive pages | Records, printing, attachments |
Good to know
- HTML often relies on separate files for images and styles. If those files are missing or online-only, the PDF may look plainer than the page did in your browser. Check the result.
- Interactive parts of a page, like menus, videos and forms, cannot work in a PDF.
- A web page has no fixed page size, so long pages are split across PDF pages and wide content can be squeezed. Look through the PDF before you send it.
- For a live website, save the page as HTML first, or use your browser's print to PDF.
On your computer
macOS
Safari and Chrome both offer File, Print, then save as PDF. Dropping the .html on PDF is quicker for a folder of saved receipts or reports.
Windows
Every major browser can print a page to PDF, including Microsoft Print to PDF. Converting the file directly saves opening it and clicking through the print dialog, and handles a batch at once.
Linux
On Wayland, use the Feed Window from the tray icon and drop the HTML files there. On X11 the drag-and-Shift gesture works anywhere.
Everything happens on your computer: the file is never uploaded. See the first-launch guide for macOS and Windows.
HTML to PDF: questions
Can I convert a website URL to PDF?
Let's Drag! converts files you can drag, so save the page as .html first, or use your browser's print to PDF for a live page.
Why does my PDF look different from the page in my browser?
An HTML page can depend on separate images, stylesheets and scripts that may not be available offline. Fonts and screen width also change how a page lays out.
Will links in the HTML still be clickable?
PDF can hold clickable links, so test a couple in the result to see how yours came through.
Can I archive saved email receipts as PDFs?
Yes, that is a common use. Drop all the saved .html receipts on PDF together and you get one PDF per receipt, ready for your records.
Related conversions
Stop uploading. Start dragging.
30 conversions, 100% on your computer. Mac, Windows and Linux.
Free to download, $9.50 once to unlock. 7-day money-back guarantee.