On-device AI — professional-grade, fully private.

Images

How to Rotate a GIF Online (90 Degrees, Flip, and Sideways Phone GIFs)

Rotate a GIF 90 or 180 degrees, flip it, or tilt it a few degrees, and keep every frame, its timing and the loop count. Fixes sideways phone GIFs.

Updated November 8, 20268 min read

To rotate a GIF online, open the GIF rotator, add the file, press Rotate left or Rotate right until the preview is upright (or pick 90°, 180° or 270° directly), add a flip if the picture is also mirrored, then press Rotate and download. Every frame is turned, not just the first one, so the result still animates, plays at the same speed and loops the same number of times. A quarter turn or a flip changes no pixel values at all, so there is no quality cost. The only case that costs something is a small tilt by an angle that is not a multiple of 90, and this guide explains what happens then, why phone GIFs arrive sideways in the first place, and what to check when the result looks wrong.

How to rotate a GIF online

1

Add the GIF

Drag the file onto the Rotate GIF page or browse for it. GIF, animated WebP and APNG are accepted. The free plan takes one file up to 50 MB with up to 300 frames.

2

Turn it upright

Press Rotate left or Rotate right for a quarter turn, or choose 0°, 90°, 180° or 270° under Quarter turn. The preview turns with you, and nothing is written until you press Rotate, so trying both directions costs nothing.

3

Flip it if it is mirrored

Under Mirror, choose Flip horizontally for a selfie-camera reflection or Flip vertically for a top-to-bottom mirror. The flip is applied before the turn and is also lossless.

4

Tilt it, only if you need to

The Fine angle slider adds up to 45 degrees either way on top of the quarter turn. If you use it, choose a Corner fill (See-through, White or Black) and a Canvas setting (Grow to fit or Keep original size).

5

Rotate and download

Press Rotate, check the result line for the new size and the frame count, then press Download GIF.

Rotate a GIF 90 degrees, 180 degrees, or flip it?

Almost every real rotation is a correction, and each problem has one setting that fixes it. Pick by what you see in the preview, not by guessing the direction in advance.

What you seeSettingQuality cost
Lying on its side, top of the picture on the leftRotate right (90°)None
Lying on its side, top of the picture on the rightRotate left (270°)None
Upside down180°None
Text runs backwards (front camera)Flip horizontally, no turnNone
Sideways and backwardsFlip horizontally plus a quarter turn, in one runNone
A degree or two off levelFine angle of 1 to 4 degreesSmall resampling, new corners

180° and a double flip (horizontal plus vertical) produce the same picture, so either works for an upside-down GIF. A single flip is different: it reverses the picture, and no rotation can undo it. If letters read backwards after you turn the GIF upright, you need a flip, not more turning.

Why GIFs from a phone come out sideways

A phone sensor records every frame in the same physical shape. When you hold the phone upright, the camera usually does not turn the pixels; it writes a small orientation note into the video file, and players read that note to show the clip the right way up. A GIF has no such note that viewers honour. When an app or converter turns the clip into a GIF and ignores the note, the frames come out in the sensor's shape: sideways. Screen recordings from a rotated monitor and clips recorded with the phone lying flat end up the same way.

The only fix that travels with the file is to turn the pixels themselves, which is what a quarter turn does. Chat apps, documents and slides will then show it upright everywhere, because there is nothing left for them to interpret. If you still have the source video and plan to make several GIFs from it, it can be quicker to fix the clip once with Rotate Video and convert afterwards. For still photos that show sideways, the cause and the fix are covered in how to rotate an image; this guide is about animations.

Tilting by an odd angle: corners and canvas size

A tilt of a few degrees straightens a hand-held capture or a photographed screen. It works differently from a quarter turn: the picture no longer lines up with the pixel grid, so each output pixel is blended from its neighbours, and the turned rectangle no longer fills an upright frame. Two settings decide what happens with the leftover space.

  • Canvas: Grow to fit enlarges the frame so nothing is cut. A 200 by 100 GIF turned 30 degrees needs a 223 by 187 canvas, more than twice the pixels.
  • Canvas: Keep original size holds the original width and height and centres the turned picture in it, so the overhang is cut off. Use it when the GIF has to go back into a fixed slot, such as an emoji or a table cell.
  • Corner fill: See-through leaves the new corners transparent, which is the default and the right choice for a GIF with a transparent background. White or Black give an opaque file and usually a smaller one.
  • Resample: Pixel keeps hard edges for pixel art and sprites; Smooth suits photographic clips.

GIF transparency is on or off per pixel, with no partial transparency, so the diagonal edge of a tilted picture on a see-through background is stair-stepped. On a busy page a solid corner colour often looks cleaner. For screen recordings, stay with quarter turns if you can: interface edges are the sharpest thing in a capture and any tilt softens them.

What stays the same after rotating

Rotating should change the direction of the picture and nothing else. Four things in particular come out as they went in:

  • Every frame. The animation is decoded to its full list of frames and each one is turned by the same transform, so the frame count before and after matches.
  • Each frame's delay. GIF delays are stored per frame and are often irregular. They are kept individually, so the total playing time is unchanged.
  • The loop count. A GIF set to play three times still plays three times; one set to loop forever still loops forever.
  • Transparency. Transparent areas stay transparent. With a see-through corner fill, the new corners join them.

Output is always a standard GIF, even when you open an animated WebP or APNG. Frames that the original file stored as small patches at an offset are drawn onto the full canvas before turning, which is what prevents the flicker and ghosting some tools produce on optimised GIFs.

Dimensions and file size after the turn

A quarter turn swaps width and height: a 1080 by 1920 portrait animation becomes 1920 by 1080. The number of pixels is the same, so the file size usually stays close to the original. Plan for the new shape before you send it, because a landscape GIF that was portrait may now be too wide for a chat column or a README. If it is, run it through the GIF resizer afterwards, or trim the edges with the GIF cropper.

A tilt with Grow to fit makes the canvas larger, and a see-through corner fill competes with the frame-to-frame optimisation that keeps GIFs small, so the file can grow noticeably. Keep original size and a solid corner colour both help. If the result is still too heavy for its destination, the GIF compressor is the next step. On the free plan the output is capped at 2048 pixels on the long edge; a 2000-pixel GIF tilted with Grow to fit can pass that, and the tool then shows a message naming the limit instead of a broken file.

When the rotated GIF looks wrong

  • It no longer moves. A tool built for photos kept only the first frame. Here the frame count is on the result line, so you can confirm it before downloading.
  • White triangles in the corners. You used a fine angle with a white fill, or another tool filled the corners for you. Choose See-through, or go back to a quarter turn, which has no new corners at all.
  • It plays at a different speed. The delays were replaced with one average value somewhere along the way. Compare the playing time before and after; rotating here keeps every delay.
  • The file was refused. A video goes to Video to GIF first, and a still photo to the GIF Maker. On the free plan, a file over 50 MB or with more than 300 frames is refused with a message saying which limit it hit.
  • It is turned the wrong way. If a quarter turn left it upside down, it went the wrong way: pick the opposite quarter turn instead (270° rather than 90°, or the reverse). Nothing is written until you press Rotate, so the preview is free to experiment with.

Turn a GIF 90°, 180° or 270°, flip it, or tilt it with see-through corners, and keep every frame, delay and loop count. Free: one file up to 50 MB and 300 frames, output up to 2048 px on the long edge. Pro: up to 20 files at once as a ZIP. It all runs on your device, not our servers.

Rotate a GIF

Frequently asked questions

How do I rotate a GIF 90 degrees?

Add the GIF to the rotator, press Rotate right (90° clockwise) or Rotate left (90° anticlockwise), check the preview, then press Rotate and download. A quarter turn moves pixels without changing any of them, so the quality is exactly the same.

Can I rotate an animated GIF without losing the animation?

Yes. Every frame is turned by the same transform, and each frame's delay and the loop count are written back unchanged. The result line shows the frame count so you can confirm all of them came through.

How do I fix a GIF from my phone that is sideways?

Use a quarter turn. The clip was recorded in the sensor's shape and the orientation note was lost when it became a GIF, so the pixels themselves need turning. Try Rotate right; if it ends up upside down, press Rotate left twice or choose 270°.

How do I flip or mirror a GIF?

Under Mirror, choose Flip horizontally to undo a front-camera reflection or Flip vertically for a top-to-bottom mirror. Both are lossless, and you can combine a flip with a turn in the same run.

Why does my GIF have white corners after rotating?

Any angle that is not a multiple of 90 leaves empty corners, and something has to fill them. Set Corner fill to See-through to keep them transparent, or use a quarter turn, which leaves no corners at all.

Can I rotate several GIFs at once?

On Pro, up to 20 files at once, all with the same turn, downloaded as one ZIP. The free plan rotates one file at a time with every control available.

Keep reading

More in Images →