Home › Formats › Images › 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.

Compression
Lossless, 256 colors
Transparency
1-bit (on or off)
Animation
Yes
Opens on
Everything

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 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 paddingDiscord Emoji MakerTurn any picture into a Discord custom emoji: resized to 128×128 PNG under 256 KB with transparency kept, in your browserDiscord Sticker MakerMake a Discord sticker from any image: exactly 320×320 PNG with transparency, under the 512 KB limit, in your browserDiscord Image ResizerResize images to every Discord size: server icon 512×512, server banner 960×540, profile banner 600×240, avatar 1024×1024, emoji 128×128, sticker 320×320Twitch Emote MakerTurn one image into all three Twitch emote sizes (28×28, 56×56, 112×112) as transparent PNGs in your browserTwitch Image ResizerResize images to Twitch sizes: profile picture 800×800, profile banner 1200×480, offline screen 1920×1080, panel 320×100, video thumbnail 1280×720YouTube Thumbnail ResizerResize any image to the YouTube thumbnail size, 1280×720 (16:9), as a JPG under 2 MB, in your browserYouTube Image ResizerResize images to YouTube sizes: channel banner 2560×1440, profile picture 800×800, thumbnail 1280×720, watermark 150×150, Shorts 1080×1920Instagram Image ResizerResize photos to Instagram sizes without cropping surprises: square post 1080×1080, portrait 1080×1350, landscape 1080×566, story and reel 1080×1920, profile 320×320X (Twitter) Image ResizerResize images for X (Twitter): header 1500×500, post image 1600×900 (16:9), profile picture 400×400, in your browserFacebook Image ResizerResize images for Facebook: cover photo 851×315, shared image 1200×630, square post 1080×1080, profile picture 170×170, event cover 1920×1005LinkedIn Image ResizerResize images for LinkedIn: profile banner 1584×396, post image 1200×627, profile photo 400×400, company cover 1128×191, in your browserSocial Preview (OG) Image ResizerResize any image to 1200×630, the Open Graph size that Facebook, X, LinkedIn, Slack, and Discord use for link previews, in your browserSteam Image ResizerResize images for Steam: profile avatar 184×184, header capsule 460×215, main capsule 616×353, library capsule, workshop preview 640×360, in your browserApp Icon ResizerGenerate all app icon sizes from one image (16, 32, 48, 64, 128, 256, 512, 1024 px) as PNGs in your browser, for iOS, Android, macOS, Windows, and webCrop 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 imagePNG to ICOConvert a PNG into a multi-size ICO file for favicons and Windows icons, 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 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 colorCrop GIFCrop an animated GIF by dragging a box over it: free shape, square, 9:16, or 16:9Boomerang GIFTurn any GIF into a boomerang that plays forward then in reverse, looping smoothly, in your browserGIF to MP4Convert animated GIFs to MP4 video in your browserGIF to SVG.gif → .svgGIF 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 pagesMinecraft Server Icon MakerMake a Minecraft server icon from any image: exactly 64×64 PNG, saved as server-iconSprite EditorDraw pixel art and animated sprites in your browser: pencil, fill, layers, mirror mode, palettes, lighten, darken, and noise brushes, frames with playback, undoImage 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 browserPixel Art UpscalerScale pixel art, sprites, and game textures up 2x to 16x with crisp nearest-neighbor scaling, in your browserNormal Map GeneratorTurn a height map, bump map, or any texture into a tangent-space normal map (OpenGL or DirectX) in your browser

Make GIF files

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