Convert PNG to WEBP

Turn PNG images into WEBP. Same size, alpha kept.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A WebP with the same size and transparency.Your PNG keeps its width, height and alpha channel.

  1. What you get

    One WebP file at the same width and height as the PNG. Transparent areas stay transparent, because the alpha channel is kept.

    By default the conversion is lossy at quality 90. Lossy compression does not keep every pixel as it was.

  2. Lossless or smaller

    Turn on Lossless to encode without losing anything where the format can. The result is identical to the input in pixels, and it is much bigger than a lossy file.

    Without Lossless, Quality sets how much detail is kept, 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 Grayscale to turn colors into shades of gray, which often makes the file smaller.

  3. Size, rotation and metadata

    Set Max width or Max height to shrink a large image while keeping its shape. Images that are already smaller stay as they are, so nothing is enlarged. For resizing on its own, see resize PNG.

    Set Rotate to turn the result clockwise by 90, 180 or 270 degrees. Turn on Strip metadata to remove EXIF and other metadata, including the color profile.

  4. When it stops

    The conversion stops with input_corrupted when the file could not be parsed.

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

  1. 01 · grayscale

    Grayscale

    Turns colors into shades of gray, which often makes the file smaller.

  2. 02 · 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.

  3. 03 · max_height

    Max height (px)

    Shrinks anything taller than this, keeping its shape. Anything shorter stays as it is, so nothing is ever enlarged.

    1 to 20000
  4. 04 · max_width

    Max width (px)

    Shrinks anything wider than this, keeping its shape. Anything narrower stays as it is, so nothing is ever enlarged.

    1 to 20000
  5. 05 · 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
  6. 06 · rotate

    Rotate

    Turns the result clockwise by a quarter, a half or three quarters.

    90 · 180 · 270
  7. 07 · strip

    Strip metadata

    Removes EXIF and other metadata, such as the camera, the time and the GPS position a photo was taken at, and the color profile. The file gets a little smaller and says less about where it came from.

The formats

From · PNG

PNG

Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.

Extensions
.png
MIME type
image/png
Kind
Images
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 PNG to WEBP conversion through the API, for your app or your agent.

terminal
$ cv convert photo.png photo.webp
$ cv convert photo.png photo.webp

Questions.What people ask about PNG to WEBP.

01OF 04

Yes. The alpha channel is kept, so transparent areas stay transparent.

Not by default. It is lossy at quality 90 unless you turn on Lossless.

Yes. Set Max width or Max height to shrink it. Images smaller than the limit are not enlarged.

It means the file could not be parsed, and the conversion stops.

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