How to Save HTM as PDF: Chrome, Edge, Safari, Word and a Free No-Upload Converter
How to save HTM as PDF in Chrome, Edge, Safari or Word, plus a free converter that strips scripts and never uploads your page. Fix missing images too.

On this page
- What is an .htm file, and how do you open one?
- How to save HTM as PDF: methods compared
- How to convert HTML to PDF with our free tool
- How to save a web page as PDF in Chrome, Edge and Safari
- How to save HTM as PDF in Word or LibreOffice
- Troubleshooting: common HTML to PDF problems
- Frequently asked questions
- Conclusion: key takeaways
- Editorial policy
- Content transparency
- About the author
Here is how to save HTM as PDF in under a minute: open the .htm file in any browser, press Ctrl+P (Cmd+P on a Mac), choose Save as PDF as the destination and click Save. If you want a cleaner file without opening the page, drop it into our free HTML to PDF converter, which runs in your browser, strips scripts and never uploads the file.
We deal with saved web pages a lot: exported email newsletters, invoice pages from client portals and reports that some tools only save as HTML. Below are the methods we use in Chrome, Edge, Safari, Word and our own tool, and how to fix missing images or broken layouts.
Quick answer: To turn an .htm or .html file into a PDF:
- No browser fiddling: open the LeadCanal HTML file to PDF tool, add the file and download the PDF. Nothing is uploaded.
- Chrome or Edge: open the file, press Ctrl+P, set the destination to Save as PDF and click Save.
- Safari on Mac: File > Export as PDF.
- Word: open the .htm file, then File > Save As and choose PDF.
- Missing images? Keep the page’s “_files” folder next to the .htm file.
Free LeadCanal tools for this guide
Check and fix it yourself in a few seconds, no signup needed.
What is an .htm file, and how do you open one?
An .htm file is a web page saved as a file. It is exactly the same format as .html; the shorter extension dates back to old Windows systems that only allowed three-letter extensions. Both contain HTML code that a browser turns into a page.
To open one, double-click it and it will usually open in your default browser. If it opens in a text editor instead, right-click it and choose Open with, then pick Chrome, Edge, Safari or Firefox. Word and LibreOffice Writer can open it too.
One thing to know: when you save a page with “Webpage, Complete” in a browser, you get the .htm file plus a folder ending in “_files” that holds its images and styles. Move or delete that folder and the page loses its images, both on screen and in any PDF you make from it.
How to save HTM as PDF: methods compared
| Method | Cost | Upload needed? | Selectable text | Best for |
|---|---|---|---|---|
| LeadCanal HTML to PDF | Free | No, runs in the browser | Yes, with the print to PDF option | Saved pages and email exports, privacy |
| Chrome print to PDF | Free | No | Yes | Pages you can open in Chrome |
| Microsoft Edge print | Free, built into Windows | No | Yes | Windows users without Chrome |
| Safari Export as PDF | Free, built into macOS | No | Yes | Mac users |
| Word Save As PDF | Included with Word | No | Yes | Editing the page before converting |
| Online upload converters | Often free with limits | Yes | Usually | Public pages with nothing private |
How to convert HTML to PDF with our free tool
We built the LeadCanal HTML to PDF converter for saved pages that misbehave in the print dialog, and for files we would rather not upload anywhere.
- Open the converter in Chrome, Edge, Safari or Firefox on any computer or phone.
- Add your .html or .htm file. The tool only accepts HTML files.
- Leave remote images off for the most private result, or switch them on if the page needs pictures hosted online.
- Choose the print to PDF option if you need selectable, searchable text.
- Download the PDF and scroll through it to check the layout.
Two safety details matter here. Scripts in the page are removed before rendering, so nothing in the file can run. And remote images are off by default, because loading them contacts outside servers, which some email exports use to track opens.
A worked example from our own files
A client exported a month of campaign reply summaries from their mail tool as one .htm file and asked us for a PDF to share with their sales director. Chrome’s print preview cut the wide table in half. We ran the file through our converter instead with remote images off, since the report had no pictures worth loading, then used our PDF page remover to drop the empty last page (our guide on deleting PDF pages for free shows the steps). The client had a clean PDF in a couple of minutes, and the report never left our machine.
How to save a web page as PDF in Chrome, Edge and Safari
Google Chrome (Windows, Mac, ChromeOS)
- Open the .htm file or the live web page in Chrome.
- Press Ctrl+P on Windows or Cmd+P on Mac.
- Set Destination to Save as PDF.
- Under More settings, adjust paper size, margins and scale, and tick Background graphics if colours are missing.
- Click Save and choose a folder.
Google covers the print dialog in its Chrome printing help page.
Microsoft Edge (Windows)
Open the file in Edge, press Ctrl+P, choose Save as PDF in the Printer list and click Save. You can also choose Microsoft Print to PDF, which works the same way in most cases.
Safari (Mac)
Open the page in Safari and choose File > Export as PDF. Or press Cmd+P and use the PDF menu at the bottom of the print dialog, which also offers options like opening the result in Preview.
iPhone and Android
On iPhone, open the page in Safari, tap Share, then Print, and pinch out on the preview to open a PDF you can save to Files. On Android, open the page in Chrome, tap the three-dot menu, then Share and Print, and pick Save as PDF. For a saved .htm file on a phone, our in-browser web page to PDF converter is usually simpler.
How to save HTM as PDF in Word or LibreOffice
Use this route when you want to edit the page first, such as deleting a header or fixing a typo.
- In Word, choose File > Open and select the .htm file (pick All Files if it is not listed).
- Make your edits. Word converts the layout to its own format, so complex pages may shift.
- Choose File > Save As, set the type to PDF and save.
LibreOffice Writer works the same way: open the file, then use File > Export as PDF.
Troubleshooting: common HTML to PDF problems
| Problem | Likely cause | Fix |
|---|---|---|
| Images missing | The “_files” folder was moved, or images are hosted online | Keep the folder beside the file, or turn on remote images in our tool |
| No background colours | Browsers skip backgrounds when printing by default | Tick Background graphics in Chrome’s More settings |
| Table or page cut off at the right | The layout is wider than the paper | Switch to landscape, lower the scale, or use our converter |
| Layout looks different from screen | The page has print-specific CSS | That is the designer’s print style, defined with CSS media queries; try another method |
| PDF is too big to email | Large embedded images | Shrink it with our PDF compressor |
If the HTML you have is really a saved email, you may get a better result from our EML to PDF converter working on the original message, which also handles attachments. Our guide to converting EML to PDF explains when that is the better option. For heavy output files, see how to make a PDF smaller.
Frequently asked questions
How to save HTM as PDF without a printer?
You do not need a physical printer. Choose Save as PDF or Microsoft Print to PDF as the destination in the print dialog, or use a browser-based HTML to PDF converter.
Is .htm the same as .html?
Yes. Both extensions hold the same HTML code and open the same way. The three-letter .htm is a leftover from older Windows systems.
How do I open an .htm file on Windows or Mac?
Double-click it to open it in your default browser, or right-click and choose Open with to pick Chrome, Edge, Safari, Firefox or Word.
Why are images missing when I convert HTML to PDF?
The images live in a separate “_files” folder or online. Keep that folder next to the .htm file, or allow remote images when converting.
How do I save a web page as PDF in Chrome?
Press Ctrl+P or Cmd+P, set Destination to Save as PDF, adjust the settings and click Save.
Can I convert several HTML files to PDF at once?
Browsers convert one page at a time. Convert each file separately with our tool, and merge them afterwards if you need a single PDF.
Is it safe to convert HTML files online?
Upload converters receive a copy of your page, which may contain account details or private emails. A converter that runs in your browser keeps the file on your device.
Conclusion: key takeaways
Learning how to save HTM as PDF comes down to two choices: the print dialog you already have, or a converter that cleans up the page first.
- .htm and .html are the same format and open in any browser.
- In Chrome or Edge, press Ctrl+P and choose Save as PDF.
- On a Mac, use Safari’s File > Export as PDF.
- Keep the “_files” folder with the page or images will be missing.
- Use Word or LibreOffice when you need to edit the page first.
- A browser-based converter keeps private pages off other servers.
Got a page to convert? Open the free HTML to PDF converter, or browse all our free file tools.
Key takeaways
Save HTM as PDF
| 1 | .htm and .html are the same format and open in any browser. |
| 2 | In Chrome or Edge, press Ctrl+P and choose Save as PDF. |
| 3 | On a Mac, use Safari's File > Export as PDF. |
| 4 | Keep the "_files" folder with the page or images will be missing. |
| 5 | Use Word or LibreOffice when you need to edit the page first. |
| 6 | A browser-based converter keeps private pages off other servers. |
Editorial policy
We write guides about files we handle every day and only state facts we can check against official documentation, such as Google’s Chrome help and MDN’s CSS reference. We update articles when browsers change their print dialogs. We do not accept payment to recommend any software mentioned here.
Content transparency
This guide was researched with keyword data on what people ask about converting HTM and HTML files and checked against official browser documentation. LeadCanal built and offers the free HTML to PDF converter and the other tools mentioned. They run in your browser, and your files are never uploaded.
About the author
This guide was written by the LeadCanal team. We build verified B2B contact lists and run cold email infrastructure, which means we handle CSV lead lists, email exports, PDF reports and saved web pages every day. We built our free converters to solve the file problems we kept running into ourselves.