Convert AVIF to WEBP

Turn AVIF images into WEBP. An animated WebP with every frame, its timing and its transparency, looping as before, lossy at quality 90 unless lossless is set.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

AVIF to WebP, frames and all.Animation, timing and transparency carry over. A still AVIF stays a still WebP.

  1. What you get

    One WebP file. An animated AVIF becomes an animated WebP with every frame, its timing and its transparency, and it loops as before. A still AVIF gives a still WebP.

    The output is lossy at quality 90 unless you turn on Lossless. Frames that look the same after lossy compression are merged into one longer frame.

  2. What is kept

    A still AVIF keeps its EXIF data and its color profile. Turn on Strip metadata to remove them, along with the camera, the time and the GPS position a photo was taken at. The file gets a little smaller and says less about where it came from.

  3. Options

    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.

    Turn on Lossless to encode 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.

    Set Max width or Max height to shrink anything larger than the value you give, keeping its shape. Smaller images are never enlarged. Rotate turns the result clockwise by 90, 180 or 270 degrees. Grayscale turns colors into shades of gray, which often makes the file smaller. To work on an existing WebP, see resize WEBP.

  4. When it fails

    If the AVIF cannot be parsed, the conversion stops with input_corrupted.

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

AVIF

AV1-based images with better compression than WebP and support for HDR and alpha.

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

terminal
$ cv convert photo.avif photo.webp
$ cv convert photo.avif photo.webp

Questions.What people ask about AVIF to WEBP.

01OF 04

Yes. An animated AVIF becomes an animated WebP with every frame, its timing and its transparency, and it loops as before.

By default, yes. It is lossy at quality 90. Turn on Lossless to encode without losing anything where the format can.

Yes, for a still AVIF. Turn on Strip metadata to remove them.

Lower Quality, or turn on Grayscale, which often makes the file smaller. Both change the picture, and compress WEBP covers more.

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