Reverse GIF
Play any animated GIF backwards. The last frame becomes the first, and each frame keeps its own timing.
https://flxcode.com/reverse-gif/
or drop one here
One animated GIF, up to 100 MB.
Your GIF
More changes
New GIF
No ads. No account. Nothing you type or record is uploaded. We count page events with a daily code. Check it.
Problem or idea? Email us
Quick start
- Choose your GIF.
- Leave Play backwards ticked. Under Speed you can also make it faster or slower.
- Press Reverse GIF and watch the preview.
- Download the reversed GIF.
What reversing does
A reversed GIF shows the same frames in the opposite order. A ball that fell now rises, a door that opened now closes. The length is the same as before.
The delay belongs to the frame, not to the position. A frame that waited half a second still waits half a second, just at another place in the loop. That is what keeps a slow beat slow after reversing.
Frame order before and after
Five frames with delays of 100, 100, 200, 100 and 500 ms, reversed by the tool's own code. The total stays at 1000 ms.
| Position | 1 | 2 | 3 | 4 | 5 | Total |
|---|---|---|---|---|---|---|
| Original, frame | F1 | F2 | F3 | F4 | F5 | |
| Original, delay | 100 ms | 100 ms | 200 ms | 100 ms | 500 ms | 1000 ms |
| Reversed, frame | F5 | F4 | F3 | F2 | F1 | |
| Reversed, delay | 500 ms | 100 ms | 200 ms | 100 ms | 100 ms | 1000 ms |
How it works
The GIF is read frame by frame and put together the way a browser shows it, so frames that only update part of the picture become full pictures. Then the list is turned around and written again.
Reversing does not make a loop that goes forward and back. For that, you would need the frames twice, once in each order. Reversing only flips the order.
Numbers this uses
- Frames: all of them, with their own delays. Nothing is dropped.
- Speed under the same page: 0.25x to 4x, delays in 10 ms steps and never under 20 ms.
- Memory: frames x width x height x 4 bytes, up to 800 MB. Files up to 100 MB.
- Colors: 256 per frame. The repeat setting is kept.
Limits
- The result is a new file, so its size can differ from the original.
- There is no ping-pong mode yet.
- A GIF with sound does not exist, so there is no audio to turn around.
Privacy
Nothing you choose is uploaded or stored. The code that reads and writes GIFs comes from this site and runs in your browser. We count events without cookies, such as "GIF saved" (details).
FAQ
How do I reverse a GIF?
Choose the GIF and press Reverse GIF. The frames are turned around and you can download the new file. Nothing has to be set.
Does reversing change the speed?
No. Each frame keeps its delay, so the GIF lasts as long as before. You can also change the speed under the same Speed setting.
Can I make a GIF that goes forward and then backward?
Not in one step. This tool only flips the order. Reverse your GIF, then join the original and the reversed one in an editor.
Why does my reversed GIF look odd at the start?
Some GIFs were made for the forward order, with a blank first frame or a fade in. Backwards, that frame ends up last. It is the same picture, just at the other end.
Does it work with transparent GIFs?
Yes. Each frame is put together first, then reversed, so see-through areas stay as they were.
Will the file get bigger or smaller?
It can be either way, because the file is written again. If size matters, run the result through the GIF compressor.
Is there a limit on length?
The limit is memory: frames x width x height x 4 bytes up to 800 MB. The page says so before it starts if the GIF is over it.
Is my file uploaded?
No. The file is opened, changed and saved by your browser on this device. It is not sent, stored or put in the address bar. To check, load the page, turn on airplane mode and make a GIF.
More from FLXCode
GIF Speed ChangerNew
Speed up or slow down an animated GIF from 0.25x to 4x. Delays never go under 20 ms. Runs in your browser, no upload.
GIF CompressorNew
Make a GIF smaller with fewer colors, dropped frames and a smaller size. Shows before and after. In your browser.
GIF ResizerNew
Resize an animated GIF to a new width and height, keeping timing and repeat. Runs in your browser, no upload.
GIF MakerNew
Make an animated GIF from pictures. Reorder frames, set delays, repeat and size. Runs in your browser, no upload.