← All articles 9 min read

How to Reverse a GIF (5 Free Methods, Step-by-Step)

A reversed GIF turns ordinary motion into something unexpected. Water flows upward. A cat leaps back onto a shelf. A demolition becomes construction. Reversing GIF playback is one of the simplest edits you can make, and it produces some of the most shareable results.

The concept is straightforward: take the sequence of frames in an animated GIF and reorder them from last to first. The animation plays in reverse. No re-encoding, no quality loss, no complex editing.

Reverse a GIF Instantly in Your Browser

The fastest way to reverse a GIF is Pixotter's GIF reverser. It runs entirely in your browser using WebAssembly — your file never leaves your device.

  1. Open pixotter.com/gif-reverse.
  2. Drop your GIF onto the page.
  3. Choose Reverse (backwards playback) or Boomerang (forward then backward).
  4. Click Process and download the result.

No signup, no file size cap, no watermark. Batch processing is supported — drop multiple GIFs and reverse them all at once.

Reverse your GIF now — free, no upload required

Once you have your reversed GIF, you might want to adjust the playback speed, crop it, or compress it to trim the file size before sharing.


Methods Comparison

Method Type Batch Support Boomerang Platform Cost
Pixotter Browser Yes Yes Any (browser) Free
Gifsicle 1.95 CLI Yes (scripted) Manual Linux, macOS, Windows Free (GPL v2)
FFmpeg 7.0 CLI Yes (scripted) Manual Linux, macOS, Windows Free (LGPL v2.1 / GPL v2)
GIMP 2.10.36 Desktop No Manual Linux, macOS, Windows Free (GPL v3)
ezgif.com Browser No Yes Any (browser) Free (ads)

Method 1: Pixotter (Browser, No Upload)

Works on any device with a browser — phone, tablet, laptop. Processing is client-side, so even large GIFs finish quickly without a server round-trip.

  1. Go to pixotter.com/gif-reverse.
  2. Drop your GIF onto the drop zone.
  3. Select Reverse (backwards) or Boomerang (forward-then-backward).
  4. Click Process and download the result.

Pixotter preserves the original frame timing. Need to change the speed afterward? Open the result in the GIF speed changer.


Method 2: Gifsicle 1.95 (CLI)

Gifsicle is a dedicated GIF manipulation tool. It is fast, lightweight, and handles batch operations well. Licensed under GPL v2.

Install

# Debian / Ubuntu
sudo apt install gifsicle=1.95-1

# macOS (Homebrew)
brew install gifsicle@1.95

# Verify version
gifsicle --version

Reverse a Single GIF

gifsicle --unoptimize input.gif "#-1-0" --optimize=3 -o reversed.gif

Breaking that down:

Batch Reverse Every GIF in a Directory

for f in *.gif; do
  gifsicle --unoptimize "$f" "#-1-0" --optimize=3 -o "reversed-$f"
done

Create a Boomerang (Manual)

Gifsicle does not have a built-in boomerang flag, but you can concatenate the forward and reversed versions:

gifsicle --unoptimize input.gif input.gif "#-1-0" --optimize=3 -o boomerang.gif

This appends the reversed frames after the original frames in one output file.


Method 3: FFmpeg 7.0 (CLI)

FFmpeg handles virtually every media format. It is heavier than Gifsicle but useful if you already have it installed or need to convert between GIF and video formats in the same pipeline. The core library is LGPL v2.1; builds with certain codecs enabled fall under GPL v2.

Install

# Debian / Ubuntu
sudo apt install ffmpeg=7:7.0-*

# macOS (Homebrew)
brew install ffmpeg@7.0

# Verify version
ffmpeg -version

Reverse a GIF

ffmpeg -i input.gif -vf "reverse" -gifflags +transdiff reversed.gif

FFmpeg decodes the GIF into raw frames, reverses them, and re-encodes. This works but can increase file size compared to Gifsicle because FFmpeg re-encodes from scratch rather than reordering existing compressed frames. Run the output through a GIF compressor if size matters.

Reverse and Convert to MP4

If you want a reversed video instead of a reversed GIF, skip the GIF step:

ffmpeg -i input.gif -vf "reverse" -movflags +faststart -pix_fmt yuv420p reversed.mp4

This is useful when the reversed result is destined for a platform that prefers video. See our guide on converting GIF to MP4 for more on why MP4 is often the better container for animated content.


Method 4: GIMP 2.10.36 (Desktop)

GIMP is a full image editor, so reversing a GIF is more manual — but it gives you frame-level control if you need to remove or edit specific frames before reversing. Licensed under GPL v3.

  1. Open GIMP 2.10.36 and go to File > Open as Layers to load the GIF. Each frame becomes a layer.
  2. Open the Layers panel (Windows > Dockable Dialogs > Layers). Frames appear in order from bottom (first) to top (last).
  3. Select all layers (click the first, then Shift+click the last).
  4. Go to Layer > Stack > Reverse Layer Order.
  5. Export: File > Export As, choose GIF, and enable As animation in the export dialog. Set the frame delay and select Loop forever.

GIMP does not support batch processing for this operation. If you need to reverse multiple GIFs, use Gifsicle, FFmpeg, or Pixotter.


Method 5: ezgif.com (Browser, Server-Side)

ezgif is a popular online tool for GIF editing. It processes files server-side, which means your GIF is uploaded to their servers.

  1. Go to ezgif.com and select Effects > Reverse.
  2. Upload your GIF (max 50 MB).
  3. Click Submit, then click Reverse on the next page.
  4. Download the result.

The trade-offs compared to Pixotter: ezgif has a 50 MB file size limit, uploads your file to a remote server, shows ads, and does not support batch processing. It works fine for one-off edits when you do not mind the upload.


Creative Uses for Reversed GIFs

Comedy and Memes

Reversal turns mundane actions into absurdity. A person spitting out coffee becomes a person inhaling coffee. A glass shattering reassembles itself. Reversed GIFs are a staple of meme culture because the humor requires zero context — the visual alone carries the joke.

The Boomerang Effect

Boomerang (forward-then-backward) creates a seamless ping-pong loop. Instagram popularized this with their Boomerang feature, but you can create the same effect from any GIF. It works best with short, symmetrical motions: a wave, a jump, a head turn. Pixotter's GIF reverser has a one-click boomerang mode.

Visual Storytelling

Reversed footage tells a story in a way forward footage cannot. Time-lapse of a flower wilting, reversed, becomes growth. A building being demolished, reversed, becomes construction. Documentary and editorial teams use this technique to create emotional contrast.

Satisfying Loops

Some GIFs loop more satisfyingly in reverse — paint being poured, sand falling, ink dispersing in water. The "undoing" of a messy process feels oddly calming. Pair a reversed GIF with the GIF speed changer to slow it down for maximum effect.


Reverse vs. Boomerang: Know the Difference

These two terms get confused constantly. They produce different results and different file sizes.

Reverse takes a GIF and plays it backwards. A 20-frame GIF becomes a 20-frame GIF that plays in the opposite direction. Same frame count, same file size (roughly).

Boomerang takes a GIF, appends a reversed copy of itself, and loops. A 20-frame GIF becomes a 40-frame GIF — forward frames 1 through 20, then backward frames 20 through 1. The file size approximately doubles because the frame count doubles.

Use reverse when you want the backward version only. Use boomerang when you want the ping-pong loop. If file size is a concern with boomerang output, run the result through a GIF compressor to optimize the inter-frame encoding — frames that are near-duplicates (around the turnaround point) compress well.

For context on how GIF animation and frame encoding work under the hood, see What is GIF?.


FAQ

Does reversing a GIF reduce quality?

No. Reversing reorders frames without re-encoding them (when using tools like Gifsicle or Pixotter). The pixel data in each frame stays identical. FFmpeg and GIMP do re-encode frames, which can introduce minor differences, but at GIF's 256-color depth the change is imperceptible.

Can I reverse a GIF on my phone?

Yes. Pixotter's GIF reverser works in any mobile browser — Safari, Chrome, Firefox. Drop the file or tap to select it from your camera roll. Processing happens on-device.

How do I reverse only part of a GIF?

First, crop the GIF to isolate the frames you want. Then reverse that trimmed version. Gifsicle also supports frame ranges directly: gifsicle input.gif "#10-20" "#20-10" reverses only frames 10 through 20.

Will reversing increase the file size?

A straight reverse produces a file roughly the same size as the original. A boomerang doubles the frame count and approximately doubles the file size. Use GIF compression afterward to optimize.

Can I reverse a video instead of a GIF?

Yes. FFmpeg reverses any video format: ffmpeg -i input.mp4 -vf "reverse" -af "areverse" output.mp4. If you have a GIF and want a reversed MP4 instead, see our guide on GIF to MP4 conversion.

What is the maximum file size for reversing?

Pixotter has no file size limit — processing is client-side, constrained only by your device's memory. ezgif caps uploads at 50 MB. Gifsicle and FFmpeg have no inherent limits.


Start Reversing

Pick your GIF, reverse it, share the result. The fastest path is Pixotter's GIF reverser — open it, drop a file, and download the reversed version in seconds. No account, no upload, no cost.

Reverse a GIF now at pixotter.com/gif-reverse