On-device AI — professional-grade, fully private.

Images

How to Crop a GIF Online (Square, Remove Borders, Keep the Animation)

Crop an animated GIF to a square, a ratio or exact pixels and keep the animation and timing. Also: cutting frames instead, and what happens to file size.

Updated November 7, 20268 min read

To crop a GIF, open the GIF cropper, add the file, drag a box over the part you want to keep (or type exact pixel values), press Crop and download. Every frame is cut to the same rectangle, so the result still animates, plays at the same speed and loops the same number of times. The confusion people run into is that cropping removes part of the picture, while cutting removes part of the time. This guide covers both, how to crop to a square for an avatar or emoji, and what to expect from the file size.

Crop or cut: space versus time

A GIF has two dimensions you can shorten. Cropping works on the frame: the width and height get smaller and the edges you dropped are gone from every frame. Cutting works on the timeline: some frames are removed and the rest keep their size. Picking the wrong one is the usual reason a result looks off.

You want to…UseWhat changes
Remove a border, a watermark in the corner or a cursorCropWidth and height; every frame is cut the same way
Remove the start, the end or a boring middleCutThe number of frames and the length
Make the whole picture smallerResizeThe dimensions; nothing is cut away
Make the file smaller without changing the shapeCompressThe palette and frame data
Do several of these on one animationGIF editorWhatever you choose, in one place

Crop a GIF, step by step

1

Add your GIF

Open the GIF cropper and drop the file on the drop area or browse for it. Animated WebP and APNG files are accepted too, and the output is always a GIF.

2

Set the crop box

Drag a rectangle over the picture, pull any of the eight handles, or type values into Left, Top, Width and Height. If the result has to fit a fixed slot, choose an option under Aspect ratio first so the box keeps its shape while you move it.

3

Check where the animation moves

Press Show action area. A dashed outline appears around everything that changes across the whole animation. If your crop box does not contain it, the tool warns you that the crop cuts part of the moving area.

4

Crop and download

Press Crop, look at the result line, then Download GIF. The tool shows how much was removed and how much smaller the file is.

Drag a box or type exact pixels, lock an aspect ratio and keep the timing and loop count. Free: one GIF up to 50 MB and 300 frames. Pro: up to 20 files at once. It all runs on your device, not our servers.

Crop a GIF

Aspect ratios as the tool offers them

Under Aspect ratio the tool offers Free (no constraint), Original (the proportions the file already has), 1:1, 4:3, 3:2, 2:1, 16:9, 9:16, 4:5 and Golden. With a ratio locked, typing a width fills in the height and the other way round, and the number boxes will not accept a size the frame cannot hold at the current position. Choosing a ratio snaps the box to the largest rectangle of that shape that fits where it is.

OptionShapeGood for
FreeAnything you dragRemoving a border or a stray corner
OriginalSame proportions as the fileTrimming edges without changing the shape
1:1SquareAvatars, custom emoji, grids
4:3 or 3:2Slightly wideOld screen captures, camera clips
16:9WidescreenA clip taken from a video that should still look like a clip
2:1Wide bannerHeaders and banners
9:16Tall, full-screen portraitStories, Reels, Shorts
4:5Tall feed postInstagram feed posts
GoldenAbout 1.618 to 1When you want it by name

Cropping a GIF to a square for an avatar or emoji

Pick 1:1, drag the square over the subject, then use Show action area to confirm the face or object stays inside it for the whole loop. Many places that ask for a square also expect a fixed size, for example 128 by 128 for custom emoji on Discord and Slack. You do not need a second tool for that: the Output scale slider under Output sets the finished size as a percentage of the crop box, so the crop and the scaling happen in one pass and the palette is rebuilt once instead of twice.

If you would rather keep the whole picture and add space around it, tick Allow extending past the edge. The crop box can then go outside the frame and the overhang becomes padding, either Transparent or a Solid colour, instead of a stretched image. That is the way to make a wide GIF square without cutting anything off. If you need an exact size afterwards, use the GIF resizer; the resize guide explains the options.

Removing borders and watermarks in the corner

For black bars, a solid margin or a transparent edge, press Trim borders. The tool reads the corners of the first frame to decide what the background is, then finds the smallest rectangle that contains everything that is not background across all frames, not only the first. If the margin is not perfectly flat, which is normal for a clip that came from a video, raise Background tolerance until the bars count as background. A value around 8 to 16 is a sensible start for letterbox bars that are almost black.

A watermark or logo in a corner can be removed only if you are willing to lose the strip of picture next to it, because cropping cannot fill in what is behind a mark. If the mark sits in the middle of the picture, no crop can remove it. Cropping does remove things completely: unlike a black box drawn on top, the cropped-away pixels are not in the file any more, which matters for anything private at the edge of a screen recording.

Does the animation, speed and loop survive?

Yes. Each frame keeps its own delay, so the total playing time out equals the total playing time in, and the loop count is read from the file and written back. A GIF that plays three times still plays three times, and one that loops forever still loops forever. Transparent areas stay transparent. The result line shows the frame count, so you can check it matches the original.

Some GIFs are stored as small patches that only record what changed from the previous frame. A cropper that cuts those stored patches instead of the picture the viewer sees leaves flickers or fragments of old frames inside the new box. This tool first builds the complete picture of each frame and cuts that, so there is no setting you have to change to avoid ghosting.

File size after cropping

GIF file size follows the pixel count fairly closely, so keeping about half of the frame gives roughly half the data. After the crop, the result line shows the percentage of the frame removed and, when the file got smaller, how many percent smaller it is, with the before and after sizes. If the file grows, the tool says so instead of hiding it.

GoalBest moveWhy
Smaller file, same pictureCompressReduces colours and redundant data, not the shape
Smaller file, subject onlyCrop tightlyFewer pixels in every frame
Smaller file and smaller dimensionsCrop with Output scale below 100%One pass, one palette
Shorter fileCutFewer frames

Padding with a transparent colour can cost some size, because transparent padding and the frame-to-frame savings compete for the same palette slot. Padding with a solid colour keeps the savings. Under Advanced you can set the number of colours and choose dithering (None, Ordered or Error diffusion), which is where to look if a cropped gradient shows banding.

When a crop does not look right

  • The subject is cut off on some frames. You judged the box on one frame. Turn on Show action area and widen the box to contain the dashed outline.
  • A thin line of the old border remains. Trim borders with tolerance at zero only removes an exact colour match. Raise the tolerance, or type the Left, Top, Width and Height values one pixel tighter.
  • The corners are hard when you choose Oval. A GIF stores transparency as a single palette slot, so the edge of an oval is hard rather than feathered. A solid surround colour usually looks better than transparency on a busy background.
  • Pixel art looks uneven after scaling. Crop on whole multiples of the sprite grid, and when you scale use whole multiples with the Pixel resample mode.
  • The file is not accepted. A video is not an animation. Convert a clip with the video to GIF tool first, and use the GIF maker for still images.

Limits on Free and Pro

Free handles one file at a time, up to 50 MB and 300 frames, with output up to 2048 pixels on the long edge. Quality is not reduced and every control in this guide is available. Pro adds batch cropping of up to 20 files at once, downloaded as one ZIP, with the same crop rectangle applied to each, which is handy for a set of captures that share a size. Everything is processed on your device, so a private recording is not uploaded in order to be cropped.

If a file is over the limit, cut it down first, or compress it to bring the size under 50 MB, then crop.

Frequently asked questions

How do I crop a GIF online for free?

Open the GIF cropper, add the file, drag the crop box over the part to keep, press Crop and download the result. Free covers one GIF up to 50 MB and 300 frames, at full quality.

Will cropping stop my GIF from animating?

No. Every frame is cut to the same rectangle, and each frame's delay and the loop count are written back unchanged, so it plays at the same speed as before.

How do I crop a GIF to a square?

Choose 1:1 under Aspect ratio, place the square over your subject and check with Show action area that the movement stays inside it. If you also need a fixed size such as 128 by 128, set Output scale in the same pass.

What is the difference between cropping and cutting a GIF?

Cropping removes part of the picture, so every frame gets smaller. Cutting removes frames, so the GIF gets shorter. Use the GIF cutter for the start, end or middle of the animation.

Does cropping make a GIF smaller in file size?

Usually yes, because fewer pixels means less data, and the result line shows the percentage saved. If the file grows, for example after adding transparent padding, the tool tells you.

Can I crop several GIFs at once?

Yes on Pro: up to 20 files at once with the same crop rectangle, downloaded as a single ZIP. Free crops one file at a time.

Keep reading

More in Images →