HeyDreaming

Free · processed in your browser · free account to download

Crop an Animated GIF

Loading the tool…

Trim unwanted margins or reframe an animated GIF to an exact pixel rectangle without losing the animation. Everything runs in your browser, so your GIF stays on your device.

How do I crop an animated GIF without losing the animation?

Drop a GIF up to 30 MB (500 frames max) into the box above. Pick the Square, 16:9, or 4:5 centered preset, or type exact x, y, width, and height pixel values, then press Crop GIF. Every composited frame is cut to the same rectangle and re-encoded with its original timing and loop count.

How it works

01

Add your GIF

Drop one GIF file up to 30 MB and up to 500 frames, or click to select it from your device.

02

Set the crop rectangle

Choose a centered Square, 16:9, or 4:5 preset, or enter exact x, y, width, and height values in pixels.

03

Crop and download

Press Crop GIF and check the animated preview and file size change. Downloading the cropped GIF needs a free HeyDreaming account (Google or email, no credit card).

When to crop an animated GIF

Screen recordings, reaction clips, and converted video snippets often carry black letterbox bars, browser chrome, or empty background space around the subject. Cropping cuts away those outer pixels on every frame at once so the motion fills the frame.

You can also reframe a wide clip into a centered Square (1:1) or vertical 4:5 rectangle for chat apps, forum avatars, and documentation embeds, or enter exact pixel coordinates (`x`, `y`, `width`, and `height`) when matching a layout slot.

How frame-by-frame GIF cropping works

Many GIFs store only the pixels that changed from one frame to the next. Slicing raw frame patches directly would break the picture whenever an earlier frame provided the background. This tool first composites every frame onto the full canvas following its disposal method, then cuts each frame to your rectangle and encodes a fresh GIF.

Frame delays (stored in 10 ms steps) and the file's loop setting are preserved. Each output frame is quantized to up to 256 colors with 1-bit transparency. When the cropped result exceeds 1200 px on its long side, the on-page preview uses a scaled copy up to 1200 px so the tab stays responsive, while the download button saves the full-size cropped GIF.

What this tool does not do

It does not rotate or perspective-warp the animation, crop different frames to different rectangles, or process animations with more than 500 frames.

See all free tools

Keep exploring

Related free tools

Questions

Crop GIF: FAQ

Is my GIF uploaded to a server?

No. Decoding, cropping, and re-encoding all run in your browser, so the GIF stays on your device. The page sends usage events to Google Analytics, such as which tool ran, but never your file.

Will cropping make the GIF file smaller?

Usually yes, because fewer pixels remain in each frame. However, a heavily optimized source GIF that used tiny delta patches can occasionally grow slightly when every cropped frame is freshly quantized and encoded. The tool shows the exact before and after sizes.

What happens if my crop rectangle extends past the edge?

The coordinates are clamped to the canvas boundaries automatically, so the output width and height only include pixels that exist inside the source GIF.

Are transparent backgrounds and frame speeds kept?

Yes. Transparent pixels stay transparent (GIF uses 1-bit transparency, so alpha below 50% becomes transparent and 50% or above becomes opaque), and each frame keeps its delay and loop behavior.

What are the file size and frame limits?

The tool accepts one GIF at a time up to 30 MB and up to 500 frames. Longer or larger files are refused before decoding so they do not exhaust browser memory.