HomeFormats › GIF

GIF files: how they work and how to make, edit, and shrink them

GIF dates from 1987 and still rules short looping animations. It is limited to 256 colors per frame and compresses poorly compared to video, but it plays everywhere, in chat apps, forums, email, and slides, without a video player.

What is a GIF file?

GIF, the Graphics Interchange Format, was created by CompuServe in 1987 and is still the way short looping animations travel around the internet. Each frame is a picture with at most 256 colors, compressed with a simple lossless scheme, and the file can include timing, looping, and one fully transparent color. Because it is an image, not a video, it plays anywhere images do: chat apps, forums, email, slides, and every browser ever made.

Why are GIFs so big?

GIF has no video-style compression. Every frame is stored more or less in full, so a five-second clip at 480 pixels wide can easily reach 5 to 10 MB while the same clip as an MP4 is a few hundred kilobytes. The size grows with width, frame rate, length, and color variety. Good GIF tools fight this by storing only the pixels that change between frames, using a shared palette, and dropping colors or frames, which is exactly what our GIF compressor does.

Making and editing GIFs

Make a GIF from a video clip by choosing a start time, a length, and a size; from a set of photos or drawings by setting a delay per frame. Then shrink it, resize it, reverse it, change its speed, add a caption, split it into frames, or turn it into a much smaller MP4 for platforms that accept video. All of that runs in your browser without uploading the file.

Frequently asked questions

GIF or MP4?

MP4 is 5 to 10 times smaller and higher quality; GIF autoplays and loops everywhere without a player. Use GIF for chat and forums, MP4 for websites and social platforms that convert uploads anyway.

What size should a GIF be for Discord?

Under 10 MB for free accounts. 480 pixels wide, 12 frames per second, and under 8 seconds usually lands well below that.

Can a GIF have sound?

No. GIF is an image format. Use MP4 or WebM for video with audio.

Convert or edit GIF files

Resize ImageResize JPG, PNG, WebP, and HEIC images to exact pixel dimensions or a percentage, right in your browserCrop ImageCrop photos to a square, 16:9, 9:16, 4:5, or exact pixel size in your browserRotate ImageRotate images by 90, 180, or 270 degrees and flip them horizontally or vertically in your browserAdd Watermark to ImageStamp a text watermark on photos in your browser: choose position, size, opacity, or tile it across the imageImage to Pixel ArtTurn any photo or drawing into pixel art in your browser: choose the pixel size, a limited palette (16 colors, Game Boy, PICO-8), and ditheringSprite Sheet MakerPack animation frames or the frames of a GIF into a sprite sheet grid with JSON coordinates, in your browserSprite Sheet SplitterSplit a sprite sheet or tileset into individual PNG frames by grid or tile size, in your browserSprite EditorDraw pixel art and animated sprites in your browser: pencil, fill, mirror mode, palettes, frames with playback, undoPNG to ICOConvert a PNG into a multi-size ICO file for favicons and Windows icons, in your browserResize to 8×8Resize any image to exactly 8×8 pixels in your browser, with smooth or crisp pixel-art scaling and transparent paddingResize to 16×16Resize any image to exactly 16×16 pixels in your browser, with smooth or crisp pixel-art scaling and transparent paddingResize to 32×32Resize any image to exactly 32×32 pixels in your browser, with smooth or crisp pixel-art scaling and transparent paddingResize to 64×64Resize any image to exactly 64×64 pixels in your browser, with smooth or crisp pixel-art scaling and transparent paddingResize to 128×128Resize any image to exactly 128×128 pixels in your browser, with smooth or crisp pixel-art scaling and transparent paddingResize to 256×256Resize any image to exactly 256×256 pixels in your browser, with smooth or crisp pixel-art scaling and transparent paddingPixel Art UpscalerScale pixel art, sprites, and game textures up 2x to 16x with crisp nearest-neighbour scaling, in your browserQR Code ReaderRead a QR code from a photo or screenshot in your browserImage to Text (OCR)Extract text from photos, screenshots, and scans in your browser with on-device OCRRemove EXIF DataStrip metadata, location, and camera details from JPG, PNG, WebP, and HEIC photos before sharingImages to GIFCombine JPG, PNG, WebP, or HEIC images into an animated GIF in your browserGIF to MP4Convert animated GIFs to MP4 video in your browserReverse GIFReverse the playback of any animated GIF in your browserChange GIF SpeedMake an animated GIF faster or slower in your browserResize GIFResize animated GIFs to a new width in your browserCompress GIFShrink animated GIFs by 30-80% in your browser: smarter frame encoding, fewer colors, optional frame dropping and scalingAdd Text to GIFPut a caption on an animated GIF in your browser: top and bottom text in the classic meme style, any size and colorGIF to PNG FramesExtract every frame of an animated GIF as individual PNG images in your browser, then download them all as a ZIPJPG to PDFConvert JPG photos into a PDF in your browser: one image per page, in order, with optional A4 or Letter pages and marginsPNG to PDFConvert PNG images into a PDF in your browser, one per page, with exact-size or A4/Letter pages

Make GIF files

Video to GIFTurn MP4, MOV, WebM, or MKV video clips into high-quality GIFs in your browser