Loop GIF

Make a GIF loop forever, play once or play a chosen number of times. Change playback locally without re-encoding frames.

How to change how many times a GIF loops

1. Choose a GIF up to 300 MB. It is read in your browser and is not uploaded.
2. Pick Loop forever, Play once, or Number of plays and enter a total from 2 to 65536.
3. Select Set loop count and download the GIF. The frames, colors and timing are copied unchanged; only the loop setting is rewritten.

How the GIF loop count works

An animated GIF can carry a small Netscape loop block that tells viewers how many times to repeat the animation. A value of 0 means repeat forever. A GIF without that block normally plays once and stops on its last frame.

The stored number counts repeats after the first play, not total plays. This tool asks for the total number of plays and writes one less: choosing 3 plays stores 2 repeats. Play once removes the loop block entirely. Any loop block already in the file is replaced, so running the tool again simply sets the new value.

Choice in this toolWhat is written to the fileWhat viewers usually do
Loop foreverLoop block with a repeat count of 0Repeat without stopping
Play onceNo loop blockPlay once and stop on the last frame
3 playsLoop block with a repeat count of 2Play once, then repeat twice
65536 playsLoop block with a repeat count of 65535The largest finite value a GIF can store

What people use it for

Infinite GIF

Make a GIF that stops after one play loop forever, for reactions, banners and ambient motion.

Extend a GIF

Set several plays so a short animation stays on screen longer without adding frames or making the file bigger.

Play once

Stop an intro, a reveal or a product demo on its final frame instead of repeating it.

Slides and documents

Limit a demo GIF to a few plays so it does not keep moving while you talk over it, where the viewer respects the loop setting.

When the loop setting is ignored

The loop count is a request, not a guarantee. Many social networks and chat apps convert uploaded GIFs into video and play them with their own rules. Some email clients and document viewers show only the first frame, and some apps pause animation when the device asks for reduced motion.

Open the downloaded GIF directly in a web browser to check the file. If it behaves as expected there, the file is right and the platform is changing it. The full explanation, including ffmpeg and gifsicle commands, is in how to make a GIF loop forever.

Loop count does not smooth the jump

Changing the loop count leaves every frame as it is, so a visible jump between the last frame and the first stays. To fix the jump, start from the video: make an AI seamless loop on the LoopVideo homepage, then turn it into a GIF with video to GIF or MOV to GIF. AI requires sign-in; the one-time free trial adds a visible watermark, and one paid credit gives a watermark-free result.

FAQ

Does this re-encode the GIF?

No. The image frames, colors and frame timing are copied byte for byte. Only the loop block is added, replaced or removed, and a GIF87a header is marked GIF89a when a loop block is written.

How do I make a GIF loop forever?

Choose Loop forever, select Set loop count and download the result. The file then asks viewers to repeat it without stopping.

How do I make a GIF play only once?

Choose Play once. The tool removes the loop block, so viewers that follow the GIF format play it once and stop on the last frame.

Why is the stored number one less than the plays I chose?

The GIF loop block counts repeats after the first play. Choosing 3 total plays stores 2 repeats.

Can I make a single play of the GIF longer?

No. This tool does not add frames or change frame timing. Setting more plays keeps the animation on screen longer by repeating it.

Why does my GIF still loop, or stop, where I post it?

Some platforms convert GIFs to video or apply their own playback rules, and some viewers show only the first frame. Open the file in a web browser to confirm the setting.

Is my GIF uploaded, and is the tool free?

Processing happens locally in your browser. The tool is free, needs no sign-in or credits, accepts files up to 300 MB and adds no watermark.