How it works
- Load your GIF. Drop it in, pick it, paste it, or keep the built-in sample. Its frames, dimensions, delays and loop setting are read and shown before anything changes.
- Pick the orientation. Choose a turn, a flip, or one of each. A frame has exactly eight orientations: the four quarter turns, each with or without a mirror. The two groups above cover all eight, the flip is applied first and then the turn, and the preview replays the GIF in the chosen orientation as you click.
- Check the result line. It states the output dimensions before you download, and says plainly when a quarter turn swaps them: a 320 × 240 GIF turned 90 degrees comes out at 240 × 320.
- Download. The tool encodes a new GIF with the original delays and loop, then re-reads the file and checks its dimensions, frame count, every delay and the loop before the download appears.
The honest notes
- Quarter turns and mirrors are exact pixel moves. A 90 degree turn picks every pixel up and sets it down in its new grid position; a mirror does the same across the middle. No pixel is resampled, blended or invented, so edges stay exactly as sharp as they were. The only colour step in the whole job is the re-encode afterwards, which uses one palette of at most 256 colours, the GIF limit, built from the turned frames: a GIF that already fits in 256 colours passes through it unchanged.
- Free angles are not offered, on purpose. Turning by an angle that is not a multiple of 90 degrees cannot move whole pixels. Every pixel would have to be resampled, which softens the picture, and the turned rectangle's corners would fall outside the frame, forcing a choice between cropping the corners away and padding the gaps with a fill colour. Rather than hide that damage behind a slider, this tool does the eight orientations that are exact, and says so.
- A quarter turn swaps the dimensions. 90 and 270 degree turns swap the width and height; 180 degree turns and both flips keep them. The readout states the output size for the orientation you picked, so the swap is never a surprise in the downloaded file.
- A flip makes text read backwards. Mirroring is a reflection: words, numbers and logos in the GIF come out reversed, the way they look in a bathroom mirror. If the problem is a sideways recording, the fix is a turn, which keeps text readable; a flip is for when you actually want the mirror image, or need the action to run the other way.
- The file size usually changes. GIF compression runs along rows of pixels, so rearranged pixels compress differently, and the tool rebuilds every frame as a full picture where the original may have stored small changed patches. The turned file can come out larger or smaller; the status line after each build states both sizes exactly.
- The turn is baked in. It becomes part of the GIF's frames, which is the point, and it also means the original orientation is not stored anywhere in the new file. Keep your original GIF if you might want it back the other way; turning the result by the opposite amount does restore the picture exactly, pixel for pixel.
Limits, stated up front
- Your GIF: up to 50 MB, 600 frames and 48 million decoded pixels in total (a 1920 × 1080 GIF can therefore hold about 23 frames).
- One GIF at a time, and the orientation applies to the whole animation. There are no free angles, for the reasons above, and no batch mode.
- Playing a GIF backwards is a different job: that is the Reverse GIF tool, which flips the frame order in time rather than the pixels in space.
A worked example, measured
The built-in sample is a 320 × 240 GIF with 12 frames playing 1.20 s per loop (16.7 KB), drawn lopsided on purpose: a sun in the top left corner, the word UP and an arrow at the top, a green ground strip along the bottom and a frame number in the top right. Turned 90 degrees clockwise, the tool's opening setting, the download came out at 27.2 KB using 68 colours, at 240 × 320 px: the ground runs down the left-hand side, the sun sits at the top right, and every delay and the loop came through unchanged. Mirrored horizontally instead, with no turn, it came out at 23.2 KB using 68 colours at the same 320 × 240 px, with the sun in the top right and the word UP reading backwards. Both outputs are bigger than the file they started from, because the sample is stored as compact changed patches while the tool rebuilds every frame in full; the FAQ below explains why that happens. Both numbers are the sizes of the actual files those runs produced, and both files were re-read and checked by the tool before the downloads appeared.
Questions people ask about rotating and flipping a GIF
What is the difference between rotating and flipping?
Rotating turns the whole picture around its centre, in quarter turns. The picture ends up sideways or upside down, but everything in it still reads correctly: turn your head and the text is fine. Flipping mirrors the picture instead, the way a mirror or a reflection in water does. A horizontal flip swaps left and right, a vertical flip swaps top and bottom, and in both cases text, numbers and logos come out reading backwards. So if a GIF was recorded sideways, rotate it; flipping cannot fix a sideways GIF, it can only mirror it.
Can I rotate a GIF by an arbitrary angle?
Not here, and the reason is the shape of the job, not a missing button. A turn by any angle that is not a multiple of 90 degrees cannot move whole pixels: every pixel would have to be resampled, which softens edges, and the turned rectangle's corners would fall outside the frame, so the tool would have to choose between cropping the corners off and padding the gaps with a fill colour. This page only does the turns and mirrors that move every pixel exactly, so what comes out is your picture, rearranged and nothing else.
Are frames, delays and the loop count preserved?
Yes. Every frame is turned, each frame keeps its original delay, and the loop setting is copied over exactly, whether the GIF loops forever, a set number of times, or plays once. Before the download appears, the tool re-reads the finished file and checks its dimensions, frame count, every delay and the loop against the original. The one thing that can change is the canvas size: a 90 or 270 degree turn swaps the width and height, which the readout states before you download.
How do I flip a GIF vertically or mirror it?
Use the Flip group above. Mirror horizontally swaps the left and right sides, the classic mirror image. Flip vertically swaps the top and bottom, so the picture stands on its head without turning sideways. A vertical flip gives the same result as turning 180 degrees and then mirroring horizontally; here it is one click instead of two settings. Flips compose with the turn as well: pick a flip and a turn and both are applied, the flip first.
Why is the rotated GIF a different file size?
Two reasons. First, GIF compression works along each row of pixels, so the same pixels in a different arrangement compress to a different size; a sideways picture simply has different rows. Second, this tool rebuilds every frame as a full picture, while many GIFs are stored as small changed patches on top of the frame before, so a rebuilt file can come out larger than the original even though it holds exactly the same pixels. The status line after each build states the exact before and after sizes, and if the result is too big, the GIF Compressor is the follow-up step.
Is my GIF uploaded to a server?
No. Your GIF is decoded, turned and re-encoded by JavaScript running in your own browser tab, and the download is generated on your device. Nothing is sent to a server, which you can confirm by loading this page and then switching off your network: the tool keeps working.
Related tools
Turning a GIF is usually one step in a longer job. These MotionGIF tools cover the steps that tend to come before or after it:
Crop GIF
Cut away the edges of the turned GIF and keep only the part you want, down to the exact pixels you pick.
Open the tool →Resize GIF
Set the turned GIF to exact dimensions, with the aspect ratio kept intact, once it points the way you want.
Open the tool →GIF Frame Viewer
Step through the turned GIF frame by frame and check the orientation and timing of every frame.
Open the tool →Reverse GIF
Play the GIF backwards instead: the other kind of flip, of the frame order in time rather than the pixels in space.
Open the tool →