WebP Into AVIF When Every Kilobyte Counts

Move a WebP up to AVIF, drop a fifth to a third of the weight on real photos, and hold every clear pixel.

or drop the image here

Re-encoding a WebP as AVIF

Re-encoding a WebP as AVIF

Drop a WebP into the upload area or tap to browse for one. The work begins the second the file arrives, with no convert button to find. AVIF is the heaviest format to encode, so a single picture goes up to our server for the best result, and the finished AVIF comes back ready to keep. A small picture clears well under a second, a 2-megapixel photo in about a second, and an 8-megapixel one in a few seconds. Once the AVIF is ready, tap Download to save it under the original base name with a .avif extension. The size readout lines up both files so you can see exactly how much came off, and the download link is wiped inside roughly 2 hours.

How much lighter than WebP?

How much lighter than WebP?

AVIF rides on the AV1 codec and tends to land about 20 to 30 percent under WebP at the same perceptual quality, going by SSIM and DSSIM tests across photo sets. On plain graphics with flat fields or hard edges the margin shrinks, and WebP can match or beat it. The gain is biggest on photographs, the very files that pile up weight on most sites today. A 32 KB WebP might come down to 22 or 26 KB as AVIF at the same visible quality. Already-crushed WebP sources give back less. With AVIF coverage now over 93 percent worldwide, the fallback case for a modern crowd has thinned to a small slice.

Does the transparency survive?

Does the transparency survive?

It does. WebP carries an alpha channel and AVIF does too, and the conversion moves it across untouched. A WebP sitting on a transparent backdrop becomes an AVIF on the same transparent backdrop, with no white fill, no color drift, no rim halo, and none of the premultiplied-alpha oddities that catch people out. That is the reverse of going to JPG, which kills alpha outright since it has no transparency at all. A cut-out logo, an interface sprite, or a sticker on a clear canvas needs no flattening before you convert. The alpha plane encodes next to the color at quality 85 and reaches the output with its soft edges whole.

Quality and how long it runs

Quality and how long it runs

Neither format is lossless, and the setting here is locked to quality 85. At that level a photograph sits near 42 dB PSNR, which natural scenes wear without a visible scratch. Crisp edges and broad flat fields are where faint artifacts can creep in. The source being a lossy WebP already, this run is the second squeeze, so anything the WebP dropped is not returning. AVIF buys its tighter files with clock time. A 2-megapixel photo finishes under a second on Chrome desktop, eight megapixels around 3 seconds, and a 24-megapixel frame somewhere in 10 to 30. Firefox roughly quarters that pace, and phones run three to five times behind desktop Chrome. The opening run also pays a brief warm-up.

Serving AVIF to browsers

Serving AVIF to browsers

AVIF now clears 93 percent of browsers worldwide: Chrome from 85, Firefox from 93, Safari from 16.4, and Edge from 121 all paint it on their own. The gaps are Internet Explorer, Opera Mini, and Safari builds before 2022. What that means for delivery is that an HTML picture element offering AVIF with a WebP fallback reaches very nearly all modern visits. Where the last few percent still matter, leave the WebP fallback in place. Where the audience is reliably modern, AVIF can stand alone. The bandwidth payoff is why AVIF first with a WebP backup has become the go-to setup for performance-minded developers in 2026.

Where the work happens

Where the work happens

AVIF is the most demanding format to build, so this pair leans on our server to turn out the best file, which means a conversion to AVIF can carry your WebP up to it. The encode runs, the AVIF lands back with you, and the download link is wiped inside roughly 2 hours. Send several files together and the server always takes the batch, zips the lot, and hands it back on that same short clock. Should the server ever be out of reach, the page quietly encodes one image right in the browser instead, that single file staying with you. We keep no account, no profile, and no copy of your picture past that brief processing moment. Put plainly: one AVIF may be built on our server for quality, a batch always is, and none of your material sticks around once it is done.

How it works

  1. Add your WebP

    Drag the WebP into the upload area, or tap it to open a picker and choose one from your device to get started.

  2. Let it run

    AVIF is the heaviest format to encode, so the picture goes up to our server for the cleanest result. The download is wiped inside roughly 2 hours.

  3. Read the sizes

    When the AVIF lands, the readout shows the WebP source size beside the AVIF output size. A 20 to 30 percent cut on photos is normal.

  4. Save the AVIF

    Tap Download to keep the file on your device under the original base name with a fresh .avif extension.

Keep converting

Drop back to WebP when reach matters more than size, or start from a lossless PNG to claw back even more.

Frequently asked questions

Does AVIF beat WebP?

On photographs headed to a modern browser crowd, AVIF takes it on compression, often 20 to 30 percent smaller at the same perceptual quality going by DSSIM tests across photo sets. On flat-color, hard-edged graphics WebP stays in the running and now and then comes out smaller. Both hold alpha and animation. If your visitors run modern browsers, about 93 percent of users today, AVIF is the smarter default. If not, keep WebP behind it as a fallback.

Does converting cost quality?

Yes, a touch of generation loss comes with the territory. Both ends lose data, so feeding a lossy WebP through AVIF at quality 85 lays on one more compression pass. Photographs land near-lossless at about 42 dB PSNR. Hard edges and flat color may surface mild artifacts. You cannot reach a truly lossless AVIF from a lossy WebP, because the detail the WebP encoder let go is already missing long before this conversion picks up the file.

Does AVIF hold transparency the way WebP does?

Yes. Alpha channels live in both WebP and AVIF, and the conversion ports transparency over precisely, with no white fill, no color drift, and no halo at the rim. That separates it from a trip to JPG, where alpha is gone for good given JPG has none. A transparent WebP turns into a transparent AVIF, soft edges and partly clear pixels and all. Nothing has to be flattened ahead of the conversion.

How long does the conversion take?

The session's opening run readies the encoder in roughly a second. After it, a 2-megapixel image finishes under a second on Chrome, eight megapixels near 3 seconds, and 24 megapixels anywhere from 10 to 30. Firefox runs about four times behind Chrome on AVIF, so a big image can sit there half a minute. Phones trail desktop by three to five times. For heavy files or a Firefox setup, desktop Chrome is the fastest seat.

Why is encoding AVIF slower than WebP?

AVIF sits on the AV1 codec, which runs far heavier prediction and entropy coding than WebP's VP8-based scheme. AV1 was built to push compression to the limit and pays for it in encode complexity, trading slow encoding for top-tier output. Decoding AVIF stays quick in every modern browser since hardware decode is standard. Encoding, though, is demanding work, and the math for a big photograph is genuinely intensive, which is why it is never instant.

When does WebP to AVIF make sense?

When you own the delivery path end to end and your visitors run modern browsers, moving WebP up to AVIF pays off on photographs and photo-like content, where the 20 to 30 percent cut feeds straight into faster LCP. It makes less sense on small icons or plain graphics where WebP is already lean, on high-traffic pipelines the encode time would clog, or when the system at the far end specifically asks for WebP.

The details

Notes from the team on craft, formats, and the small decisions behind a good round crop.

What gives AVIF the edge on photos
AVIF's lead over WebP traces back to the codec underneath. WebP runs the VP8 intra-frame engine, made for video but pressed into still duty since 2010. AV1, the engine behind AVIF, landed in 2018 after years of work pointed straight at the shortcomings of VP8, VP9, and H.264. AV1 leans on sharper chroma subsampling, block splitting as fine as 4 by 4 pixels, and a stronger entropy coder. The upshot, backed by DSSIM analysis over big photo sets, is that AVIF generally runs 20 to 30 percent smaller than WebP at the same perceptual quality on photographs. On machine-made graphics with flat color and crisp edges the margin tightens, since WebP's plainer algorithm copes well there. Any page whose heaviest pieces are photos feels the AVIF upgrade in real bandwidth.
Living with the second lossy pass
Convert a WebP to AVIF and both ends are lossy. The WebP encoder already chose what color detail to drop when the WebP was made, and those calls stick: AVIF cannot undo a single one. The AVIF encoder then makes its own calls on the pixels it gets, at quality 85. On photographs the two passes together still read as near-lossless at ordinary sizes, around 42 dB PSNR on genuine photo content. On graphics already worn by their WebP encoding, the second pass can pile visible artifacts on top. The working rule is simple: if the source WebP looks clean at the size you will show it, the AVIF will too. If the WebP already carries compression noise, study the AVIF closely before it ships.
Walking the alpha channel across
WebP and AVIF both stash transparency on a separate alpha plane beside the color. The conversion reads the WebP's alpha, brings it together at full transparency, then passes it to the AVIF encoder, which writes its own alpha track with AV1 intra-frame coding at quality 85. Soft transparency gradients, feathered rims, and half-transparent zones all clear the round trip. The AVIF alpha plane is itself lossy at quality 85, which can leave a barely-there fringe on sharp edges when you zoom hard. At normal web sizes the gap from the source stays invisible. For pixel-exact work on small icons where the alpha edge has to be perfect, hang on to the WebP and check the output at full zoom before you send it out.
What to expect on each engine and device
Once a session the encoder spends about a second getting ready. From then on Chromium sets the pace: somewhere near 40 milliseconds for a 0.12-megapixel thumbnail, 250 for a one-megapixel photo, 2.8 seconds for a 4K shot, and as much as 25 seconds for a 48-megapixel monster at its worst. Firefox stands out the wrong way, dragging the very same encoder to about a quarter of that speed, so a 4K frame can near 31 seconds and the biggest files slip past two minutes. WebKit lands in the middle, leaning toward Chromium. Handsets trail desktop by three to five times whatever the engine. Day to day, a desktop or laptop Chrome window is the right pick. Firefox plus a large image, and the plain counsel is to change browsers or stay on WebP.
The Core Web Vitals upgrade case
Pages serving photographs pay bandwidth on every image. If those images are WebP today, moving them to AVIF trims each transfer by roughly 20 to 30 percent on photos. A 200 KB WebP hero comes down to about 140 to 160 KB. A product grid of twelve 30 KB WebP thumbnails sheds roughly 70 to 90 KB of total weight. Those cuts feed straight into Largest Contentful Paint whenever the LCP element is an image. With AVIF support near 94 percent worldwide, a picture element serving AVIF first and WebP behind it covers nearly all traffic. The markup is written once per image component, while the bandwidth saving comes back on every single page load after that.
Why AVIF encoding wants a server
AVIF rides the AV1 codec, the same family behind modern video, and it is built to be heavy to encode in return for its tiny files. Doing that job properly, above all on big photographs, runs far quicker and steadier on a proper server than inside a phone browser, so this pair carries the picture up to ours to turn out the best AVIF it can. The file is worked, the result comes back, and the download is wiped inside roughly 2 hours, with no account and nothing kept long term. Converting a pile of images at once always happens on the server, which gathers the finished set into one download for you, cleared on the same short timer. If the server cannot be reached, a lone conversion is built right in the browser instead, that one file staying put, taking a slower encode as the price of carrying on. The bargain is plain: server encoding earns you quality and pace on the format that needs it most, and your file is never held past the short stretch it takes to convert.