Skip to main content

reverse-gif

Reversing a GIF plays it backwards β€” last frame first, first frame last. Combined with the original (ping-pong mode), it produces a forward-then-backward loop that's especially smooth for cinemagraphs and certain reaction GIFs. The ZTools Reverse GIF tool decodes frames, reverses the order, and re-encodes. Optionally appends the original sequence after the reversed sequence to create a ping-pong loop.

Use cases​

Reverse a "before / after" reveal​

A GIF showing a transformation β€” reverse it to show the inverse process. Same content, different story.

Create a seamless ping-pong loop​

Forward + reverse plays in a loop with no visible jump. Essential for cinemagraphs.

Comedic timing β€” make a fall a recovery​

A reaction GIF of someone falling, reversed, becomes them standing up β€” gold for memes.

Match a forward/backward cut in a video edit​

Need reversed footage and only have a forward GIF? Reverse it.

How it works​

  1. Drop GIF β€” Decoded into frame array.
  2. Pick mode β€” Reverse only (last frame first), or ping-pong (forward then reversed appended).
  3. Optional: drop duplicate end frame β€” For ping-pong, dropping the last forward frame avoids a single-frame stutter at the loop point.
  4. Re-encode β€” Same frames, different order. Delays preserved per frame.

Examples​

Input: 10-frame GIF (1,2,3,...,10)

Output: Reverse: (10,9,8,...,1). Ping-pong: (1,2,...,10,9,8,...,1) = 19 frames if dropping duplicate, 20 if not.


Input: Cinemagraph of leaves blowing

Output: Ping-pong creates a hypnotic seamless loop β€” the wind reverses, then forward, repeat.

Frequently asked questions​

Does ping-pong double the file size?

Roughly yes β€” frames roughly double. Slight saving from inter-frame compression.

How do I avoid a "stutter" in ping-pong?

Drop the last frame of the forward sequence before appending the reverse β€” otherwise frame N appears twice in a row at the turnaround.

Does it work for cinemagraphs?

Yes β€” cinemagraphs are usually short loops; ping-pong reverse is perfect.

Will the timing be identical to the original?

Yes β€” per-frame delays are preserved. The reversed GIF takes exactly the same total time as the original.

Privacy?

All browser.

Tips​

  • For ping-pong loops, always drop the last frame of the forward to avoid the stutter at the turnaround point.
  • Reverse + speed change combine naturally β€” reverse first, then adjust speed in a separate step.
  • For motion that has a "start state", reversing produces a return-to-start narrative; for true loops, ping-pong is smoother.
  • Cinemagraphs benefit most from ping-pong β€” leaves swaying, water flowing, wind in hair.

Try it now​

The full reverse-gif runs in your browser at https://ztools.zaions.com/reverse-gif β€” no signup, no upload, no data leaves your device.

Open the tool β†—


Last updated: 2026-05-06 Β· Author: Ahsan Mahmood Β· Edit this page on GitHub