Resize GIF
Published Updated
Resize GIF animations to any size while keeping every frame, the timing and the looping — free and processed entirely in your browser.
About Resize GIF
This resize GIF tool changes the pixel size of an animated GIF without breaking the animation. Choose a new width or height, or a preset such as 50% or 200%, and the tool decodes every frame, scales it, and builds a new GIF that plays the same way as the original. It runs in your browser, this page does not upload the file, and you do not need an account.
Resizing a GIF is more than scaling one picture. The tool reads each frame and its delay, so a slow pause on one frame stays slow, and it restores the loop count of the original, whether the animation repeats forever, a set number of times or plays only once. Frames are scaled with a filter that averages neighboring pixels, so a GIF shrunk to half its size looks smooth instead of jagged, and a pixelated style is there for pixel art that must stay sharp. Transparent areas stay transparent, and you can reduce the Palette. A table of colors that an indexed image points into. In a GIF each pixel is a number from 0 to 255, and the palette says which of up to 256 colors that number stands for. Read the guide (a GIF palette holds at most 256 colors) to 128, 64 or 32 colors for a smaller file. Side by side previews of the original and the result let you check the animation before you download it.
Large GIFs are limited so the page stays responsive: up to 31.46 MB and 500 frames, with a result of up to 4,000 pixels on a side. If a job is too big, the tool tells you the largest width that works. The new file is rebuilt from complete frames, so a GIF that was already well optimized can come out larger than the original when you shrink it only a little. In that case choose a smaller size or fewer colors, or use our GIF Compressor. To resize a still picture instead, try our Resize Image tool.
What the resized GIF keeps: frames, delays, loops and transparency
We resized generated GIFs with this page's own tool in Google Chrome 157, Firefox 155 and Playwright's WebKit build (not the Safari app) and read every frame of the results back. The tool decodes, scales and encodes in its own code, not with the browser's canvas, and each of the 27 results was byte for byte the same in all three browsers.
| In the original | In the resized GIF |
|---|---|
| 8 frames with delays of 0, 1, 2, 5, 7, 10, 50 and 100 hundredths of a second | The same delays, except that 0 is written as 10 (100 ms) |
| Loop setting: forever, 3 times, or no loop block (plays once) | The same setting in each case |
| Frames that redraw only a patch, with each disposal method (keep, clear, restore the previous frame), at 100% | Every frame written whole, with disposal 2 (restore to background). All 5 frames matched the original's composed frames pixel for pixel, the cleared area transparent; Chrome 157's own GIF decoder also showed it transparent. |
| A 120 x 120 disc on a transparent background, 8 frames | At 100%, every pixel kept its transparent or opaque state. At 50%, 86.2% of each frame was transparent, against 86.4% in the original. |
| Two colours 6 levels apart, black and 6, 6, 6 | Merged into one colour, 6, 6, 6. Black and 8, 8, 8 stayed apart. |
| 32 x 32 pixel art in 4 colours, enlarged to 128 x 128 | Pixelated: exact 4 x 4 blocks of the original pixels, 4 colours, 4,931 B. Smooth: 131 colours, 15,532 B. |
The colour merge comes from the encoder, which matches every pixel to the palette on a grid of 8 levels per channel. It matters only for colours that close; a 4 x 4 red dot on a grey 320 x 240 clip kept all 16 of its red pixels in every frame.
File size and time for three kinds of GIF
| Original | Resized to | Result | Share of the original |
|---|---|---|---|
| 320 x 240 clip, 30 frames, every pixel changes, 1,184,821 B | 25% | 113,935 B | 10% |
| Same clip | 50% | 399,562 B | 34% |
| Same clip | 75% | 873,499 B | 74% |
| Same clip | 100% | 1,112,017 B | 94% |
| Same clip | 150% | 2,758,530 B | 233% |
| Same clip | 200% | 4,293,400 B | 362% |
| Same clip | 50%, 128 colours | 330,901 B | 28% |
| Same clip | 50%, 64 colours | 251,437 B | 21% |
| Same clip | 50%, 32 colours | 160,333 B | 14% |
| 320 x 240 animation that redraws only a small moving square, 30 frames, 2,713 B | 25% | 5,301 B | 195% |
| Same animation | 50% | 8,949 B | 330% |
| Same animation | 100% | 14,680 B | 541% |
An optimised GIF that stores only the changed patch of each frame grows at every size, even at a quarter of its width, because the tool writes every frame whole; the result card then warns that the file is larger than the original. Times run from pressing Resize GIF to the download button, one run per cell.
| Job | Chrome 157 | Firefox 155 | WebKit build |
|---|---|---|---|
| 320 x 240 clip, 30 frames, to 200% | 731 ms | 1,050 ms | 601 ms |
| 480 x 360, 120 frames (8,440,900 B), to 50% | 1,022 ms | 1,862 ms | 996 ms |
| The same, at 100% | 1,932 ms | 2,753 ms | 1,723 ms |
The same 120-frame GIF at 200% was refused before any work started, because 120 frames of 960 x 720 exceed the 40 million pixel limit; the message suggested a width of 666 pixels or less.
How to Resize a GIF
Step 1
Upload your GIF
Drag and drop an animated GIF, or choose it from your device. The tool shows its size, number of frames, length and looping.
Step 2
Set the new size
Type a width or a height, or tap a preset such as 50%. With the lock on, the other side follows so the picture keeps its shape. Pick smooth or pixelated resizing and the number of colors.
Step 3
Compare and download
Click Resize GIF, compare the original and the result side by side, then download the new GIF. The GIF is processed in your browser; this page does not upload it.
Frequently Asked Questions
Is my GIF uploaded anywhere?
No. The GIF is decoded, resized and saved again inside your browser, and this page does not upload it. Test runs in three browsers made no network request while resizing, and there is no account and no watermark.
Are the animation, the timing and the looping kept?
Yes. Every frame is kept in order, each frame keeps its own delay (a delay of 0 is written as 100 ms), and the loop count of the original is restored: forever, a set number of times, or play once. A transparent background stays transparent, but GIF has no partial transparency, so soft edges become hard ones.
Why is my resized GIF larger than the original?
The tool writes complete frames with one shared palette, while many GIFs store only the changed pixels of each frame. When you make a GIF only a little smaller, that difference can outweigh the savings. Choose a smaller size, pick fewer colors, or run the result through our GIF Compressor.
How big a GIF can I resize?
Up to 31.46 MB (30 × 1,048,576 bytes) and 500 frames. The result can be up to 4,000 pixels wide or tall, and the frames multiplied by the new width and height must stay under 40 million pixels so your browser does not freeze. If a job is too big the tool tells you the largest width that works.
Which resizing style should I choose?
Smooth averages neighboring pixels and is best for photos, video clips and anything with gradients. Pixelated keeps hard edges, which suits pixel art and screenshots of games, where blurring would spoil the look.
Can I stretch a GIF to an exact width and height?
Yes. Click the lock between the two boxes to turn off the aspect ratio, then type any width and height. The picture is stretched to fit, so use this only when you need an exact size.
What happens to frames with a delay of 0?
They are written with a delay of 10 hundredths of a second (100 ms). Every other delay is copied as it was, including very short ones: a test GIF with delays of 1, 2, 5 and 7 hundredths kept them all.
How much smaller does a GIF get at 50%?
It depends on the GIF. A 320 x 240 clip in which every pixel changes went from 1,184,821 to 399,562 bytes (34%), and to 160,333 bytes (14%) with 32 colours. An optimised GIF that redraws only a small moving square grew from 2,713 to 8,949 bytes, because the tool writes every frame whole.
Does Pixelated keep pixel art sharp when I enlarge it?
Yes. A 32 x 32 sprite enlarged to 128 x 128 came out as exact 4 x 4 blocks of its 4 original colours, 4,931 bytes. Smooth blended the edges into 131 colours and 15,532 bytes.
Why did two very dark colours become one?
The encoder matches colours on a grid of 8 levels per channel, so two colours in the same step of that grid can merge. Black and 6, 6, 6 came out as one colour; black and 8, 8, 8 stayed apart.
Related guide
Making a GIF from a video: size, frame rate and quality. The guide explains why halving the width removes three quarters of the pixels in every frame.