Compress AVIF Images Online

Even AVIF can sometimes be too large. Drop your AVIF files here and re-export them at a lower quality as AVIF, WebP, or JPEG — all right in your browser.

Last updated: August 2026

Drop your images here or click to select

Supports JPG, PNG, WebP and AVIF

Compressing an AVIF is a different proposition from compressing a JPEG, because you are starting from the most efficient mainstream format rather than one of the least. Most of the easy savings have already been taken. That means the returns here are genuinely diminishing, and it is worth checking what you are actually trying to fix before turning the quality down further.

When an AVIF is too large, the cause is usually pixel dimensions rather than insufficient compression. AVIF is efficient enough that a file which still feels heavy is normally carrying far more resolution than its destination needs. Resizing first addresses that directly and costs nothing visually, whereas pushing an already well-compressed AVIF harder degrades an image that had little slack left to give.

The other thing to know is that re-encoding AVIF is slow. No browser can produce AVIF through the standard canvas export, so a WebAssembly encoder does the work — which is why a re-export takes noticeably longer than the same operation in JPEG or WebP. That cost is worth paying when you genuinely need a smaller AVIF, and worth avoiding when a resize would have solved the problem in a fraction of the time.

How to compress an AVIF image

  1. 1

    Check the dimensions first

    Compare the pixel size against how the image will be displayed. If it is several times larger, resizing is the real fix and will save far more than re-compression.

  2. 2

    Add your AVIF files

    Your browser decodes them locally, so nothing is uploaded. Re-encoding also runs on your device via the WebAssembly encoder.

  3. 3

    Choose the output format

    Staying in AVIF keeps maximum efficiency. Switching to WebP or JPEG makes the file more widely compatible at the cost of some size — a reasonable trade if something downstream cannot read AVIF.

  4. 4

    Lower the quality carefully

    Small reductions go a long way from an already-efficient starting point. Check the result at full size rather than assuming the usual settings apply.

Pro tip: Re-encode from the original source rather than from the AVIF whenever you still have it. Every lossy pass compounds on the last, and AVIF is efficient precisely because it discards aggressively — a second aggressive pass on top of the first shows up faster than it would with a more forgiving format. If the AVIF was generated from a master image you still hold, going back to that master and encoding once at the size and quality you need beats re-compressing the delivery file.

Troubleshooting: If lowering the quality barely reduces the file, the AVIF was already well compressed and there is little left to take — resize instead. If the result looks blotchy after a small quality reduction, you are past the point where the format has slack; step back up and reduce dimensions. If re-encoding feels slow, that is the WebAssembly encoder doing genuine work rather than something stalling. And if the output is refused somewhere, that is AVIF compatibility rather than the file itself.

To move to a more widely supported format, Convert AVIF to WebP keeps transparency and Convert AVIF to JPG goes further for compatibility. For a lossless editable copy, Convert AVIF to PNG. To create AVIF from other formats, Convert Image to AVIF. If dimensions are the real problem, Resize Image, and JPG vs WebP vs AVIF covers when each format is the right choice.

Frequently asked questions

How do I compress an AVIF image?

Add the file above, choose an output format and a quality setting, and download. Because AVIF is already efficient, use smaller quality reductions than you would with JPEG — and check whether resizing would solve the problem more cleanly first.

Why does compressing AVIF barely reduce the file size?

Because most of the saving has already been taken. AVIF is the most efficient mainstream format, so a well-encoded file has little slack left. When one still feels too large, the cause is almost always pixel dimensions rather than the compression level.

Should I compress AVIF or convert it to another format?

Compress it if AVIF works for your destination and you just need it smaller. Convert if something downstream cannot read AVIF — WebP keeps transparency and reasonable efficiency, JPEG goes further for compatibility at a larger file size.

Why is AVIF re-encoding slower than other formats?

Because no browser can produce AVIF through the standard canvas export, so the work is done by a WebAssembly encoder instead — and AVIF encoding is computationally heavier in the first place. The extra seconds are what produce the smaller file.

Are my AVIF files uploaded when compressing?

No. Decoding and re-encoding both happen inside your browser on your own device. Nothing is uploaded, stored, or logged at any point.

Looking for the full-featured version? Open the main Compress Image tool.

Related Tools & Resources