HexaConverter
gifavif

Convert GIF to AVIF

Free online converter for GIF files. Next-generation format with the best compression ratio. Nothing to install, no watermark, and every file is deleted automatically.

Drag and drop your files

or

Upload a GIF file to convert it to AVIF. Up to 3 files at once, 100 MB each.

Free · up to 3 files · 100 MB each · files deleted automatically after 1 hour.

About GIF and AVIF

GIF .gif

A 1987 format that survives for one reason: it animates, and it plays everywhere without a video player. Its palette is capped at 256 colours per frame.

Good for

  • Animation that works in any browser and any chat app
  • Lossless within its 256-colour palette
  • Universally supported after nearly four decades

Trade-offs

  • 256 colours means visible banding on photographs
  • Transparency is on-or-off per pixel, so edges look jagged
  • Far larger than a real video file for the same clip

image/gif

AVIF .avif

A modern image format derived from the AV1 video codec. It compresses harder than JPEG or WebP at the same visual quality, and handles wide colour and high dynamic range.

Good for

  • The smallest files of any format here at a given quality
  • Transparency, animation, wide colour gamut and HDR
  • Holds up better than JPEG at very low bitrates

Trade-offs

  • Support is newest — older browsers and many desktop apps cannot open it
  • Encoding is slow compared with JPEG
  • Fine detail can smooth over at aggressive settings

image/avif

GIF and AVIF side by side

GIF compared with AVIF
GIFAVIF
CompressionLossless, 256-colour paletteLossy or lossless
TransparencyYes — 1-bit, no partialYes
AnimationYesYes
Typically used forShort loops, reaction clips, simple animationsModern web delivery, bandwidth-sensitive images

What changes when you convert GIF to AVIF

The palette does not grow

A GIF holds at most 256 colours per frame, and AVIF can hold millions — but the colours your GIF discarded when it was made do not come back. Any banding you can see in the GIF will still be there afterwards, stored in a format capable of much more.

You choose how much to keep

AVIF can compress either lossily or losslessly, so the quality setting decides the outcome rather than the format. High quality stays close to the GIF you started with; lower settings trade visible detail for a much smaller file.

Encoding takes longer

AVIF comes from the AV1 video codec, and that compression is slow — noticeably slower than writing a JPEG or a PNG. The payoff is the smallest file of any format here at a comparable quality. Check your audience first: browsers handle AVIF well now, but plenty of desktop and print software still will not open it.

How the AVIF is written

Our default is quality 60 — the scale is not comparable with JPEG's, and 60 here is a visually higher setting than the number suggests. The quality control on the converter moves this if you need to — the default aims to be indistinguishable from the source at a sensible file size, rather than to win a compression benchmark.

Colour detail is stored at half resolution

AVIF keeps full brightness detail but records colour at half resolution in each direction, because the eye is far more sensitive to the first than the second. On photographs it is invisible. On saturated edges it is not: red text on white, thin coloured lines and flat graphic shapes can pick up fringing. If the GIF is a screenshot, a logo or anything with text in it, a lossless format will treat it far better.

GIF to AVIF questions