FLXCode GIF Resizer

FLXCode apps

Appearance

GIF Resizer

Make a GIF wider, narrower or a set size in pixels. Every frame is resized, and the timing and repeat stay as they were.

or drop one here

One animated GIF, up to 100 MB.

No ads. No account. Nothing you type or record is uploaded. We count page events with a daily code. Check it.

Problem or idea? Email us

Quick start

  1. Choose your GIF and look at the size shown under the preview.
  2. Type a new width or height, or press 75%, 50% or 25%. With Keep the shape on, the other side follows.
  3. Press Resize GIF and check the preview.
  4. Download the new GIF.

Resizing every frame

A GIF is a list of frames, so resizing means resizing each one and writing the list again. The delay of each frame and the repeat count are copied over, so the animation moves the same way, only at another size.

The default is half the width. That keeps about a quarter of the pixels, which is the quickest way to make a GIF load faster.

New sizes and what they cost

For a 480 x 270 GIF with 60 frames: the size at each step, the memory the tool needs, and the real file size of a 160 x 120 test animation written at the same shares. Made by the tool's own code.

Share of the widthNew sizePixels leftMemory, 60 frames
100%480 x 270 px100%31.1 MB
75%360 x 203 px56%17.5 MB
50%240 x 135 px25%7.8 MB
33%158 x 89 px11%3.4 MB
25%120 x 68 px6%2.0 MB
Test animation sizeFile size at 128 colors
160 x 120 px12 KB
120 x 90 px8.8 KB
80 x 60 px6.0 KB
40 x 30 px3.3 KB

How it works

Shrinking averages the pixels under each new pixel, which keeps edges clean. Growing blends the nearest four. Pixels that are see-through count less in the average, so the edge of a logo does not get a dark fringe.

After resizing, the frames are written with a palette of up to 256 colors per frame. Shrinking a GIF a lot can bring in new in-between colors, and the palette handles them frame by frame.

Numbers this uses

  • Width and height from 1 to 4096 px. The other side is worked out from the shape, rounded to the nearest pixel, at least 1.
  • Quick sizes: 100%, 75%, 50% and 25% of the width.
  • Memory: frames x width x height x 4 bytes, up to 800 MB. The tool says so before it starts when a size is too big.
  • Delays and repeat are kept. Delays are in 10 ms steps and never under 20 ms.

Limits

  • Making a GIF bigger cannot add detail. It only gets softer and heavier.
  • The tool writes a new file, so the size in KB can go up or down. Use the GIF compressor when the size in KB matters most.
  • No crop. The whole picture is resized.

Privacy

Nothing you choose is uploaded or stored. The code that reads and writes GIFs comes from this site and runs in your browser. We count events without cookies, such as "GIF saved" (details).

FAQ

How do I resize a GIF without losing the animation?

Choose the GIF, enter a new width and press Resize GIF. Every frame is resized and the timing is kept, so the animation plays as before.

Can I keep the aspect ratio?

Yes, it is on by default. Change the width and the height follows. Untick Keep the shape if you want to set both sides yourself, which stretches the picture.

What size should I use for chat or social media?

It depends on the site, and the limits change. A width of 480 px or less is safe for most chat apps. Check the rules of the place you post to.

Does resizing keep the loop and the speed?

Yes. The repeat setting is kept unless you change it under More changes, and each frame keeps its delay.

Why is my resized GIF still big in KB?

Size in pixels is only one part. Colors and frames count too. Resize first, then use the GIF compressor to drop colors or frames.

Can I make a GIF bigger?

Yes, up to 4096 px a side, as far as memory allows. The picture gets softer, because there is no new detail to add.

Does transparency stay?

Yes. See-through areas stay see-through. Soft edges become on or off, because a GIF has no partial transparency.

Is my file uploaded?

No. The file is opened, changed and saved by your browser on this device. It is not sent, stored or put in the address bar. To check, load the page, turn on airplane mode and make a GIF.

More from FLXCode

Share GIF Resizer