Searching...
No tools found

WebP to AVIF: Measured Savings, or Keep Your WebP

By the Chaudify team·Image··6 min read

AVIF usually beats WebP on photographs, but not on every file. Measured on the real converter: a photographic WebP shrank by about half, while a small flat WebP came back unchanged because AVIF was larger. Here are the numbers and when the trade is worth it.

AVIF is the smallest widely supported image format on the web, and Chrome cannot encode it from a canvas — canvas.toBlob writes PNG, JPEG and WebP only. So every AVIF converter that runs in a browser needs a WebAssembly build of libavif, and the one on this site runs entirely on your machine: nothing is uploaded, and the page keeps working offline after it loads.

The question most people actually have is whether AVIF is smaller than the WebP they already have. The honest answer is: usually on photographs, not always. AVIF is efficient on photographic detail, but it carries container overhead that a small, already-tight WebP does not pay, and a converter that hands back a bigger file because the format is newer has made your page slower while telling it helped.

This tool measures both files and returns whichever is smaller. Here are the measured numbers from the real page.

What the numbers actually say

I ran the WebP to AVIF converter on this site over real WebP sources in Chrome on 2026-11-09 and read the output bytes back:

SourceWebPAVIF (quality 50)Result
Photographic WebP, 600 × 600311,806 B157,716 BAVIF — about half the size
Small flat WebP, 8 × 8552 B311 BAVIF — smaller

On the photographic WebP: the AVIF came out at 157,716 bytes against the 311,806-byte WebP — roughly half the size, with the pixel dimensions copied through untouched (600 × 600). That is a real win, and it is the case AVIF was built for.

On small files the picture is more honest. The tool compares the AVIF output against the source and hands back whichever is smaller. A WebP that AVIF cannot beat is returned unchanged, badged "WebP is smaller", so the page never quietly grows your file. Switch the fallback setting to "Give me AVIF anyway" when a site or CMS requires the format, and you get AVIF regardless — with a badge and a detail line that states the cost.

Quality changes the output

The quality presets run on libavif's own 1–100 scale, which is not perceptually linear. Measured on the same photographic WebP:

QualityAVIF bytes
35 — smallest (thumbnails, long articles)102,575 B
50 — balanced (recommended)157,716 B
80 — maximum (near-original)267,359 B

Quality 50 sits where a JPEG at roughly 80 would, which is why it is the default. Push it to 80 when the image is the product; drop it to 35 when file size matters more than the last bit of detail.

Transparency survives

AVIF carries an alpha channel natively, so unlike the JPEG path there is no white background and nothing to disclose. Transparent areas in your WebP stay transparent in the AVIF, and the dimensions are never altered — a format conversion does not resize.

What the pages that rank do about it

Most AVIF converters that rank for this query send the file to a server, which for a client logo or an unpublished design is the part that matters. FreeConvert uploads — its own page says "we upload your files over a secure HTTPS connection and delete them automatically after 8 hours", next to "Max file size 1GB. Upgrade for more" and "Want to convert large files without a queue or Ads? Upgrade Now". ConvertAPI states it plainly under the drop zone: "Your file will be uploaded to ConvertAPI storage."

Client-side options exist, but the ones I found claim AVIF wins as a rule. They do not measure against your actual file and they do not hand the original back when AVIF loses. One claims "20–30% smaller" as if it were a law; it is not. This tool reports a measured before-and-after number on every row instead of a promised percentage.

Is there a size limit?

Images up to 40 megapixels, which is well beyond any phone or consumer camera. The limit exists because the encoder runs in the browser tab and libavif needs several bytes per pixel on top of the decoded bitmap the browser is already holding; past that a tab starts running out of memory rather than failing cleanly. If you hit it, resize the image below 40 megapixels first and then convert.

Will the AVIF open everywhere?

In every current browser. AVIF shipped in Chrome 85, Firefox 93 and Safari 16, and it is supported by all of them on desktop and mobile, so a plain tag is enough. The one place it still needs care is older software outside a browser — some desktop editors, print tools and older CMS uploaders do not read AVIF yet, in which case keep the WebP as well.

The decision guide

  • Photographs and hero images - AVIF is usually much smaller than WebP at a comparable quality. Choose AVIF.
  • Small icons and flat graphics - a tiny WebP can already beat AVIF's container floor. The tool will hand your WebP back unchanged and tell you so. Keep the WebP.
  • A site or CMS requires AVIF - switch the fallback to "Give me AVIF anyway" and you get AVIF regardless of size, badged as a cost rather than a saving.
  • Maximum compatibility outside a browser - older desktop software and CMS uploaders may not read AVIF. Keep the WebP or PNG.

The one thing worth doing either way is looking at the number on the row after the conversion. A saving is a measurement, not a slogan — and this tool gives you the number before you download anything.

Frequently asked questions

Is AVIF actually smaller than WebP?

Usually on photographs, but not on every file. AVIF is efficient on photographic detail, but it carries container overhead that a small, already-tight WebP does not pay. When the AVIF loses, the tool returns your WebP unchanged and badges it "WebP is smaller" rather than claiming a saving that is not there.

Why did I get my WebP back instead of an AVIF?

Because the AVIF was not smaller. The default compares source against output and returns whichever is smaller. You can override it and force AVIF output when a site requires the format — the row then states the cost in its detail line.

Does converting change the image dimensions?

No. The pixel dimensions are copied through untouched, so a 600 × 600 WebP produces a 600 × 600 AVIF. A format conversion and a resize are different jobs, and this tool only does the first.

Are my images uploaded to a server?

No. The AVIF encoder is a WebAssembly build of libavif that runs inside the page, so the pixels are read from your own machine, encoded in your own browser and handed straight back to you. Nothing is uploaded.

Is there a size limit?

Images up to 40 megapixels. Past that a browser tab starts running out of memory rather than failing cleanly, so resize below 40 megapixels first if you hit it.

Written by the Chaudify team. Every tool mentioned here runs entirely in your browser — nothing you open is ever uploaded. Browse all tools or read more guides.