Part of Open Toolkit
More free tools

Trim a GIF

Free, no sign-up, no credit card. Your files stay on your device.

How to trim an animated GIF

  1. Choose your GIF, or drop it on the page. A strip of its frames appears.
  2. Drag the start and end sliders, or type the frame numbers or seconds.
  3. Choose Keep the part between, or Cut out the part between.
  4. Select Trim and download the new GIF.

What to know

Frames, seconds, and the strip

  • Frame 1 is the first frame. The start and end frames you choose are both kept.
  • In seconds, the start is the time the first kept frame begins, and the end is the time the last kept frame ends.
  • Faded frames in the strip are the ones that will not be in the new GIF.

What the new GIF keeps

  • The picture size, each kept frame's delay, and the loop setting stay as they were.
  • Clear areas stay clear.
  • A GIF cut down to one frame is a still picture, and a note says so.

If something goes wrong

"That leaves no frames"

Cutting out a stretch that covers every frame leaves nothing. Move the start or end so some frames stay outside it, or choose Keep the part between.

The trimmed GIF is still too big to upload

Fewer frames help, but scaling every frame down shrinks the file far more. Use Resize GIF.

The GIF plays too fast or too slow after trimming

Trimming does not change timing. Change speed rewrites the delays. Use GIF speed.

Questions

Can I cut by seconds instead of frames?

Yes. Under the sliders, choose Seconds and type a start and an end. The tool finds the frames showing at those times, using each frame's own delay, so it works for GIFs whose frames are not all the same length.

Can I take a piece out of the middle?

Yes. Choose Cut out the part between. The frames before and after the stretch you picked are joined, in order.

Why does the strip show only some frames of a long GIF?

A strip with hundreds of pictures would be slow and hard to read, so a long GIF shows about 48 frames spread evenly. The sliders and fields still work on every frame.

Does trimming lose quality?

Almost none. Each frame is read as it appears in the animation and written again with its own colours, so a GIF that already has 256 colours or fewer per frame keeps them. Frame timing and the loop setting are copied unchanged.

Are my GIFs uploaded?

No. Your files are processed on your device. We never upload them.

Something not working? Report a problem