Three ways to crop a GIF and remove unwanted borders or parts of the frame — browser-based, desktop, and command-line approaches compared.
Cropping removes unwanted parts of the frame — black bars, watermarks, empty space, or distracting backgrounds. It also reduces the pixel count (and therefore file size) proportionally to how much you trim.
GifMash's Crop GIF tool crops a GIF using gifsicle's --crop flag entirely in your browser — no upload, no software install.
The coordinate system starts at (0, 0) in the top-left. If your GIF is 640 × 480 and you want to remove 50 px from each side, set X=50, Y=50, Width=540, Height=380.
EZGIF offers a visual crop with a drag-to-select interface, which is easier if you don't know the exact pixel coordinates. Upload your GIF, use the crop box, and download. The limitation is that files are uploaded to their servers.
FFmpeg can crop GIFs (by converting through a video pipeline) with precise control:
ffmpeg -i input.gif -vf "crop=540:380:50:50" output.gif
The crop filter arguments are width:height:x:y. FFmpeg re-encodes the GIF, which may change color palette and quality — use gifsicle for lossless crop if quality is critical.
Crop removes pixels from the edges — the content doesn't scale, just less of it is visible. Resize scales the entire image to a different size. Both reduce file size, but for different reasons: crop removes pixels, resize reduces the per-pixel count.
For best results on oversized GIFs: crop first (remove unwanted areas), then resize to the target width, then compress.
Crop GIF online
GifMash's Crop GIF tool lets you crop any GIF by pixel coordinates directly in your browser.