# Trim GIF

Trim a GIF by choosing the first and last frame to keep. The animation gets shorter, every kept frame stays exactly as it was, and nothing is uploaded.

Canonical page: https://filetity.com/trim-gif

## Capabilities

- Free: Yes, with no watermark and no page limit.
- Account required: No. There is no account system.
- Processed on device: Yes. The file is read by your browser and never uploaded. There is no server to send it to.
- Formats: Animated GIF in. GIF out holding only the frames you kept, animation preserved.
- Limits: One GIF at a time. A frame number past the end is pulled back to the last frame, and a last frame before the first keeps that single frame rather than refusing. This keeps one continuous run; cutting a section out of the middle takes two passes.
- Mobile: Yes, on any modern mobile browser. Large files are limited by the memory the phone gives the browser.
- Offline: Yes, after you have used it once. Your browser keeps what the tool needs, so it then works with no network connection.

## Questions

### Does trimming change the speed?

No. Only frames outside the range are removed. The frames that remain keep their own delays, so the motion runs at the original speed and the animation simply ends sooner. Compressing is different: that merges the time of dropped frames into their neighbours to hold the same length.

### How do I know which frame numbers to type?

The header shows the total, and frames are counted from 1 in the order they play. A 40 frame GIF trimmed to 1 through 20 keeps the first half. The line under the boxes shows how many frames the current range keeps before you commit.

### Can I cut a section out of the middle?

Not in one pass. A trim keeps one continuous run of frames. Most trims are removing a slow start or a dead end, which this does directly. For a middle cut, trim the front part to one file and the back part to another.

### Will the loop still repeat?

Yes. The loop count from the original is written back unchanged, so a GIF that looped forever still does, now over the shorter run.

### Why is the file only a little smaller?

Because size follows pixels more than frames. Many GIFs store the full picture once and then only the changed patch per frame, so the first frame carries most of the bytes and the rest are small. Cutting frames from such a GIF saves little; resize or compress it afterwards to shrink it.

### Is this the same as a GIF shortener or clipper?

Yes. Those are other names for the same operation: keep a range of frames and discard the rest. The name varies by site and the work is identical.

## Related tools

- [Crop GIF](https://filetity.com/crop-gif): Cut a rectangle out of an animated GIF, every frame together.
- [Compress GIF](https://filetity.com/compress-gif): Compress animated GIF files and still ones, without breaking the animation.
- [Resize GIF](https://filetity.com/resize-gif): Scale an animated GIF down, animation intact.
