Convert MHTML to PDF

Turn MHTML files into PDF. The saved page printed the way a desktop browser prints it, with the stylesheets and images it carried.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop MHTML files on the dialor turn it to pick what to do

A saved web page as a PDF.The page prints with its styles and images, as a desktop browser prints it.

  1. What you get

    One PDF of the saved page. It is printed the way a desktop browser prints it, with the stylesheets and images the MHTML file carried.

    The PDF has fixed pages that look the same everywhere, so it suits anything you will print or sign.

  2. Choosing the page size

    Set Page size to pick the pages the PDF is written on. A4 is 210 × 297 mm and Letter is 8.5 × 11 in. A4 is the standard in most of the world and Letter in North America.

    Choose auto and each page takes the size of its own content.

  3. When it fails

    If the file cannot be parsed, the conversion stops with input_corrupted. This happens when the MHTML file is damaged or is not a valid web archive.

MHTML and PDF.What each format is, and the options this conversion takes.

  1. 01 · page_size

    Page size

    The size of the pages written. A4 is the standard in most of the world and Letter in North America.

    • a4 210 × 297 mm.
    • letter 8.5 × 11 in.
    • auto Each page takes the size of its own content.
    a4 · letter · auto

The formats

From · MHTML

MHTML

A web page and its images saved as one MIME file, what browsers call a web archive.

Extensions
.mhtml .mht
MIME type
multipart/related
Kind
Text and data
To · PDF

PDF

Fixed-layout pages that look the same everywhere. The exchange format for anything that will be printed or signed.

Extensions
.pdf
MIME type
application/pdf
Kind
Documents

In your code.The same MHTML to PDF conversion through the API, for your app or your agent.

terminal
$ cv convert report.mhtml report.pdf
$ cv convert report.mhtml report.pdf

Questions.What people ask about MHTML to PDF.

01OF 04

Yes. The page is printed with the stylesheets and images the MHTML file carried.

Use A4 in most of the world and Letter in North America. Auto sizes each page to its own content.

Yes. Both .mhtml and .mht are MHTML files.

The file could not be parsed. The conversion stops with this code when the archive cannot be read.

More conversions.Other ways in and out of MHTML and PDF.