FREEFirst project with us? Your landing page design is on the house.See the offer

Glossary · Speed

What is AVIF?

By Abdul QuadirUpdated Nov 2026
AVIFnoun · Speed

AVIF is a modern image format based on the AV1 video codec. It can produce very small files at good quality, often smaller than WebP.

AVIF is a modern image format based on the AV1 video codec. It can produce very small files at good quality, often smaller than WebP.

AVIF, explained

It came from the Alliance for Open Media, the group behind AV1. It supports transparency, HDR and wide colour, and suits detailed photos well.

The downside is encoding time. AVIF files take longer to create than WebP, which can matter when you process many images, though it does not affect visitors directly.

Current major browsers support it. To be safe, you can use the HTML picture element to offer AVIF first, with WebP or JPEG as a fallback.

Very high compression can make fine detail look smooth or smeared. Check images by eye, especially text in screenshots, instead of only choosing the smallest file.

In our work

How Kookies uses it

We pick the image format per project and image, and on Astro builds we can generate AVIF with a fallback when it is worth it.

FAQs

AVIF
questions.

Abdul Quadir
Still have a question?Ask us directly. We reply within a day.
Book a callPick a timehello@kookies.io

It is often smaller for the same quality, but slower to encode. Both are good choices.

Current major browsers do. Use a fallback in the picture element if you need to cover older ones.

Not always. Test it on screenshots and images with sharp text, and use SVG for logos and icons.

Your turn

Let's kook
what you krave.

Hi Kookies, I need a built on . I'd love to launch . Reach me at
or book a callSent. We reply within one working day.