Open Toolkit

Convert GIF to AVIF

GIF images to AVIF, a fraction of the size, for faster web pages.

Free, no sign-up, no credit card. Your files stay on your device.

How to convert GIF to AVIF

  1. Choose your GIFs, or drop them on the page.
  2. Pick a quality.
  3. 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

A 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.

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.
  • Image converter: convert many images at once, from HEIC, WebP, AVIF, TIFF, and more to JPG, PNG, WebP, AVIF, or GIF.

Questions

Is the AVIF animated?

No. GIF to AVIF 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. A 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.

Something not working? Report a problem