Skip to content
I Hate Online Tools

Convert to AVIF

Encode PNG or JPEG as AVIF.

This runs in your browser. Nothing is uploaded.

About Convert to AVIF

Encodes PNG or JPEG images as AVIF in your browser, the most space-efficient image format in mainstream browser support today.

AVIF comes from the AV1 video codec, and it compresses still images better than anything else browsers currently understand. Files routinely come out 20 to 50 percent smaller than an equivalent WebP and dramatically smaller than JPEG, while holding up better in gradients where JPEG tends to band.

The cost is encoding time. AVIF does far more work to find that compression, and because this runs on your machine rather than a server farm, a large image can take several seconds. That is a fair trade for something you encode once and serve many times.

Support is good in Chrome, Firefox, Edge and Safari, but not universal outside browsers. Treat AVIF as a web delivery format, not an archive format — keep your original.

How to use Convert to AVIF

  1. 1Drop a PNG or JPEG onto the panel or click to browse.
  2. 2Set the quality. AVIF holds up well at lower values than JPEG does.
  3. 3Click Convert & download and give the encoder a moment to finish.

What it won't do

  • Noticeably slower to encode than JPEG or WebP, especially on older hardware.
  • Some browsers fall back to WebP if their AVIF encoder is unavailable; the download extension tells you which you got.

Common questions

Is AVIF better than WebP?

For file size, usually yes — often another 20 to 30 percent smaller at matched quality, with noticeably better handling of gradients. WebP encodes much faster and has slightly broader support outside browsers. For images you serve on a website, AVIF is generally the better choice.

Why is the conversion taking so long?

AVIF encoding is genuinely computationally expensive, and it is running on your device rather than a server. A large photo can take several seconds. Nothing is uploading during that time — the delay is the encoder working.

Does AVIF support transparency?

Yes, it has a full alpha channel, so transparent PNGs convert without losing their transparency.

Related tools

Why this one doesn't upload your file

There is no server to upload to. This page is a static file, and the work happens in your browser using the same graphics and WebAssembly code that renders every other site you visit. Your file is read from disk into memory, processed, and handed back as a download. Once the page has loaded you can disconnect from the network entirely and it keeps working. The longer explanation

Install the app