AVIF to GIF Converter

Turn an AVIF image into a still GIF for programs that don't read AVIF.

or drop files here

AV

AVIF Format

AV1 Image File Format

An AV1 image format with support for still pictures, sequences, alpha, and greater sample precision.

  • AV1-coded images
  • Lossy or lossless coding
  • Optional image sequences
GI

GIF Format

Graphics Interchange Format

A palette-based image format for still graphics and frame animation.

  • Up to 256 colors per frame
  • Fully transparent or opaque pixels
  • No soundtrack

How to convert AVIF to GIF

Follow these steps to convert AVIF to GIF online.

    1

    Choose your AVIF file, or several at once.

    2

    Wait while the converter turns each file into GIF.

    3

    Download each new GIF file. Your original file isn't changed.

What to know before converting AVIF to GIF

  • The GIF is one still picture: an animated AVIF gives its first frame.
  • A GIF frame holds at most 256 colors, so photos can show banding.
  • GIF transparency is on or off; soft edges can't stay soft.
  • The picture goes through 8 bits per channel, so extra bit depth is lost.
  • EXIF, ICC profiles and XMP are not copied.

About AVIF and GIF

What is an AVIF file?

The Alliance for Open Media created AVIF, the AV1 Image File Format. The Alliance was founded in 2015 to build royalty-free media formats and published the AV1 video codec in 2018. Version 1.0.0 of the AVIF specification is dated 19 February 2019. A file stores AV1-coded images inside the HEIF container, and it can be lossy or lossless, transparent, a still or an image sequence, with up to 12 bits per channel for HDR and wide color gamut. Exif, XMP and an ICC color profile fit inside, and image/avif is the registered media type.

Websites use AVIF for web images with small files and for HDR and wide-gamut pictures. You meet it when a site serves a photo in it and your software, or an upload form, won't take the file. That is the usual reason to convert. A Baseline-profile image item is at most 8,192 by 4,352 pixels, and a larger picture is stored as a grid of such images.

Programs that open AVIF files

  • Windows, Mac and Linux: GIMP gained AVIF import and export in version 2.10.22, which came out in October 2020.
  • Windows, Mac and Linux: ImageMagick reads AVIF, so check your install's format list.
  • Windows: Microsoft's AV1 Video Extension and its HEIF Image Extension must both be installed before .avif files display.
  • Web: Edge 121, Safari 16.1, Firefox 93 and Chrome 85 all display AVIF, though without progressive rendering.
  • Mobile: Android has decoded AVIF since version 12; Safari on iOS 16 brought in still AVIF images, and that first support leaves out animation.

AVIF and GIF compared

  • Extensions and media types: .avif is image/avif and .gif is image/gif.
  • Compression: AVIF uses AV1 and can be lossy or lossless. GIF compresses losslessly with LZW coding, and each image uses a palette of at most 256 colors.
  • Color: AVIF supports up to 12 bits per channel, HDR and a wide color gamut. A GIF image is limited to its palette of 256 colors.
  • Metadata: GIF89a offers comments and application data, a different set from the fields an AVIF carries.
  • Transparency: AVIF supports it. In a GIF one palette entry can be designated fully transparent, and there are no partial transparency levels.
  • Animation: a GIF can hold many images, with the delay between them set in hundredths of a second. GIF came from CompuServe in 1987; its GIF89a revision, dated July 1990, brought in the extensions for transparency and frame timing.
  • Support: GIF displays in every major browser. GIF patents on LZW ran out in 2003 in the US and in 2004 in Europe and Japan.

Your browser decodes the AVIF here, and ImageMagick then writes the GIF. An animated AVIF gives its first frame only. Everything goes through 8-bit RGBA, which drops EXIF, ICC and XMP data, and you get one still picture for software that wants a GIF. Keep the AVIF if you need the sequence, the extra bit depth or the metadata again.

Other ways to convert AVIF to GIF

  • GIMP on Windows, Mac and Linux: GIMP 2.10.22 or later can open the AVIF; then choose File > Export As. Type .gif as the Name field's extension, or choose GIF under Select File Type, and export. GIMP only supports exporting a GIF with a maximum of 256 colors.
  • ImageMagick (command line): run magick input.avif output.gif. ImageMagick's format list shows AVIF and GIF as formats it reads and writes.
  • Pillow (Python): Pillow reads and writes AVIF, 8-bit only. Call Image.open on the file, then save with a name that ends in .gif; Pillow infers the format from that ending when you name none.

Each of these writes one still picture unless you set up an animation yourself. Check the result at its normal display size, because palette reduction shows most on photos and gradients.

Problems with AVIF files

  • The AVIF won't open: older browsers may fail to display it. Update the browser, or ask the site for a JPEG, PNG or WebP copy.
  • An older GIMP can't import it: releases before 2.10.22 lack the AVIF importer.
  • A 10-bit file fails on a phone: baseline 8-bit AVIF decodes on Android 12 and newer, but support for 10-bit is optional.
  • Windows shows no preview: the .avif viewer needs the AV1 Video Extension and the HEIF Image Extension.
  • It decodes slowly: decoding an AVIF is slow, and encoding one may take several seconds.

Frequently Asked Questions

Everything you need to know about our converter

How do I convert AVIF to GIF?

Will an animated AVIF become an animated GIF?

Why do the colors look banded or flat in the GIF?

Is there a size limit for the AVIF?

What happens to transparency in the AVIF?

Is my AVIF's HDR or 10-bit color kept?

Why am I told my browser can't open the AVIF?

Are the AVIF's EXIF, color profile and XMP copied?

Can I rename .avif to .gif instead?

Can I convert many AVIF files at once?