From MHT to PDF
Choose the file
Pick an .mht or .mhtml file, the single-file format browsers such as Chrome and Edge use for Save page as, Webpage, single file.
Read the summary
The tool lists the parts in the archive, how many references inside the page were resolved to those parts, how many outside links were blocked and how many scripts were removed.
Check the preview
The rebuilt page appears in a sandboxed frame below the buttons, so you can see what will print.
Print to PDF
Press Print or save as PDF and, in the print dialog, choose Save as PDF or Microsoft Print to PDF as the printer. Adjust margins and headers there.
Example: an archived services page
A consultant saved a sign maker's services page as MHT last year, before the site was redesigned, to show the client how their offer used to read. The archive holds the HTML, one stylesheet and the logo.
The page refers to the stylesheet and logo inside the archive, which are wired back in, and to a tracking pixel on another server, which is blocked rather than fetched. Two scripts are stripped out before anything is shown.
services.mht: text/html, text/css, image/png Page references: stylesheet, logo, external pixel, two scripts
Parts in the archive: 3 References resolved: 2 Blocked outside links: 1 Scripts removed: 2
Why the browser makes the PDF
A saved web page is laid out by a browser engine: fonts, flexible columns, wrapping and print styles all depend on it. Rebuilding that layout in a separate PDF library would never be faithful, so this tool hands the cleaned page to your own browser's print engine, which is the same one that drew the original. The tool itself does not create the PDF file.
If your browser blocks printing from the preview frame, press Download as one HTML file, open that file in a new tab and print it from there.
Print dialog settings worth changing
- Tick Background graphics if the page relies on coloured panels or background images.
- Switch off the browser's own headers and footers if you do not want the date and file path printed.
- Choose landscape for wide tables or dashboards.
- Use Pages in the dialog to skip a long footer that runs onto a final page.
Questions people ask
How do I convert MHT to PDF?
Open the MHT file in this tool, check the preview and press Print or save as PDF. In your browser's print dialog, pick Save as PDF or Microsoft Print to PDF as the destination and save. The page is rebuilt from the archive on your computer, with scripts removed, before it is printed.
What is an MHT or MHTML file?
It is a whole web page saved as one file: the HTML plus its images, stylesheets and other parts packed together in an email-style archive. Chrome and Edge create them with Save page as, Webpage, single file. Not every app can open them, which is why converting to PDF helps.
Why were scripts removed and outside links blocked?
Scripts in a saved page could run code or contact tracking servers when it is opened. Removing them, and blocking references to resources outside the archive, means the preview shows only what was saved and nothing is fetched from the internet. Layout usually survives without the scripts.
Can I convert MHT to HTML instead?
Yes. Press Download as one HTML file. The images and styles from the archive are embedded into that single HTML file, so it opens in any browser without the original archive, which is handy for editing the page or reusing its text.
Where your data goes
The archive is unpacked and rebuilt in your browser. Scripts are stripped and outside references are blocked, so opening it does not contact the original website; printing to PDF is done by your own browser on your own device.
Checked against the tool on