What is a GIF file?
Old format limited to 256 colours. Good for simple animation and on/off transparency. WebP or video are usually smaller and better.
Drop your file here
or select file
Images, video, audio, documents, data, archives, fonts and more.
About GIF file:
01GIF at a glance
- Full name
- Graphics Interchange Format
- Type
- Raster image, 256 colours, optional animation
- Extension
- .gif
- MIME type
- image/gif
- First bytes (hex)
- 47 49 46 38 39 61 (GIF89a)
- Standard
- GIF89a, CompuServe (1989)
02What is a GIF file
GIF was created by CompuServe in 1987. It stores up to 256 colours per frame and compresses without loss. Photos look grainy in GIF, but flat graphics, logos and simple animations work well.
The GIF89a version from 1989 added animation and on/off transparency: a pixel is either fully visible or fully invisible, with no soft edges. This is the format behind the looping clips in chats and memes.
The compression used by GIF, LZW, was covered by patents until the early 2000s, which is one reason PNG was created. Today an animated GIF is usually much larger than the same clip as MP4 or WebP, and many sites convert uploaded GIFs to video.
03Good and bad sides
Good
- Plays in every browser and chat app
- Simple looping animation in one file
- Small for flat graphics with few colours
- No sign-in, plugin or special software needed
Bad
- Only 256 colours per frame
- Transparency has hard edges, no soft shadows
- Animations are large and have no sound
- Not accepted by many print-on-demand services
04Best for
Animation
A short looping animation in one file that plays almost everywhere. For longer clips MP4 or WebP are much smaller.
Chats and social media
Works almost everywhere, even where video does not.
Simple graphics
Small for flat graphics with few colours.
Websites
Fine for tiny graphics. For longer animations MP4 or WebP are much smaller.
Transparency
Works, but the edges are hard. No soft shadows.
05How to open it
- Browsers
- Any browser plays the animation
- Windows and macOS
- Image viewers often show only the first frame. Use a browser to see the animation
- iPhone and Android
- Built into the browser, messages and gallery apps
- Editors
- Photoshop, GIMP and online GIF editors
06Convert and compare
Sources