UTILS.
100% in-browser

GIF Cropper

Crop an animated GIF to a selected rectangle across every frame, with an optional reverse.

Drop a GIF here or click to choose

About this tool

GIF Cropper trims an animated GIF to a rectangle you choose, applying the same crop to every frame so the animation stays intact. It shows the first frame as a preview; drag on it to draw a selection, or type exact X, Y, width and height values, and the tool crops all frames and re-encodes a new GIF.

Each frame is composited onto a full-size canvas with correct disposal handling before cropping, so partial-update GIFs crop cleanly without ghosting or misaligned regions. You can also tick the reverse option to play the frames backwards, which swaps the frame order and their delays.

All of this happens locally in your browser using gifuct to decode and gifenc to re-encode — the GIF is never uploaded, it works offline, and your images stay on your device.

Frequently asked questions

How do I choose the crop area?
Drag a rectangle directly on the preview of the first frame, or type exact X, Y, width and height values in the boxes. The Reset button restores the selection to the whole image.
Is the crop lossless?
The cropping itself only removes pixels, but the GIF is re-encoded afterwards, so each frame is re-quantized to 256 colours. Expect a small quality change from the re-encode rather than from the crop.
What does the reverse option do?
It plays the animation backwards by reversing both the frame order and each frame's delay, so a crop and a reverse can be produced in a single pass.
Does my GIF leave my device?
No. Decoding, compositing, cropping and re-encoding all run in your browser, so nothing is uploaded to a server and the tool works offline.

More tools