File types / Images
.gif file
GIF image
- Extensions
- .gif
- MIME type
image/gif- Signature
47 49 46 38 39 61(GIF89a)at byte offset 0- Safety
- Low risk
What is a .gif file?
GIF supports up to 256 colours per frame and simple animation. It is old, but still common for short looping clips and reaction images.
There are two versions. GIF87a is the original; GIF89a added animation timing and transparency. A file starts with the ASCII text of whichever version it is.
Used for: Short looping animations and simple graphics.
How can I tell if a file is really a GIF?
Read its first bytes rather than trusting the name. A genuine GIF file has the signature 47 49 46 38 39 61 (GIF89a) at byte offset 0. GIF87a files start 47 49 46 38 37 61 instead. The File Identity tool reads these bytes in your browser, so the file is never uploaded.
To compare the name against the content, use Validate Extension. To see the raw bytes, use Safe File Preview.
Is a .gif file safe to open?
GIFs are images and do not execute code.
Easy to confuse
Many "GIFs" shared online are actually short MP4 or WebM videos served under a GIF-like name. A real GIF always starts with GIF87a or GIF89a.