Convert MHTML to WEBP

Turn MHTML files into WEBP. A screenshot of the whole saved page as a desktop browser shows it in a window 1280 pixels wide unless width says otherwise, with the stylesheets and images it carried, saved as a WebP at quality 90 unless asked otherwise; set lossless to keep text edges exact.

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 one WebP image.The whole page, drawn as a desktop browser shows it.

  1. What you get

    A single WebP image of the whole saved page. It is shown in a desktop browser window 1280 pixels wide unless you set Width (px) to something else.

    The stylesheets and images stored in the MHTML file are used when the page is drawn. The result is saved at quality 90 unless you ask otherwise.

  2. Sharp text or a set size

    Set Lossless to keep text edges exact. Lossless output is much bigger than a lossy one.

    Set Quality, from 1 to 100, to choose how much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    Set Width (px), from 320 to 3840, for the exact width of the image. The height follows the aspect ratio unless you also give it, in which case the picture can be stretched.

  3. Very tall pages

    WebP holds at most 16383 pixels a side, so a taller page is refused. This limit comes from the format.

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

  1. 01 · lossless

    Lossless

    Encodes without losing anything where the format can. The result is identical to the input in pixels or samples, and much bigger than a lossy one.

  2. 02 · quality

    Quality

    How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    1 to 100 default 90
  3. 03 · width

    Width (px)

    The exact width of the result in pixels. The height follows the aspect ratio unless it is also given, in which case the picture can be stretched.

    320 to 3840 default 1280

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 · WEBP

WebP

Google's web image format with lossy and lossless modes, alpha and animation. Smaller than JPEG and PNG.

Extensions
.webp
MIME type
image/webp
Kind
Images

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

terminal
$ cv convert report.mhtml report.webp
$ cv convert report.mhtml report.webp

Questions.What people ask about MHTML to WEBP.

01OF 04

It is 1280 pixels wide, the width of the desktop browser window used to draw the page. Set Width (px) to change it.

Turn on Lossless. The file is much bigger than a lossy one.

The page is taller than WebP allows. A WebP holds at most 16383 pixels a side.

Yes. You can lower Quality here, or use compress WEBP on the result.

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