Skip to main content
docsmall
Credits left today

Contact us

For feature suggestions, usage questions, or credit and order issues, email us at the address below.

Send email

Free Online GIF Reverser

Reverse or ping-pong a GIF, keeping timing and looping

docsmall reverses GIFs entirely in your browser. Choose one GIF (up to 25 MB), then switch between Reverse and Ping-Pong: Reverse plays the frames from last to first, while Ping-Pong plays them forward and back without repeating the turn frames. Every frame keeps its own delay and the original loop count, the preview updates automatically, and the GIF is never uploaded.

Choose or drop a GIF to reverseOne GIF at a time. The tool restores every frame to a full picture before changing the frame order.GIF only · up to 25 MB · processed locally in your browser

Price
Free, no sign-up
Processing
In the browser, no upload
Input limit
GIF, up to 25 MB
Playback modes
Reverse and Ping-Pong

Reverse and Ping-Pong change the direction of an animation without changing what its frames show. Reverse plays the existing frames from last to first; Ping-Pong plays them forward and then back to create a seamless back-and-forth loop. Both modes keep each frame's delay and the original loop count, so the result is a rebuilt GIF rather than a screen recording.

  • Reverse: A B C D becomes D C B A. The frame count and each frame's delay stay the same.
  • Ping-Pong: A B C D becomes A B C D C B. Endpoint frames are skipped at the turn and the loop seam, so there is no repeated-frame pause.
  • Local processing: parsing, restoring full frames, reordering, and rebuilding all happen in your browser; GIFs are never uploaded.

How to reverse a GIF online

Choose one GIF, pick Reverse or Ping-Pong, check the preview, and download the rebuilt GIF. Everything runs locally in your browser.

  1. Choose one GIF

    Click the upload area, drop a GIF onto it, or focus the area and press Enter or Space. Only GIF files up to 25 MB are accepted, and only one file at a time. When loading succeeds, the upload area closes and the workspace opens in Reverse mode.

  2. Pick Reverse or Ping-Pong

    Use the playback-mode control at the top of the workspace. Reverse plays the last frame first; Ping-Pong plays forward and then back. Switching the mode immediately rebuilds the GIF from the original file, so there is no Start button.

  3. Preview and download

    The preview restarts from the first frame after each rebuild. The summary shows the mode, output frame count, one-cycle duration, and file size. Click Download GIF to save the result; the filename ends in _reverse.gif or _pingpong.gif.

A practical guide to reversing GIFs

How Reverse and Ping-Pong change frame order, why frames must be restored before reordering, what happens to timing, transparency, looping, and file size, and which files this tool does not handle.

What does reversing a GIF do?

Reversing a GIF changes the order in which its frames are displayed while keeping the frames, their delays, and the loop count. A GIF stores an animation as a sequence of image blocks; the tool reads that sequence, rebuilds it from the last frame to the first, and writes a new GIF.

It is not video reversal, screen recording, or speed changing. The animation is rebuilt at its original size and frame rate, with each frame keeping its own delay; when full frames can be restored directly, pixels are not re-encoded.

Ping-Pong goes one step further: it plays the return pass immediately after the forward pass in a single loop. That turns a one-way animation into a back-and-forth loop without editing the source in a video editor.

  • Reverse: one output frame per input frame, in the opposite order.
  • Ping-Pong: forward then back, with endpoint frames not repeated.
  • Frame delays and loop count are copied from the original file.

Reverse vs Ping-Pong: how the frame order changes

For a GIF with frames A B C D, Reverse produces D C B A. A file with n frames still has n frames, and its one-cycle duration is the sum of the same delays in reverse order, so each loop lasts about as long as the original.

Ping-Pong produces A B C D C B. The endpoint frames are not repeated where the direction turns, so the motion does not hold twice on the same picture. For n ≥ 2 frames, the output has 2n − 2 frames: 4 frames become 6, 10 become 18, and 100 become 198.

Because Ping-Pong reuses interior frames, each reused frame keeps its own delay. A loop therefore lasts the forward pass plus the return pass, minus the two endpoint delays. A single-frame GIF stays a single frame in either mode.

  • Reverse: n → n frames; the same total duration as the original loop.
  • Ping-Pong: n → 2n − 2 frames (n ≥ 2); roughly twice the original duration.
  • Both: frame delays are preserved; only the order and count change.

Are frame delays and loop count preserved?

Yes. Every frame keeps its original display time, including the interior frames reused by ping-pong. The loop count is preserved as is: a GIF that loops forever still loops forever, and one that plays once still plays once.

The summary's one-cycle duration adds the effective delays of the output frames. GIF delays of 0 or 1 hundredth of a second are commonly treated by browsers as 0.1 seconds, so the summary uses 0.1 seconds for those frames even though the stored value is not rewritten. This matches what viewers usually see.

The tool does not change playback speed, add frames, drop frames, or interpolate motion. If the original animation is choppy, reversing or ping-pong will not make it smoother; it only changes the direction and, for Ping-Pong, repeats the middle frames.

  • Frame delays are preserved, including the 0–1/100 second browser behavior in the duration summary.
  • The loop count is preserved; a file that played once still plays once.
  • No speed change, frame interpolation, or frame removal.

Why must GIF frames be restored before reordering?

Many GIFs store only the area that changes in each frame and rely on the previous frame to complete the picture. Playing those partial frames in reverse exposes wrong backgrounds or holes because the frames they depend on now come later. The first step is therefore to restore each frame to a complete picture.

After reordering, every full frame must stand on its own. The tool makes frames with transparent areas ignore the previous frame so reversal does not leave ghosting; frames that are already fully opaque stay as they are.

Some GIFs mix local colors with transparency and cannot be restored directly. The tool merges colors and retries: if the source has no more than 255 colors, merging does not change them; above 255 colors, colors may be merged and exact pixels are not guaranteed.

  • Full restore: every frame becomes a complete picture before reordering.
  • Transparent areas do not reveal the previous frame.
  • Color-merge fallback: up to 255 total colors stays unchanged; above that, similar colors may be merged.

What happens to looping, file size, and metadata?

The output keeps the original dimensions, frame delays, and loop count; frame order changes, and a back-and-forth playback adds frames. The final optimization only adjusts how frames are stored, without changing colors or delays, so output size may be smaller than the original or larger because of the new frame sequence.

The rebuilt file contains complete frames, the loop setting, and the GIF structure it needs. Comments and other nonessential information are not carried over. If the source has no loop setting, the output has none either and still plays once.

Reversing is not a compression tool. If the output is too large, compress it afterward with Compress GIF, or before that crop the frame with Crop GIF or shrink it with Resize GIF. The download name adds _reverse.gif or _pingpong.gif to the original name, so results from the two modes do not overwrite each other.

  • Preserved: dimensions, frame delays, loop count, transparency, and image data.
  • Not preserved: comments and nonessential extension blocks.
  • Size can change after optimization; use the GIF compressor when you need a smaller file.

When is GIF reversal useful?

Use reversal when the information is already in the animation and you need the motion to run the other way, or when a back-and-forth loop communicates the action better than a one-way loop.

  • Product demos: show a transition in reverse to explain how an interface returns to its previous state.
  • Tutorials: reverse a short recording so viewers see the end state first, then the steps that produced it.
  • Loops and stickers: turn a one-way gesture into a boomerang-style ping-pong loop.
  • Motion review: play an action backward to check timing, spacing, or a suspicious jump between frames.
  • Presentation assets: create a back-and-forth preview without opening a video editor.
  • Fun and social: reverse a reaction GIF or make a bouncing loop for chat.

Is the GIF uploaded to a server?

No. The browser reads the file and, on the page, parses the GIF, restores full frames, reorders them, and creates a new GIF. Neither the original nor the result is sent to a docsmall server, and no copy is stored there.

The result exists only in the current page's memory. Refreshing, closing the tab, or switching devices loses it, so download it first. Previewing and downloading do not create a server task and do not use upload bandwidth.

Local processing still depends on your device. Browser extensions, screen-recording tools, and shared computers may access page content, so use a trusted device for private material.

Limitations, compatibility, and things to know

Only one GIF can be processed at a time, up to 25 MB, and only GIF files are accepted. Animated WebP, APNG, MP4, and still images are out of scope: still images have no animation frames to reorder, and animated WebP and APNG use different frame structures.

The tool cannot reverse part of a GIF, change its speed, rotate or flip the frames, edit individual frames, crop it, resize it, or compress it. Those are separate operations: use Trim GIF to keep just one section, GIF Speed to change the pace, and Rotate & Flip GIF to turn or mirror the frames. You can also edit the source in a GIF editor. A single-frame GIF is accepted but has only one frame, so the output looks the same.

Very large GIFs may be slow on low-memory devices. If processing fails, retry, close other tabs, or use a desktop browser. A damaged or truncated GIF, or one whose frames cannot be restored, returns an error instead of a partial file.

The page keeps no history. Refreshing or closing it loses the result. The tool does not claim that every GIF is lossless: files above 255 total colors may have colors changed during the color-merge fallback, and comments or metadata are dropped.

Reverse vs Ping-Pong

Both modes preserve frame delays and the loop count. They differ in frame order, output length, and what the loop looks like.

Reverse

Frame order
A B C D → D C B A
Output length
n frames → n frames; the loop keeps the original duration.
Best for
Explaining a process backward, checking motion, and rewind-style loops.

Ping-Pong

Frame order
A B C D → A B C D C B
Output length
n frames → 2n − 2 frames (n ≥ 2); about twice the duration.
Best for
Boomerang loops, breathing or bouncing effects, and back-and-forth demos.

6 tips for better GIF reversal

Choose the mode by how the loop should end, check the preview carefully, and keep the original file.

Start from the original file

Reverse or ping-pong the original GIF, not an already rebuilt result. Repeated rebuilds can drop metadata and, for files with many colors, trigger color merging again.

Pick the mode by how the loop should end

Reverse is best when the last frame should flow into the first without a return pass. Ping-Pong is best when the motion should continue back and forth; check the turn and the loop seam in the preview.

Check transparency at full size

Each frame is made independent, but a transparent GIF can still look different if the source relied on the previous frame's transparent pixels. Inspect the preview before downloading, especially around edges and shadows.

Expect Ping-Pong to grow the frame count

A 20-frame GIF becomes 38 frames in Ping-Pong, and a 100-frame GIF becomes 198. For long animations, Reverse avoids the extra frames; for short loops, the extra frames are usually not a problem.

Use the right tool for size and speed

Reversal changes order, not size or speed. If the result is too large, use Compress GIF; if it plays too slowly or too fast, use GIF Speed after reversing.

Download before refreshing

The result stays in page memory only. Download the version you want before clearing the file, refreshing, closing the tab, or switching devices.

GIF reversal: frequently asked questions

Is this GIF reverser free?
Yes. There is no account and no per-file charge. The limits are one GIF at a time, a 25 MB maximum, and GIF input only.
Is my GIF uploaded to a server?
No. The GIF is read in your browser and restored, reordered, and rebuilt on the page. Neither the original nor the result is sent to docsmall; results stay in page memory until you download them.
What is the difference between Reverse and Ping-Pong?
Reverse plays the frames from last to first: A B C D becomes D C B A. Ping-Pong plays forward and then back: A B C D becomes A B C D C B, so the loop alternates direction. Ping-Pong has more frames and a longer loop.
Which formats and file sizes are supported?
GIF only, up to 25 MB, one file at a time. Animated WebP, APNG, MP4, and still images are not accepted; still images have no frames to reorder, and animated WebP and APNG use different structures.
Are frame delays and loop count preserved?
Yes. Every frame keeps its display time, and the loop count is preserved. Ping-pong reuses interior frames with their original timing. A file that played once still plays once.
Why does Ping-Pong have more frames than the original?
Ping-Pong adds the return pass. For n ≥ 2 frames the output has 2n − 2 frames, because the two endpoint frames are not repeated at the turn. A 4-frame GIF becomes 6 frames; a 1-frame GIF stays 1 frame.
Does reversing reduce image quality or file size?
When full frames can be restored directly, image data is not re-encoded, so pixels and colors usually stay the same; size changes because of structural optimization. If the source has more than 255 colors and needs color merging, colors may change. If the output is still large, use the GIF Compressor.
Why can some GIFs not be restored to full frames?
Some GIFs mix local colors and transparency, so full frames cannot be restored directly. The tool merges colors down to 255 and retries; this usually works, but files with more than 255 colors may have colors merged. If it still fails, try a GIF exported with a complete color table.
Does it work with transparent GIFs?
Yes. Frames with transparent areas are made to ignore the previous frame so reversal does not leave ghosting. Check the preview: transparent edges and shadows are where reliance on partial frames shows up most.
Can I reverse only part of a GIF, or change its speed?
No. The whole file is reversed or played ping-pong, and the frame delays are kept as they are. To trim a section before reversing, use Trim GIF; to change the speed only, use GIF Speed. To edit frame by frame, export the frames as PNG with Split GIF first. This page only changes frame order.
Why is a large GIF slow to process, and which browsers are supported?
Each toggle restores and rebuilds every frame in your browser; larger files use more memory and time, especially on phones. Use the latest Chrome, Edge, Firefox, or Safari; if it fails, close other tabs or switch to a desktop browser.
How is the download named, and how long is the result kept?
The file name adds _reverse.gif or _pingpong.gif to the original name, for example demo_reverse.gif. The result stays only in page memory and is lost on refresh, tab close, or device change, so download it before leaving.