GIF Tools

GIF Trimmer — Cut, Speed Up or Reverse a GIF

Trim an animated GIF right in your browser — nothing is uploaded. Most GIFs are a second or two too long, too slow or would loop better reversed.

By Aditya Kr Sharma Files stay on your device

  • Free
  • Instant
  • No sign-up

GIF Trimmer converter

Convert

Or import from
Supports: GIF

Frame numbers start at 1. Empty = the first frame.

Empty = the last frame.

Overrides the speed. From 20 ms.

Nothing is uploaded. This tool runs entirely in your browser, so the file never leaves your device. There is no server to send it to, no copy kept anywhere, and it keeps working if you lose your connection after the page has loaded.

Accepts .gif You get: An animated .gif Free, no sign-up

How to convert

  1. Add your files Drag them in, choose files, or use the camera.
  2. Check the settings The defaults suit most files.
  3. Download Save one file, or all of them as a ZIP.

How to trim an animated GIF

  1. Drop your GIF file on the box above, or click it to choose the file — or press Load a sample to try it first.
  2. Check the settings below the box; the defaults suit most files.
  3. Press Convert. Long jobs show a progress bar and can be cancelled; you then see what was made and its real size.
  4. Download the .gif file.

What is kept when you trim an animated GIF

  • Keep the frames you choose (first and last frame, shown with their times), then optionally change the speed, reverse the order, set one delay for every frame, or change how often it loops.
  • Each frame is taken exactly as the browser shows it, so cutting into the middle of an optimised GIF never leaves broken frames.
  • Delays are kept to GIF’s hundredths of a second and never below 20 ms — browsers slow faster frames down to 100 ms.

Example

Cutting the sample to frames 5–12 and doubling the speed:

Input

sample.gif — 16 frames, 160 × 120 px, 1.28 s, loops forever (11.0 KB)
Frames 5–12, twice as fast

Output

8 frames, 160 × 120 px, 0.32 s, loops forever (5.9 KB)

About GIF files

A GIF holds one or more frames, each with up to 256 colours, a display time in hundredths of a second, and a rule for what happens to it when the next frame appears. It plays everywhere, which is why it survives. It opens in every browser, chat app and image viewer.

Good to know

  • Browsers play frame delays of 0 or 10 ms as 100 ms, so 20 ms (50 frames per second) is the fastest a GIF really plays.

Privacy and limits

The file is read and converted by this page in your browser; there is no upload and no account. Frame count, size and memory are checked from the file’s structure before any frame is decoded, so a hostile GIF cannot exhaust the tab. A GIF may have up to 500 frames and 2,048 pixels on each side. Files up to 50 MB are accepted; a file of the wrong type or a damaged file is rejected with the reason.

Frequently asked questions

Can I make a GIF loop only once?

Yes — choose “Play once” under Looping. Some apps (for example messaging apps) loop every GIF regardless of this setting.

How do I find the frame numbers?

After you load the GIF, the info panel shows the number of frames and the total length; the fields start at the first and last frame.

Is my file uploaded to a server?

No. The conversion runs in your browser on your own device, and this page has no upload endpoint.

Is there a size limit?

One file of up to 50 MB at a time. A GIF may have up to 500 frames and 2,048 pixels on each side. Larger files can exhaust a browser tab’s memory, so the tool refuses them with a message instead of failing halfway.

More in GIF Tools All tools