How to reverse a GIF
- Load a GIF. Drop it on the box above, paste it, or pick a file. Or try the two modes on the built-in sample first. Its frames are numbered, so the reversal is easy to see, and its delays are deliberately uneven.
- Pick a mode. Reverse plays the animation backwards. Boomerang plays it forward and then backward as one continuous loop.
- Check the readout, and the delay list, if you want proof. The readout states the result's frame count, duration and loop behaviour before you download. Open the delay list to see every source frame mapped to its position in the result, with its delay unchanged.
- Download. The file is built in your browser from the same frames and delays the preview just played.
Reverse or boomerang: which do you want?
Take a four-frame animation: call the frames A, B, C and D. The two modes arrange them like this:
Original: A → B → C → D, then it jumps back to A
Reverse: D → C → B → A, then it jumps back to D
Boomerang: A → B → C → D → C → B, then back to A, with no jump
Reverse is the rewind effect: water pours back into the glass, the diver rises out of the pool, the smashed thing reassembles. The loop point is a jump, exactly as it was in the original. The last frame cuts straight back to the first.
Boomerang is for motion that should swing forever: a nod, a wave, a bouncing logo, a pouring stream. Because the sequence turns around instead of jumping, the loop is seamless, and because the turn frames are not repeated, there is no double-length pause at either end. A boomerang of N frames has exactly 2N-2 frames: the four frames above become six, not eight.
Why each frame keeps its own delay
A GIF has no single frame rate. Every frame carries its own delay (how long that frame stays on screen), and real GIFs use that freely: a quick motion in the middle, a long hold at the end. When you flip the order, the delay has to travel with its frame. Leaving the delays in their old positions would pair every picture with the wrong pause, and the reversed GIF would move with a rhythm the original never had.
With real numbers: say the four frames above are shown for 100, 50, 200 and 100 ms, which makes 450 ms (0.45 s) per loop. Reversed, they play as D, C, B, A with delays 100, 200, 50, 100 ms: the 200 ms hold that belonged to frame C is still on frame C, just earlier in the sequence, and the loop still lasts 0.45 s. As a boomerang they play A, B, C, D, C, B with delays 100, 50, 200, 100, 200, 50 ms, which makes 700 ms per loop, which is twice 450 ms minus the two end frames' delays (the ends are visited once, not twice). The delay list above the download button shows this mapping for your actual GIF, frame by frame. You do not have to take this paragraph's word for it.
One honest consequence: if the original ends with a long hold, an end card held for two seconds, say, the reversed GIF opens with that hold, sitting on its first frame before anything moves. That is the delay travelling correctly, not a bug. If you don't want it, trim the original's last frame before reversing. The readout warns you whenever the original's last frame is held for half a second or more.
A worked example, with the real numbers
The built-in sample above is a real GIF, and it is the one this page opens with: 320 × 180, 12 frames, about 14.6 KB, looping forever. Its delays are uneven on purpose. Read from frame 1 to frame 12, they are 100, 50, 50, 100, 200, 100, 50, 50, 100, 100, 200 and 100 ms, which adds up to 1.20 seconds per loop.
Reverse it and the frames run 12 down to 1, and the delays come out in exactly the reverse order: 100, 200, 100, 100, 50, 50, 100, 200, 100, 50, 50 and 100 ms. No delay is rounded, averaged or re-timed. The 200 ms hold that belonged to frame 5 lands at position 8, the 200 ms hold from frame 11 lands at position 2, and the loop still lasts 1.20 seconds.
The boomerang this tool made from the same sample was downloaded and read back as a check: 320 × 180, 22 frames, 29,523 bytes, 2.20 seconds per loop. Its last ten delays are 200, 100, 100, 50, 50, 100, 200, 100, 50 and 50 ms. Those are the interior frames' own delays, in reverse order, which is the whole claim of this page, measured in a real file instead of just stated.
What happens to the loop and the end frames
The loop setting is copied unchanged: loops forever stays loops forever, a count of 3 stays 3, and a play-once GIF still plays once. What changes is only which end you start from. In Reverse, the original's final frame becomes the first thing the viewer sees, and the original's first frame becomes the closing image. That is worth a thought if your GIF opens with a title card, because in reverse that card becomes the sign-off. In Boomerang both ends keep their places; the animation just turns around at each of them.
Why the frames are rebuilt before they are reversed
A GIF file rarely stores whole pictures. To save space it stores partial patches, the small rectangle that changed, plus a disposal instruction saying what to do with the previous patch, and players composite those patches into full frames as the animation plays. Reversing the raw patches in file order produces smeared, ghosted output, because a patch only makes sense on top of everything before it, worst of all on transparent stickers, where half the picture is "whatever shows through". This tool decodes and composites every frame exactly the way a player displays it, then reverses the finished pictures. That is why a reversed sticker still has clean edges.
Frequently asked questions
Does reversing change how long my GIF plays?
No. Reverse keeps every frame and every frame's delay, so the total duration is identical: a 0.45-second GIF reverses to a 0.45-second GIF. Boomerang is longer by design: it plays forward and then backward, so N frames become 2N-2 frames and the loop lasts about twice as long, minus the two end frames' delays.
What is the difference between Reverse and Boomerang?
Reverse plays the animation backwards: the last frame becomes the first. Boomerang plays it forward and then backward in a single loop, without repeating the first and last frames at the turns, so the motion swings back and forth with no jump and no pause at the ends. Pick Reverse for a rewind effect; pick Boomerang for a seamless, endlessly swinging loop.
Why does my reversed GIF sit still before it starts moving?
Because the original's last frame was held for a long time, and each frame's delay travels with it when the order flips. If the original ended with a 2-second hold on its final frame, the reversed GIF opens with that same 2-second hold. The delay list on this page shows you the number before you download; if you don't want the pause up front, trim the original's last frame first.
My GIF is a transparent sticker. Will reversing break it?
No. Many GIFs store partial patches instead of whole frames, plus disposal instructions for combining them. This tool first composites every frame into the full picture a player shows, and reverses those finished pictures, so transparent stickers and patch-based GIFs reverse cleanly instead of smearing.
Does the reversed GIF keep its loop setting?
Yes. The loop count is copied unchanged: a GIF that loops forever still loops forever, one set to loop 3 times still loops 3 times, and a play-once GIF still plays once, just backwards.
Can I reverse a GIF that has only one frame?
No. A single frame is a still picture, and a still picture has no backwards. The tool tells you and disables the download instead of handing you an identical copy labelled as reversed.
Related tools
The jobs that usually sit next to reversing a GIF:
GIF Speed Changer
Speed up or slow down an animated GIF by changing its frame timing.
Open the tool →GIF Splitter
Split an animated GIF into separate clips or individual frames.
Open the tool →GIF Compressor
Reduce a GIF's file size and see the real byte savings before you download.