Theme

File names

IMG_2041.heic

IMG_2041.jpg

Language

Your files and these choices stay on this device.

Conversion settings

Your starting point for new files. You can still change anything before converting.

Convert to

Quality
AutoSmaller fileBest quality
Bitrate
Auto64 kbps320 kbps
Video bitrate
Auto1 Mbps12 Mbps
Speed
Resolution
Color
Normalize volume
Remove metadata
Leave out images
Download several files as

Image format

What is a .gif file?

GIF (Graphics Interchange Format) is an image format from 1987, known today for short looping animations. Each frame can use at most 256 colors, which keeps the format simple but makes photos look rough.

It works everywhere, including places that don’t play video. The price is size: an animation as GIF is usually much heavier than the same clip as MP4 or WebP.

fileclay opens and writes GIF

GIF vs WebP vs MP4

GIFWebPMP4
Colors256 per frameMillionsMillions
TransparencyOn or offYesNo
AudioNoNoYes
File sizeLargeSmallSmallest
Plays inEverythingAll modern browsersEverything, as video
Best forShort loops, reactionsAnimations on the webAnything longer

When to use GIF

Good for

  • Short loops in chats and emails
  • Simple animated graphics with few colors
  • Places that accept images but not video

Not a good fit

  • Photos: 256 colors aren’t enough
  • Clips of more than a few seconds
  • Anything with sound

How to open .gif files

PlatformAppNotes
WindowsPhotosBuilt in
macOSPreview, Quick LookBuilt in
iPhone, iPadPhotos, FilesBuilt in
AndroidGoogle PhotosBuilt in
BrowsersChrome, Safari, Firefox, EdgePlays the animation
EditorsPhotoshop, GIMPEdits each frame as a layer

Convert GIF files

How to identify a .gif file

GIF files start with the text “GIF8”, followed by “7a” or “9a” for the version.

47G
49I
46F
388

It’s read here, in your browser. Only the first bytes.

What comes after

HeaderSignature and version
ScreenCanvas size and background
Color tableUp to 256 colors
FramesEach image with its delay
TrailerEnd of the file

Questions about GIF

Is GIF a video?

No. It’s a sequence of images in one file, with no audio and no video compression.

Why are GIFs so large?

Each frame is compressed as an image, without the prediction between frames that video codecs use.

How do you pronounce GIF?

Both “gif” and “jif” are common. Its creator, Steve Wilhite, said “jif”.

Does GIF support transparency?

Yes, but a pixel is either fully transparent or fully opaque, so soft edges look jagged.

Is it better to convert a GIF to MP4?

For the web, usually yes: the file shrinks a lot. The MP4 loses the transparency, if there was any.

Related formats

Sources