Convert GIF to AVIF
Your files are processed on your device. We never upload them.
Saved as AVIF with libavif from jSquash.
How to convert GIF to AVIF
- 01A ▸Choose your GIFs, or drop them on the page.
- 02A ▸Pick a quality.
- 03A ▸Select Convert to AVIF, then download each file, or all of them as a zip.
About GIF to AVIF
Where GIF files come from
GIF is a 1987 format with 256 colours and weak compression, yet still common for graphics, banners, and old site assets. Replacing still GIFs with AVIF makes pages lighter and faster, which also helps search ranking.
What changes
- The first frame becomes a still AVIF; the result says when the GIF was animated.
- Transparency is kept.
- AVIF compresses with loss. At High, flat graphics and photos look the same at normal viewing size, and the GIF's dithering grain is often smoothed away.
- Metadata and the GIF's frame timing are not kept.
Measured
Our 12-megapixel sample photo (4032 by 3024) saved as a GIF, converted at High in Chrome on a laptop. The sample is smooth with fine grain that AVIF discards, so real pictures usually come out larger. Phone timings are still to be measured.
| GIF file | 6.5 MB |
|---|---|
| AVIF file | 23 KB |
| Time in Chrome (laptop) | 2.9 seconds, including loading the encoder |
In your browser
No browser can save AVIF, so every conversion uses libavif compiled to WebAssembly (1.1 MB, downloaded once on first use and then cached). It runs on one processor core, in every browser.
Limits
- Animated GIFs give a still AVIF of the first frame.
- Encoding is slow on phones for large pictures; small graphics take a moment.
- Older apps and email programs may not open AVIF.
- Very large GIFs may be reduced to about 16 megapixels on iPhones. The result says so.
Other options
- GIF to JPG: a file every app opens, from any frame.
- AVIF to GIF: the reverse, for apps that only take GIF.
- Compress image: shrink JPG, PNG, or WebP images instead.
Questions
Is the AVIF animated?
No. This tool makes a still AVIF of the GIF's first frame, and the result says when the GIF was animated. For moving GIFs, a video is usually the smaller choice.
Are my images uploaded?
No. Your files are processed on your device. We never upload them.
How much smaller is AVIF than GIF?
Usually many times smaller. Our 12-megapixel test GIF went from 6.5 MB to 23 KB at High, though that sample is unusually smooth; detailed pictures shrink less.
Does it keep transparency?
Yes. AVIF supports transparency, so the GIF's clear parts stay clear.
Will every browser show the AVIF?
Chrome, Edge, Firefox, and Safari 16 and later do. Some older apps and email programs don't, so keep the GIF where those matter.
Why does converting take a few seconds?
AVIF compresses very well because the encoder works hard. A small GIF takes a moment; a 12-megapixel one took about 3 seconds on a laptop.