Esc
↑ ↓ to moveEnter to openEsc to close

Free GIF cropper, no upload

Crop GIF: a GIF cropper for every frame at once

To crop a GIF, choose it below, drag the box over the part you want, or pick 1:1, 4:3, 16:9 or 9:16, and press Crop the GIF. Every frame is cut by the same box, and the pixels you keep are not recompressed, so they look exactly as before. You can trim frames from the start and the end too, and the GIF never leaves your device.

How to crop a GIF

  1. Choose your GIF

    Tap Choose a GIF, drop a GIF file on the box or paste one. A crop box appears over the preview.

  2. Place the box

    Drag the box or its corners, pick a shape such as 1:1 or 16:9, or type the box in pixels. Pause on any frame to check what it holds.

  3. Trim frames if you like

    Set the first and last frame to keep, or pause where you want the GIF to start or end and press the button for that frame.

  4. Crop and download

    Press Crop the GIF. The cropped GIF plays on the page with its size. Press Download.

Want the whole picture smaller instead, or words on it? GIF resizer or Add text to GIF.

One box for every frame

The crop box stays in one place for the whole GIF, and every frame is cut by it. Play the GIF with the box on it, or drag the frame slider, to make sure the thing you want stays inside from the first frame to the last. The box cannot follow something that moves across the picture: for that, make the box wide enough to hold the whole path.

The box starts a little inside the picture so its corners are easy to grab. Drag the middle to move it and a corner to resize it, with a mouse or a finger. The four number boxes hold its left edge, top edge, width and height in the GIF's own pixels, for when you need an exact size. Select the whole picture puts it back.

Shapes: free, 1:1, 4:3, 16:9 and 9:16

Free lets the box take any shape. The others hold it to a square (1:1), to the classic screen shape (4:3), to widescreen (16:9) or to a tall phone screen (9:16) while you drag, as closely as whole pixels allow. Picking a shape puts a box of that shape around the middle of the box you had.

A square is what profile pictures and emoji want, and 16:9 or 9:16 match video frames. To give the cropped GIF a set size in pixels afterwards, continue to the GIF resizer from the result.

No quality loss inside the box

Cropping only takes pixels away, so the ones that stay do not have to change, and here they do not. When the frames you keep hold no more colors than one GIF palette, which is 256 (MDN), every color is written back exactly and nothing is dithered again. In our tests we compared every pixel of every frame of the cropped GIF with the original, for a 63 frame clip, a see-through animation and a GIF that mixes every way a frame can be drawn: all identical.

Some GIFs carry a color table for every frame and use far more than 256 colors in all. Those cannot be written with one palette without matching colors, so the kept pixels are matched to a shared palette, and the result says so instead of claiming that nothing changed.

Trim frames from the start and the end

Under Trim frames, set the first and the last frame to keep. Or pause the preview where the GIF should begin, press Start at the frame shown, then do the same for the end. The line above the button gives the frames kept and the new length in seconds.

A GIF frame often holds only the part of the picture that changed and relies on the frames before it for the rest. The cropper draws every frame the way it really shows before cutting, so the first frame you keep is a whole picture and looks exactly as it did in the original. The frames keep their own times, and the loop count stays.

File size after cropping

Fewer pixels make a smaller file. Our 9.16 MB test GIF of 480 x 270 pixels came to 5.87 MB with a box of 384 x 216 pixels, and to 5.08 MB as a 270 x 270 square, each in about a second. The long test GIF of 500 frames and 45.71 MB became a 224 x 224 square of 25.29 MB in about 7 seconds.

Trimming frames saves in step with the frames removed. If the cropped GIF is still too large, continue to the GIF compressor from the result.

Cropping without a mouse

The crop box can be reached with the Tab key. With the box selected, the arrow keys move it by one pixel, and Shift with an arrow key makes it wider, narrower, taller or shorter; holding Ctrl as well moves it 10 pixels at a time. The shape buttons work with the arrow keys too, and the four number boxes take typed values.

On a phone, drag the box or a corner with a finger. The preview scrolls with the page everywhere except on the box itself.

What happens to your GIF

Everything happens inside this page, in a background task, without sending the GIF anywhere. These tools open GIFs of up to 60 MB and 2,000 frames, and fewer frames for very large pictures (frames times width times height may reach 1.2 billion pixels). A larger file is turned away with a message before anything is read.

The cropped GIF has no watermark and nothing added. Under the download you can see how many requests this page sent while you used it.

Questions

How do I crop a GIF?

Choose the GIF on this page, drag the box over the part to keep and press Crop the GIF. Every frame is cropped the same way, and the animation keeps its timing.

Can I crop an animated GIF and keep it moving?

Yes. All frames are cropped by the same box and written back as an animated GIF with the same frame times and loop count.

How do I crop a GIF to a square or to 16:9?

Pick 1:1 or 16:9 under Shape. The box takes that shape and keeps it while you drag it or its corners; 4:3 and 9:16 are there too.

Does cropping a GIF lower its quality?

No, when the kept frames hold no more than 256 colors together: every kept pixel is written back exactly, which we checked pixel by pixel in our tests. A GIF with more colors than one palette holds is matched to a shared palette, and the result says so.

Can I trim a GIF, or cut frames from the start or end?

Yes. Under Trim frames, set the first and last frame to keep, or pause on a frame and press Start or End at the frame shown. You can trim without cropping the picture.

Is this GIF cropper free and online, with no upload?

Yes. It is free, with no account and no watermark, and it runs in your browser: the GIF is cropped on your device and never sent to a server.

Can the crop box follow something that moves?

No. The box stays in one place for every frame. Make it large enough to hold the whole movement.

Sources: W3C, GIF89a specification, MDN, Image file type and format guide

Open-source code this tool runs on your device: gifenc (MIT), version 1.0.3, picks the palette and compresses the GIF (the dithering and the frame-to-frame savings are our own code).

See all tools