Skip to main content

All processing done locally in your browser

Image Machine logo
Image Machine

Back to Home

Crop GIF — Trim an Animated GIF to Any Region

Crop an animated GIF to any area, entirely in your browser. Drag the box over the preview or pick an exact aspect ratio — no upload, no watermark, and your GIF never leaves your device.

Upload a GIF to crop

Drop an animated GIF here, or click to browse. Everything runs locally on your device.

Choose GIF

Paste (Ctrl/⌘+V) or drop an image — or import from a URL

Crop GIF trims an animated GIF down to any region — entirely in your browser. Unlike most online GIF croppers, this one never uploads your file: the GIF is decoded into full frames, every frame is cut to the exact same rectangle by direct pixel slicing (so there is zero resampling and the kept pixels stay bit-for-bit identical), and the animation is re-encoded locally with a fresh palette per frame. Drag the crop box over the live preview to move it, drag a corner to resize, or snap to a fixed aspect ratio like 1:1, 4:3 or 16:9. There is no watermark and no sign-up, and your GIF never leaves your device — the privacy-first alternative to ezgif and other upload-based croppers.

Cropping a photo vs cropping an animated GIF

What happensA still photoAn animated GIF
What the crop applies toThe single image.Every frame, cut to the identical rectangle. The frame count never changes.
The pixels you keepCopied across untouched.Copied across untouched. The cut is a straight pixel slice, so nothing is rescaled or softened.
ColoursAll 16.7 million survive the crop.Each frame is rebuilt on a fresh palette of at most 256 colours, the same ceiling the GIF already lived under.
Timing and loopingNothing to preserve.Every frame keeps its own delay, and a GIF that loops forever still loops forever.
TransparencyA PNG carries 256 levels of alpha; a JPG has none.GIF carries one level: a pixel is either fully see-through or fully opaque.
File size afterwardsFalls roughly in step with the pixel count.Falls more slowly than the pixel count. Keeping a quarter of the pixels gave us 28% to 70% of the bytes, 38% for the middle file.

Measured on 10 animated GIFs from Wikimedia Commons, 15 to 360 frames and 116 KB to 4.2 MB, run through this page's own code and cropped to the middle half of each side. All ten came out smaller than the file that went in, between 17% and 79% of it. That is not automatic. A GIF stores only the part of each frame that changed since the frame before, so any editor that cuts every frame has to rebuild that from scratch; write the frames back as independent full pictures instead and the file grows even though three quarters of the pixels are gone, which on this same set of ten took one file to 4.5 times its original size. Colour costs nothing either, because the new palette is drawn from only the region you keep.

How It Works

1

Choose a tool

Pick from 160+ tools to resize, convert, compress, or enhance your image.

2

Upload & edit

Drag and drop your image and adjust the settings. It stays on your device.

3

Download

Save your result instantly — no watermark, no sign-up required.

Why Image Machine?

Your files never leave your device

All processing runs locally in your browser. Your images are never uploaded to a server.

Completely free

Every tool is free, with no limits, no watermarks, and no hidden costs.

Lightning fast

No upload waiting — your images are processed instantly on your own device.

Professional quality

Pixel-perfect output with full control over format, size, and quality.

Frequently Asked Questions

How do I crop an animated GIF?

Upload your GIF, then drag the crop box on the preview to position it and drag a corner to resize — or tap an aspect-ratio button to snap to a shape. Click Crop GIF and download the result; every frame is cropped to the same region and re-encoded in your browser in seconds.

Does cropping reduce the quality of the kept area?

No. Cropping is pure pixel slicing, so the part of each frame you keep is bit-for-bit identical to the original — there is no scaling or blurring. The animation is then re-encoded within the GIF format's 256-colour-per-frame limit, exactly as the source GIF already was.

Can I crop to a specific aspect ratio?

Yes. Pick 1:1, 4:3, 3:2, 16:9 or 9:16 and the crop box snaps to the largest centred rectangle of that shape, which you can then drag to reposition. Leave the ratio free to crop to any size you like.

Is my GIF uploaded to a server?

Never. Decoding, cropping and re-encoding all happen locally with JavaScript in your browser. Your GIF is not uploaded, there is no sign-up, and the tool keeps working offline once the page has loaded.

Editing Tools

Invert Colors

Add Text to GIF

Optimize GIF

GIF to Frames

GIF to APNG

APNG to GIF