Private by design
The archive is read and converted on your device. Saved pages with account details or internal data are never sent to a server.
Convert .mhtml and .mht saved web pages to PDF, one file or a whole batch, directly in your browser with no upload.
or drag and drop .mhtml or .mht files here
The archive is read and converted on your device. Saved pages with account details or internal data are never sent to a server.
Add up to 50 MHTML or MHT files, convert them in one run and download every PDF in a single ZIP.
See each saved page before converting, then choose paper size, margins, layout width, quality and an optional URL footer.
Your original file is not changed; the PDF is a new file.
Choose or drop .mhtml or .mht files, up to 50 at a time and 200 MB each, or try the sample file.
Select a file to see the saved page, its title, how many resources were found and any that were missing.
Pick the paper size, orientation, margins, layout width and quality. Add a footer with the URL if you need one.
Select Convert to PDF, then download each PDF or all of them as a ZIP. Use Print for selectable text.
Need the page as a web file instead? Download as HTML saves it as one self-contained file with every image embedded. You can then join pages with the HTML Merger or cut a long one into sections with the HTML Splitter.
No. Your browser reads the MHTML file, unpacks its parts and builds the PDF locally. There is no upload, no account, and nothing is stored after you close the page. Scripts are removed from the saved page and it is blocked from making network requests.
Yes, as far as the archive allows. Convert to PDF draws the page with its own styles, images and fonts at the layout width you choose. Anything the browser did not store when the page was saved, such as images that never loaded, cannot be shown and is reported in the file list.
An MHTML file is a whole web page packed into one file. It is handy for saving a page, but awkward to share: many phones, mail systems and document tools do not know what to do with it. A PDF opens everywhere. This guide explains what is inside an MHTML or MHT file, the ways to convert MHTML to PDF, and how to get a clean result with this converter.
MHTML stands for MIME HTML. The format is described in RFC 2557, which reuses the structure of an email message to hold a web page. The file starts with a few headers and is then divided into parts by a boundary line. One part is the HTML. The others are the stylesheets, images and fonts the page needs. Each part carries a Content-Location header with its original address, so the page can still find its resources when it is opened offline.
Text parts are normally stored as quoted-printable and binary parts as base64. Both encodings come from RFC 2045, the core MIME standard. That is why an MHTML file opened in a text editor looks like an email full of =3D and long blocks of letters.
Three kinds of software write these files:
.mhtml file with a Snapshot-Content-Location header that records the page address. Chrome on Android also stores downloaded pages as MHTML..mht files. Many archives from the 2000s and 2010s are in this form..mht. Reporting tools and help desks export the same way..mht and .mhtml are the same format with two extensions. Firefox does not open or save it without an extension, and Safari uses its own .webarchive format instead.
| Method | Setup | Privacy | Many files | Good to know |
|---|---|---|---|---|
| This converter | None. Runs in any current browser. | Files stay on your device | Up to 50 files, ZIP download | Image-based PDF that matches the page, or the print route for selectable text. |
| Open in Chrome or Edge, then print | A Chromium browser on a computer. | Local | One file at a time | Selectable text. The page can still run its scripts, and print styles may hide parts of it. |
| LibreOffice | Desktop install. | Local | Possible from the command line | Has no dependable MHTML import. Works from plain HTML, but lays pages out like a word processor. |
| Upload converters | None. | The saved page is sent to a server | Often limited to about 10 files or 10 MB | Results depend on the server's renderer. Not suitable for private pages. |
Opening the file in Chrome or Edge and pressing Ctrl+P works well for one page on a computer. It is slow for a folder of files and does not work on an iPhone. LibreOffice is a good free PDF exporter for documents, but it is a word processor, not a browser, so pages built with modern CSS rarely keep their layout. Upload converters are convenient, but a saved page can contain account details, order numbers or internal data, and uploading it means handing that to someone else's server.
.mhtml or .mht files on the page, or choose them. Plain .html files are accepted too. You can add up to 50 files of up to 200 MB each.Layout width has the biggest effect on the result. It is the width of the browser window the page is drawn in. Desktop (1280 px) gives the layout most sites show on a laptop. Mobile (390 px) gives the phone layout: one column and larger text, which reads well on paper. Wide (1600 px) suits dashboards and wide tables. The page is then scaled to fit the printable width, so a wider layout means smaller text on the page.
Paper size. Use A4 or Letter for anything you may print. Legal and A3 give more room per page. "Single long page" puts the whole page on one tall PDF page with no breaks, which is the best choice for reading on a screen. PDF viewers limit a page to 200 inches, so a very long page continues on a second one.
Quality. Standard draws the page at 1x and stores JPEG images. Files are small and fine for reading. High draws at 2x, so small text stays sharp when you zoom or print. Lossless stores PNG images with no compression artifacts and produces the largest files. Use it for screenshots of charts or code.
Margins, background and footer. Margins run from none to 20 mm. Turning background graphics off removes background colors and images to save ink. The footer adds the original URL and "Page X of Y" to every page, and the URL can be a clickable link.
The Convert button draws the page onto a canvas and places those images in the PDF. The result looks exactly like the preview in every viewer, including fonts and backgrounds, but the text is part of a picture. You cannot select or search it, and links inside the page are not clickable.
The "Print / Save as PDF" button sends the same cleaned page to your browser's print dialog with your paper size and margins applied. Choose Save as PDF as the destination. The browser writes real text, so you can select, search and copy it, links work, and the file is usually smaller. The layout follows the paper width, and a site's own print styles can hide menus or change fonts. Use Convert when the look matters and Print when the text matters. To read the finished file comfortably, see our guide to the best PDF readers and editors for Mac.
.mht files sometimes declare no character set. The converter tries the declared charset, then a <meta charset> tag, then UTF-8, then windows-1252. If text still looks wrong, download the page as HTML and check its encoding in the Large Text File Viewer.Everything runs in your browser. The file is read with the File API, parsed in memory, and the PDF is built on your device. There is no upload, no account and no copy kept after you close the tab. Scripts, event handlers and embedded objects are removed from the page before it is shown, and a content security policy blocks every network request from the preview, so a saved page cannot load trackers or contact its original site.
"Download as HTML" gives you the page as one self-contained file. Join several of those with the HTML Merger, or edit them with one of the best HTML editors for Linux. For source code, Python code to PDF makes a highlighted PDF from .py files. Documents saved from Word can be combined with Merge Word Files, and saved ebooks open in the EPUB Reader. More converters are listed on the PDF tools and HTML tools pages.
Turn code into PDF, merge saved pages, or browse every PDF tool.