Convert HTML to WEBP

Turn HTML files into WEBP. A screenshot of the whole page as a desktop browser shows it in a window 1280 pixels wide unless width says otherwise, 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 HTML files on the dialor turn it to pick what to do

A screenshot of a web page as WebP.The whole page, as a desktop browser shows it, saved as one image.

  1. What you get

    One WebP file with a screenshot of the whole page. The page is drawn as a desktop browser shows it in a window 1280 pixels wide, unless you set Width (px) to something else.

    The image is saved at quality 90 unless you ask otherwise. Scripts on the page run first, so content they add is in the picture.

  2. What does not load

    Remote resources other than common libraries do not load. Images, fonts or styles that the page pulls from other sites may be missing from the screenshot.

  3. Size and quality

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

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

    Turn on Lossless to keep text edges exact. The result is identical to the input in pixels, and much bigger than a lossy one.

  4. Very tall pages

    WebP holds at most 16383 pixels a side, so a taller page is refused.

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

HTML

The markup of web pages. Text, links and structure, usually with CSS and images alongside.

Extensions
.html .htm
MIME type
text/html
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 HTML to WEBP conversion through the API, for your app or your agent.

terminal
$ cv convert report.html report.webp
$ cv convert report.html report.webp

Questions.What people ask about HTML to WEBP.

01OF 04

The whole page. The screenshot covers the full page, not only what fits in the window.

1280 pixels unless you set Width (px). It accepts values from 320 to 3840.

Turn on Lossless to keep text edges exact. The file is much bigger than a lossy one. To change the file afterward, you can compress WEBP.

Remote resources other than common libraries do not load, so they may be missing. Scripts on the page run first.

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