image/*
image/gif
File extensions: .gif
The classic 8-bit animated image format.
What is image/gif?
image/gif is the media type for Graphics Interchange Format — an 8-bit indexed color format that also supports simple animation. GIF's 256-color palette makes it a poor choice for photos, but it dominates internet meme culture.
Typical usage
Simple animations, memes, reactions, low-color graphics.
Common gotchas
For photographic animation, animated WebP or short MP4/WebM videos produce dramatically smaller files. GIF should be avoided for large animated content.
HTTP header example
Response header
Content-Type: image/gifReference
RFC 2046
Frequently asked questions
What is the image/gif MIME type?
image/gif is the media type for Graphics Interchange Format — an 8-bit indexed color format that also supports simple animation. GIF's 256-color palette makes it a poor choice for photos, but it dominates internet meme culture.
What file extension does image/gif use?
Files served as image/gif typically use the extension .gif. The most common is .gif.
How do I set the Content-Type for image/gif?
Send the HTTP response header Content-Type: image/gif. Simple animations, memes, reactions, low-color graphics.
Is image/gif an official MIME type?
Yes. image/gif is officially registered with IANA (RFC 2046), so standards-conformant clients recognize it.
What are common mistakes with image/gif?
For photographic animation, animated WebP or short MP4/WebM videos produce dramatically smaller files. GIF should be avoided for large animated content.