★ Every tool runs 100% in your browser. Nothing is uploaded, ever

Resize & Optimize

GIF Resizer

This free GIF resizer changes an animated GIF to the exact width and height you set, right in your browser, with nothing uploaded. Fit keeps the whole picture and pads the space left over; Fill crops the edges away to cover the new shape. The preview plays the exact file you will download, so the size in the readout is the size you get.

Change an animated GIF's width and height by exact pixels, by percent, or to a platform size like a Discord emoji, and keep every frame, every delay and the looping exactly as they were. Everything runs in your browser; your GIF is never uploaded.

Drop a GIF here, or paste one from your clipboard

The built-in sample below is already loaded, so you can try every control first.

Your GIF & new size

Width, height and percent are the same setting written three ways: change any one and the others follow. With the lock on, typing one side works the other side out for you.

Platform sizes

Platform presets set the two numbers exactly, so the aspect lock turns off. A square slot is square, whatever shape the GIF started.

Quick sizes

Quick sizes keep the original proportions.

When the shape does not match

Fit keeps the whole picture and pads the leftover space. Fill covers the new canvas with the centre of the picture and cuts the rest away. Stretch pulls the picture to the exact size and distorts it. The readout below says, in pixels, what your choice does to this GIF.

Only the padding Fit leaves behind uses this. The picture itself is never blended onto it.

Resampling

Smooth averages neighbouring pixels; photos, clips and gradients come out clean. Pixel takes the nearest original pixel, so hard edges stay hard, which makes it the right choice for pixel art and sprites.

Honest limits, checked before anything is decoded or resized: files up to 50 MB · up to 600 frames · up to 48 million decoded pixels in total (frames × width × height). The resized frames are held to the same 48-million-pixel budget, and one side of the result can be at most 4,096 pixels. A GIF over a limit is refused with the reason, not with a frozen tab. Everything happens in your browser's memory, and these caps are what a phone can hold.

Preview: original vs. resized

Original

Resized

The resized preview is not a mock-up: it plays the same resized frames, in the same order, with the same delays that are written into the downloaded GIF file. On a small screen it is shown scaled down to fit, but the file itself is the size in the readout.

How to resize a GIF

  1. Load a GIF. Drop it on the box above, paste it, or pick a file, or try everything on the built-in sample first. The sample has a border drawn near its edges, so you can see exactly what each fit choice does.
  2. Set the new size. Type a width, a height or a percent: the three fields are one setting, and with the aspect lock on, the other side works itself out. Or pick a platform or quick-size preset.
  3. Decide what happens when the shape changes. Fit, Fill or Stretch, and Smooth or Pixel resampling. The readout tells you in pixels what your choice does to this particular GIF: how much padding, or how much gets cropped.
  4. Check the preview, then download. The resized preview plays the exact frames the file will hold. The download keeps the original delays and looping, and the status line reports the real file sizes, before and after.

Fit, Fill or Stretch: what each one does to the picture

Resizing to the same shape is easy: everything scales, nothing is lost. The interesting question is what happens when the new shape differs from the old, like a wide GIF going into a square emoji slot. There are only three things any resizer can do, and this tool names them plainly:

ChoiceWhat it doesUse it whenWhat you give up
FitScales the whole picture until it fits inside the new canvas, and pads the leftover space (transparent, or a colour you pick).Nothing in the picture may be lost: a diagram, a wide scene, a logo with room around it.The padded bars are part of the file. On a mismatched background they show as stripes.
FillScales the picture until it covers the whole canvas, centred, and cuts off whatever spills over the edges.The subject sits in the middle, a face, a character or a product, and the edges are scenery.Whatever is cut is gone from the download. The readout says how many pixels, before you commit.
StretchPulls the picture to the exact new size, changing its proportions.Almost never for pictures of real things. Sometimes for abstract patterns where proportions do not matter.Shape itself: circles become ellipses, faces come out wider or taller. It is distortion, and the tool labels it as such.

The default is Fit, because it is the only choice that loses nothing. If you switch, the readout on the tool recomputes for your GIF and your target size (padding in pixels for Fit, cropped pixels for Fill), so the trade is never a surprise after the download.

Platform sizes: Discord and Slack

Most resizing jobs end at a platform slot with a published size. The presets above set these dimensions exactly:

Where it goesSizeThe platform's own file limit
Discord emoji128 × 128256 KB
Discord sticker320 × 320 (exact)512 KB
Slack emoji128 × 128128 KB

Two honest notes about that table. First, the presets set dimensions only: the file limit in the third column is the platform's rule, not a result this tool promises. A 320 × 320 animation with many frames can still come out over 512 KB; if yours does, the bytes have to come out some other way (fewer frames, fewer colours: that is compression, a different job), because resizing alone cannot guarantee a byte count. Second, Discord's own sticker help asks for PNG or APNG files for stickers, so treat the 320 × 320 preset as the right dimensions for the slot, not a promise about which format Discord will take.

For a square slot and a wide GIF, the usual winner is Fill with the subject centred. If the subject sits near an edge, Fit with a transparent pad is safer: Discord and Slack both show emoji on changing backgrounds, and transparent padding disappears into all of them.

Smooth or Pixel resampling?

When a picture changes size, every new pixel has to be worked out from the old ones, and there are two honest ways to do it. Smooth averages the neighbouring pixels, weighted by distance: photos, video clips and gradients come out clean, with no blocky steps, because that is how they would look if the camera had recorded them at the new size. Pixel (nearest neighbour) simply takes the closest original pixel and copies it, so a hard edge stays exactly as hard as it was. Pixel art, game sprites and small paint-program drawings are built from deliberate single pixels; averaging them turns crisp art into mush, so Pixel is the right choice there, especially at even multiples like 2x or 3x, where every original pixel becomes a tidy block. On a photo, the same setting leaves jagged, blocky edges. The preview uses the same resampling as the download, so if you are unsure, flip between the two and look.

Making a GIF bigger: the honest truth

This tool will resize a GIF to a larger size if you ask, and it warns you on the panel before you download, because the result deserves a warning. A bigger GIF has more pixels than the original, and those pixels have to be invented by stretching the ones that exist. Edges get softer, fine detail stays exactly as missing as it was, and text that was barely readable stays barely readable. Nothing, here or anywhere else, can recover detail that was never recorded. If you need a GIF bigger for a slot that demands it, an even multiple (exactly 2x or 3x) with Pixel resampling keeps pixel art crisp and blocky; Smooth is the kinder choice for photos, and it will still be soft. Often the better move is to go back to the source, the original video or the larger image, and make the GIF at the size you actually need.

Why the file size does not follow the pixels

It is natural to expect a GIF at half the width and height, a quarter of the pixels, to land at a quarter of the file size. Sometimes it nearly does; often it does not, and the reason is that a GIF file pays for more than pixels. It pays for the frame count, which resizing does not change. It pays for a colour palette in every frame: up to 256 colours, listed whether the frame uses all of them or not. And it pays for detail: the compression inside a GIF squeezes repeating patterns hard and noisy, speckled areas barely at all. Halve a flat cartoon and the bytes fall away; halve a grainy video clip and each remaining pixel still carries nearly as much information as before, so the file keeps far more of its size. That is why this page never predicts a byte count from the dimensions, and why the tool prints your real before-and-after sizes on every download instead.

Measured on our own test GIFs

These are real output files from this tool's own engine, measured while the page was being tested. They are not best-case marketing numbers. Note the last row: making a GIF bigger made its file more than four times heavier, because there are four times the pixels to store and they are all invented.

Test GIFOriginalResizedResulting file
Gradient scene (photo-like), 10 frames480 × 270 · 160.9 KB240 × 135, 50%, Smooth24.3 KB (−84.9%)
Gradient scene (photo-like), 10 frames480 × 270 · 160.9 KB128 × 128, Fit, Smooth14.5 KB (−91.0%)
Pixel art, 4 frames96 × 96 · 1.8 KB48 × 48, 50%, Pixel1.1 KB (−37.0%)
Pixel art, 4 frames96 × 96 · 1.8 KB192 × 192, 200%, Pixel7.6 KB (+329.7%)

Your numbers will differ: they depend on your GIF's frames, colours and detail, which is the whole point of the section above. The gradient scene sheds bytes because smooth areas compress well once resampled; the pixel art keeps more of its size because every pixel in it is deliberate.

Frequently asked questions

Does resizing keep the animation, the delays and the looping?

Yes. Every frame is resized, and each frame keeps its stored delay exactly; the loop setting carries over too. A GIF that looped forever still loops forever, and one that played once still plays once. Only the dimensions change.

Why did my file barely shrink when I halved the size?

Because bytes are not pixels. Halving the width and height quarters the pixel count, but the file also pays for the frame count, the colour palette in every frame and how much detail each frame holds, and none of those shrink. A flat, simple GIF sheds most of its bytes when resized; a noisy, detailed one keeps far more of them. The status line after each download shows your real before and after sizes, so you never have to guess.

I made my GIF bigger and it looks soft. Why?

The bigger file has more pixels than the original, and those pixels have to come from somewhere: the tool stretches the pixels that exist. No tool can recover detail that was never recorded, so an enlarged GIF is always softer than the original. On pixel art, the Pixel resampling at an even multiple (2x, 3x) at least keeps the edges crisp and blocky instead of blurred.

Fit, Fill or Stretch for a Discord emoji?

Discord emoji are square (128x128), and most GIFs are not. Fill crops the sides away and keeps the centre, which suits a face or logo in the middle of the frame. Fit keeps the whole picture and pads the empty space. Choose a background that matches where the emoji will sit, or leave it transparent. Stretch distorts the picture to force the square, and faces come out wider or taller than they should; it is rarely the right choice.

How big a GIF can I resize?

Up to 50 MB per file, up to 600 frames, and up to 48 million decoded pixels in total (frames x width x height). The resized frames are held to the same 48-million-pixel budget, and one side of the result can be at most 4096 pixels. The checks run before anything is decoded or resized, so an oversized GIF gets a clear refusal with the reason, not a frozen tab.

Pixel or Smooth resampling?

Pixel keeps hard edges exactly where they were. It is the right choice for pixel art, sprites and anything drawn in a paint program at small size. Smooth averages neighbouring pixels as it resizes, which looks far better on photos, video clips and gradients, where Pixel would leave the result blocky and jagged.

Related tools

Resizing is usually one step in a longer job. These MotionGIF tools cover the steps that tend to come before or after it:

Browse all MotionGIF tools →