utills.
English
Optimize GIF

Optimize a GIF Online

Shrink an animated GIF's file size — fewer colours, fewer frames, or a smaller width — free and right in your browser.

Drop a GIF to edit

Resize, crop, optimize, reverse, or change its speed

Built on your device — nothing to install

Smaller fileStays animatedNo watermark Animated GIF

Make a GIF smaller in file size

Animated GIFs can be surprisingly heavy because every frame is stored as a full image. Optimizing trims that weight so the GIF loads faster and fits upload limits, while keeping it animated.

You have three levers: the colour quality (how many colours each frame uses), frame skipping (keep every other frame for a lighter loop), and the width (fewer pixels per frame). Combine them to hit the size you need.

How to optimize a GIF

  1. Open your GIF. Drag it onto the tool, or choose a file.
  2. Tune the settings. Lower the colour quality, drop frames, or reduce the width — the result size updates after you build.
  3. Make & download. Click Apply & make GIF to download the smaller GIF.

What shrinks a GIF the most

Width has the biggest impact, then frame count, then colours. Start by reducing the width; if it's still too big, drop every other frame, then lower the colour quality until the size fits.

Optimize a GIF: how it works

Reduces a GIF's file size with three levers: colour quality (how finely each frame's 256-colour palette is built), frame skipping (keep every Nth frame), and width. You combine them until the GIF fits your size budget while staying animated.

Levers
Colour quality · frame skip · width
Colour quality
1 (best) – 30 (smallest), default 10
Frame skip
Keep every Nth frame (e.g. 1/2)
Biggest saving
Width, then frame count
Keeps
Animation and loop

What to know about the GIF format here

GIFs are heavy because every frame is a full image with its own palette; the way to make one smaller is to cut what each frame costs — fewer pixels, fewer frames, or a coarser palette — there is no lossy slider like JPEG quality.

Tips for the best result

  • Width usually saves the most, then frame count, then colours — start by lowering the width, then drop to every other frame, then coarsen the palette.
  • The colour-quality control maps to gif.js quality (1 is the sharpest and largest, up to 30 is the smallest and roughest, default 10); raising the number trades fidelity for size.
  • Frame skipping keeps every Nth frame (e.g. 1/2 keeps half), which roughly halves the frame data but makes fast motion look choppier — best on slow or subtle loops.
  • Animated GIFs over a few megabytes are often rejected or auto-converted by chat apps and forums, so optimizing to fit a platform's limit is frequently the real goal.

When to use this

Reach for this when a GIF is too large to upload, loads slowly, or bumps a size limit, and you are willing to trade a little smoothness or colour fidelity for a much smaller file.

How GIF files behave

  • A GIF stores up to 256 colours per frame from a palette it picks for that frame, so flat graphics, logos, line art, and screen recordings reproduce cleanly, while photographic gradients and skin tones can band or dither.
  • GIF compression (LZW) is lossless per frame — it never adds JPEG-style blocky artefacts — but because every frame is essentially a full image, the file grows quickly with more frames, more pixels, and more colours.
  • Animation timing is stored as a per-frame delay in hundredths of a second, and looping is set by a small repeat marker (the Netscape extension), which is why a GIF can loop forever on its own with no player controls.
  • A GIF has no audio track and no real alpha blending — only a single fully-transparent colour — so it is built for short, silent, looping motion rather than full video; a muted MP4 or WebM is far smaller for anything longer than a few seconds.

More GIF tools

Frequently asked questions

How do I make a GIF smaller?

Reduce the width, keep fewer frames, and lower the colour quality. Width is usually the most effective lever.

Will optimizing hurt the quality?

Some loss is expected when you reduce colours or frames — that's the trade for a smaller file. Adjust the sliders until quality and size both look right.

Does the GIF stay animated?

Yes. Optimizing keeps it animated; frame skipping simply makes the loop lighter.

Where is my image processed?

The GIF is built in your browser, so the new file is created on your own device. How any data associated with the tool is handled is described in our privacy policy.

More image tools

Find your next tool

37 tools

Compress image Shrink file size while keeping quality. Resize image Change width and height to any size. Crop image Trim images to the exact frame you want. Convert image Switch between JPG, PNG, WebP and more. Remove background Erase the background in one click. Image to PDF Combine images into one PDF document. Rotate & Flip Turn, straighten, and mirror photos. Image to text Pull editable text out of any image. HEIC to JPG Open iPhone HEIC photos as JPG. Watermark Stamp text or logos over your images. Collage Arrange multiple photos into a grid. Favicon Generator Build favicons in every required size. Color Picker Grab hex colors and build palettes. Blur & Pixelate Obscure faces, plates, and private bits. Enhance Auto-fix brightness, contrast, and color. Passport Photo Prepare photos for ID and passport applications. Signature Clean up and extract handwritten signatures. Photo Effects Apply filters and vintage looks. Social Image Size covers for common social platforms. Add text to image Caption images and make memes fast. GIF Maker Turn frames or clips into animated GIFs. Border & Frame Add clean borders and photo frames. Mockup Drop screenshots into device frames. SVG Converter Trace raster images into scalable SVG. EXIF Viewer Inspect camera and GPS metadata. Poster & Print Lay out posters and print-ready sheets. Document Scanner Deskew and clean photographed documents. Image to Base64 Encode images into a data-URI string. Placeholder Make dummy placeholder images on demand. Image generator Make gradients, patterns, and avatars. Compare Images See two images side by side with a slider. QR Code Create and download QR codes. Hide Text in Image Embed a secret message inside a picture. Length converter Meters, feet, inches, miles and more. Weight converter Switch between kilograms, pounds and more. Temperature converter Celsius, Fahrenheit, Kelvin and more. Data storage converter Bits, bytes, megabytes and gigabytes.
Tab to move · Enter to open · Esc to close