The GIF format
Technically obsolete for almost everything, and still culturally unavoidable.
What is GIF?
GIF dates from 1987 and carries a hard constraint from that era: a maximum of 256 colours per frame, chosen from a palette stored in the file. For a photograph this is disastrous — smooth gradients become visible bands.
It survived because it was the first widely supported format that could animate, and because animation in a plain <img> tag required nothing else. That convenience outlived the format’s technical merits by about two decades.
Its transparency is also primitive: one palette entry is either fully transparent or not, so there is no anti-aliasing against the background and cut-outs get hard, jagged edges.
Common uses
- Short looping animations and reaction clips
- Simple UI animations and loading indicators
- Legacy assets that predate better options
Advantages
- Animation works everywhere with no player or extra markup
- Universally supported since the 1990s
- Lossless within its 256-colour palette
- Simple, well-understood format
Limitations
- 256 colours per frame, which ruins photographic content
- Very large files compared to video for the same animation
- Binary transparency only — no soft edges
- No sound, and no meaningful quality control
Browser support
Universal, including animation. For new work, an MP4 or WebM video is usually 10× smaller for the same clip, and animated WebP is a better fit where a plain image element is required.
Conversions
- AVIF to GIFConvert your AVIF image into GIF format while keeping the image dimensions unless you choose to resize it.Local
- BMP to GIFConvert your BMP image into GIF format while keeping the image dimensions unless you choose to resize it.Local
- GIF to AVIFConvert your GIF image into AVIF format while keeping the image dimensions unless you choose to resize it.Local
- GIF to BMPConvert your GIF image into BMP format while keeping the image dimensions unless you choose to resize it.Local
- GIF to JPGConvert your GIF image into JPG format while keeping the image dimensions unless you choose to resize it.Local
- GIF to MP4Turn one GIF animation cycle into a silent MP4 video.Local
- GIF to PDFConvert your GIF image into PDF format while keeping the image dimensions unless you choose to resize it.Local
- GIF to PNGConvert your GIF image into PNG format while keeping the image dimensions unless you choose to resize it.Local
- GIF to TIFFConvert your GIF image into TIFF format while keeping the image dimensions unless you choose to resize it.Local
- GIF to WEBPConvert your GIF image into WEBP format while keeping the image dimensions unless you choose to resize it.Local
- HEIC to GIFConvert your HEIC image into GIF format while keeping the image dimensions unless you choose to resize it.Local
- JPG to GIFConvert your JPG image into GIF format while keeping the image dimensions unless you choose to resize it.Local
- PNG to GIFConvert your PNG image into GIF format while keeping the image dimensions unless you choose to resize it.Local
- SVG to GIFConvert your SVG image into GIF format while keeping the image dimensions unless you choose to resize it.Local
- TIFF to GIFConvert your TIFF image into GIF format while keeping the image dimensions unless you choose to resize it.Local
- WEBP to GIFConvert your WEBP image into GIF format while keeping the image dimensions unless you choose to resize it.Local