lookup> .gif

.GIF·File Extension

GIF ImagePalette-based image format supporting simple animation.

Extension.gif
File typeGIF Image
MIME typeimage/gif
CategoryImage
Charset
CompressibleNo
Format familygif

What is a .gif file?

A .gif file is a GIF Image — Palette-based image format supporting simple animation.

In the mime-db registry it maps to image/gif, and it is marked as non-compressible. When serving .gif over HTTP, set the Content-Type header as shown in Developer info below.

Related entities: it maps to image/gif — and is delivered over HTTP via the Content-Type header.

  • Use Photoshop or GIMP to open and edit .gif files.
  • Any text editor (Notepad, VS Code) can inspect the raw content as text.

When served over HTTP, responses should set the following header:

Content-Type: image/gif

Common software that reads/writes .gif:

PhotoshopGIMPChrome
.gifextension of
format
gifserved as
mime type
image/gifsent via header
http header
  • Web graphics and photos
  • Design assets and icons
  • Print and photography
  • Open the file with Photoshop, make your changes and save.
  • Most editors preserve the original formatting and encoding — avoid changing the charset.
  • Create a new file and save it with the .gif extension, or export this format from Photoshop.

What programs can open .gif files?

Common options include Photoshop, GIMP, Chrome. You can also open many of these files with built-in viewers or a browser.

How do I create a .gif file?

Create a new file in any text editor or the app that owns the format and save it with the .gif extension.

What is the relationship between .gif and the image/gif MIME type?

image/gif is the media type identifier used for .gif files during network transfer (for example in the HTTP Content-Type header).

Related extensions

Related MIME types

Related headers

Related methods

Related status codes