Rotate a GIF

Turn an animated GIF a quarter, half or three-quarter turn. It is rewritten on this device and never uploaded.

Rotate an animated GIF by 90, 180 or 270 degrees in your browser, or flip it. It is free, needs no account and adds no watermark, and your files are not uploaded: everything runs in your browser on your device. No watermark. The limit is your device’s memory (phones hold less): a long or very large GIF may need a computer.

Drop GIFs to rotateor click to choose files. Batches welcome.
    Working…

    Done

    Free, no ads. Support StayPut

    Your files are processed on this device and never sent to a server. Reload the page to clear everything from memory.

    A GIF saved from a phone screen recording or a sideways camera often plays on its side. Drop it here, pick 90° right, 180° or 90° left, and press Rotate: every frame is turned and the result is saved as a new GIF that still animates.

    Each frame is first drawn as the whole picture, the way a browser plays it, so GIFs that store only the part that changed turn correctly. Each frame keeps its own delay and the loop setting is copied. A quarter turn swaps the width and the height.

    To mirror the GIF instead, set Rotate to None and tick Flip horizontally or Flip vertically. To change the size afterwards, use Resize GIF, or Crop GIF to trim the edges.

    How it works

    1. Drop one or more animated GIFs.
    2. Choose 90° right, 180° or 90° left, and a flip if you want one.
    3. Press Rotate and save the new GIFs.

    In your browser, not on a server

    gifuct-js (MIT) reads the GIF byte by byte in your tab and every frame is composited the way browsers play it, so partial frames and disposal rules are resolved into whole pictures. Each frame is turned and mirrored on a canvas by your browser, and gifenc’s (MIT) colour quantizer and LZW coder write the frames back with their delays and the loop setting. The new GIF is assembled in memory.

    Compared with upload-based tools: Here the GIF is turned in this tab: the file is not uploaded, the limit is your device’s memory (phones hold less), and no watermark is added.

    Verify it yourself. Give the page a short while after one visit to save itself for offline use, then turn off Wi-Fi or switch to airplane mode and run the tool again. Or open your browser's developer tools (F12, or Cmd-Option-I on a Mac), pick the Network tab, and watch it while you convert. The panel above does the same count for you.

    Questions

    Does the rotated GIF still animate?

    Yes. All the frames are kept and each carries its own delay, and the loop setting is copied, so it plays just as before, only turned.

    Which way does 90° turn it?

    90° right is a clockwise quarter turn and 90° left is counter-clockwise. 180° turns it upside down.

    Can I get the frames of a GIF as separate pictures?

    Yes. Split GIF saves every frame of an animated GIF as a PNG, one by one or as a ZIP, with each frame’s delay.

    Can I rotate and flip in one go?

    Yes. Pick a rotation and tick a flip; the turn is done first and the mirror after it.

    Is the file uploaded anywhere?

    No. There is no server in this process. The page is a static file and the work is done by code running inside your browser tab. Give the page a short while after one visit to save itself for offline use; then you can turn off Wi-Fi and it still works.

    More image tools

    Other conversions