FLXCode Reverse GIF

FLXCode apps

Appearance

Reverse GIF

Play any animated GIF backwards. The last frame becomes the first, and each frame keeps its own timing.

or drop one here

One animated GIF, up to 100 MB.

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

  1. Choose your GIF.
  2. Leave Play backwards ticked. Under Speed you can also make it faster or slower.
  3. Press Reverse GIF and watch the preview.
  4. 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.

Position12345Total
Original, frameF1F2F3F4F5
Original, delay100 ms100 ms200 ms100 ms500 ms1000 ms
Reversed, frameF5F4F3F2F1
Reversed, delay500 ms100 ms200 ms100 ms100 ms1000 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

Share Reverse GIF