Compress an AVIF

Take more weight off an AVIF, the format that is already the lightest.

Drop your images hereor click to choose filesJPEG, PNG, WebP, AVIF, HEIC, PSD, PDF and over 100 more formats; camera RAW with Pro. Up to 20 images, 20 MB each.Choose Images

  • Private by defaultDeleted within an hour
  • Super FastProcess in seconds
  • No Sign-upStart instantly

How it works

  1. Add your images

    Drag and drop, paste, or pick files. They upload over an encrypted connection.

  2. Pick a quality or a target size

    Use the quality slider, or tell it exactly how many KB or MB you need.

  3. Download

    Save each file, or grab them all at once as a ZIP.

AVIF is the most efficient image format in common use, so an AVIF file is often close to as small as that picture gets. Not always, though. Design tools and image services tend to export at cautious, high quality settings, and pictures are frequently stored at far more pixels than they are shown at. In both cases there is weight to take off, and this page takes it off while the file stays an AVIF.

The page starts at quality 50, a setting where photographs still look clean at normal size. The file is decoded and encoded again at that quality. If the result would not be smaller than what you uploaded, you get your original back, marked as already optimised, so a good file is never traded for a worse one.

Encoding AVIF takes longer than other formats; allow a few seconds for a large picture. Uploads travel over an encrypted connection, the work is done on our own servers, and files are deleted within the hour.

When recompressing an AVIF pays off

It pays when the file was made generously. An export at quality 80 or 90 from an editor carries detail nobody will see on a web page, and re-encoding at 50 to 60 can halve it. A picture of 4000 pixels that is displayed at 1200 is carrying eleven times the pixels it needs.

It does not pay when the AVIF came from a service that already optimised it, which is true of most images saved from large websites. Encoding such a file again at a similar setting costs detail for a saving of a few percent, or none. The Smart mode in the editor is a good way to find out: it compares candidates between 45 and 70 against your file and keeps the lowest that still looks the same.

Fewer pixels beat lower quality

When an AVIF has to shrink a lot, reach for Resize before the quality slider. Halving the width and the height removes three quarters of the data with no damage to what remains, while pushing quality far down smooths skin, fabric and foliage into something that looks like plastic. AVIF fails gracefully, with no blocks and no ringing, but it does fail, and the first thing to go is fine texture.

For a fixed limit, switch to Target size and type the number of kilobytes. The search tries qualities first and reduces the dimensions only when quality alone cannot reach the limit.

What a second encode can take away

The format can hold more than this tool writes. An AVIF from a recent phone or a professional export may use ten bits per channel, a wide colour space, or HDR brightness. The compressed file is written with eight bits per channel in standard sRGB. Ordinary pictures look the same. An HDR image loses its extra highlights and can look flatter afterwards, so keep the original of anything graded for HDR displays.

Every lossy re-encode also costs a little. Compress from the best version you have, once, and avoid running the same AVIF through a compressor several times.

Frequently asked questions

Why is my AVIF marked as already optimised?

Because encoding it again at the chosen quality would not make it smaller. You get your own file back. Try Resize, or a lower quality, if it has to shrink.

Which quality should I use for AVIF?

The scale runs lower than JPEG's. 50 to 60 suits photographs for the web, 40 to 45 thumbnails, and 65 to 70 large images that people look at closely.

Can I compress an AVIF without any loss?

Lossless mode stores every pixel exactly. It only helps for graphics; for a photo that was lossy already, the lossless file is larger than the original.

Is transparency kept?

Yes. An AVIF with an alpha channel stays transparent.

Why does compressing take longer than with JPEG?

AVIF's encoder does far more searching for each block of the picture. That effort is where the small files come from.

Can I convert the AVIF to something else while compressing?

Yes. Choose WebP, JPG or PNG in the Format menu; the same quality and size settings apply.

More

Get Pro

Appearance

Language

PrivacyTermsRefunds