HeyDreaming

Free · runs in Chrome, Edge or Firefox · free account to download

Convert AVIF to WebP

Loading the tool…

Drop an AVIF file and save it as a WebP that more apps and upload forms accept. The transparency is kept, the quality is yours to set, and the image is not uploaded.

How do I convert an AVIF file to WebP?

Drop the .avif file into the box above and it converts right away at 90% quality; move the slider and the WebP is redone at the new setting. The browser decodes the AVIF, draws it onto a canvas at the same width and height and writes a new WebP, with transparent pixels left transparent. The result line prints both file sizes and the change, so you can compare before downloading.

How it works

01

Add the AVIF file

Drag it into the box or click to choose it. Files up to 50 MB are accepted.

02

Adjust the quality

The first WebP is made at 90%; the slider goes from 50% to 100%. Lower it for a smaller WebP, raise it when the picture carries fine text or hard edges. It converts again when you let go.

03

Compare and download

The result line shows the old size, the new size and the percentage change. Download the WebP with a free HeyDreaming account; the AVIF you dropped in is not changed.

Why convert AVIF to WebP

AVIF squeezes photos down further than JPG or WebP, which is why so many sites now serve it. That lead comes with a cost: fewer programs can read it. A browser, app or image viewer that is a few years behind usually opens WebP and refuses AVIF, and some site builders, content managers and upload forms take WebP but stop at AVIF and ask for a different file.

WebP is the middle ground, and it is the only format this page writes. Every current desktop and mobile browser opens it, many site builders and content managers accept it, and for a photo it is far lighter than PNG and usually lighter than JPG. Converting gives you a copy that a wider set of tools will take without anyone installing anything.

WebP also keeps an alpha channel, so a cut-out product shot or a logo with a transparent background stays a cut-out instead of picking up a filled box behind it. Two cases WebP does not solve: an upload form that only takes JPG or PNG refuses WebP too, and a viewer so old it cannot open WebP either. For both, the AVIF to JPG or AVIF to PNG page is the one that finishes the job.

What changes in the file

The browser decodes the AVIF once, draws those pixels onto a canvas at their original width and height, and encodes them as WebP at the quality you set. Nothing is resized, and transparency is written through.

Every conversion is one fresh round of WebP compression. Chromium may write a lossless WebP at 100%; other browsers stay lossy there, and every browser is lossy below the top. Near 90% that is hard to see in a photo; as you lower the setting, smooth areas such as skies can turn patchy and thin lines pick up soft halos.

In most cases the WebP comes out larger than the AVIF, not smaller. AVIF holds the same photo in fewer bytes, so moving away from it gives some of that space back; lowering the quality brings it down again. Both sizes print before you download, so a file that grew too much is easy to skip.

What stays behind: camera details such as the shooting date, GPS position and lens are not written into the WebP, and an embedded color profile is not copied. Color comes out as the 8-bit sRGB the canvas uses, so a wide-gamut photo is brought into that range and a 10-bit or HDR AVIF is saved at 8 bits per channel, which costs some tonal detail.

Browser support: reading and writing

Two separate checks matter here. Reading the input needs the browser's own AVIF decoder: recent Chrome, Edge, Firefox and Safari can all open AVIF, so an older browser version is usually the reason a file fails to decode. Writing the output needs a WebP encoder, and that is the narrower door.

Safari can open WebP but its canvas cannot create one, so this page cannot save a WebP in Safari or in any browser on an iPhone or iPad. The page tells you when your browser cannot write WebP and keeps the Convert button off, so nothing fails halfway. Run the file in Chrome, Edge or Firefox on a computer or Android instead. On Safari, the AVIF to JPG and AVIF to PNG pages still save a file, because those two formats can be written there.

What this tool does not do

It does not keep animation (an animated AVIF saves as its first frame only), copy camera details or color profiles, resize the picture, or work in Safari, whose canvas cannot write WebP.

See all free tools

Keep exploring

Related free tools

Questions

AVIF to WebP: FAQ

Is the AVIF file uploaded?

No. Your browser decodes the file and writes the new one, on your device. The page records usage events in Google Analytics, such as which tool ran and which format, but never the image.

Will the WebP be smaller than my AVIF?

Usually not. AVIF compresses more tightly than WebP, so the converted file often lands larger. If size matters most, lower the quality slider and run it again, and check the two numbers printed before you download.

Does the transparent background survive?

Yes. WebP stores an alpha channel and this tool does not flatten it, so transparent pixels stay transparent. A JPG conversion would fill them with white.

Why does the page say my browser cannot save WebP?

Safari has no WebP encoder in its canvas, so it can open WebP files but cannot create them. This also applies to every browser on iPhone and iPad. Open the page in Chrome, Edge or Firefox and run the file again.

Is the 100% quality setting lossless?

Not always. A browser canvas has no lossless switch, so at 100% quality Chromium browsers may write a lossless WebP while other browsers stay lossy. Treat 100% as the gentlest setting, not as an exact copy of the pixels.

What happens to an animated AVIF?

Only the first frame is decoded, so you get one still WebP. The other frames and their timing are dropped.

Can I convert several AVIF files at once?

This page converts one file at a time. For several images, the bulk image converter takes as many as 20 files at once and returns them as a ZIP.