Rotate or flip a video — fix sideways and mirrored clips

Choose a rotation (90° clockwise, 180° or 90° anticlockwise) and an optional flip, and the tool writes a corrected copy of the video on your device, either with the pixels turned or with only the rotation flag changed.

Live demo · real result from this tool

Drop your video here

or paste with Ctrl+V · nothing is uploaded

Most players honour the flag; some editors and old TVs ignore it. Off = the pixels are rotated (re-encoded), which plays correctly everywhere.

Your result appears here — processed on your device.

Processed on your device — nothing is uploaded.

How to use the video rotator

  1. Drop a video onto the box or click to choose one.
  2. Choose Rotate: No rotation, 90° clockwise (the default), 180° or 90° anticlockwise.
  3. Choose Flip if needed: No flip, Horizontal (mirror) or Vertical (upside down).
  4. Tick Lossless: set the rotation flag only (instant) if you only need it to play the right way in normal players. Leave it unticked to turn the pixels.
  5. Pick an Output format (Same as the original, MP4, WebM, MOV or MKV) and press Rotate video. Play the result in the preview, then download it.

What it does and when to use it

A clip filmed with the phone held the wrong way, a dashcam mounted upside down, or a webcam recording that came out mirrored all need the same fix. The rotator turns the picture in 90° steps and can mirror it left to right or top to bottom. The result keeps its sound and length; only the picture’s orientation changes.

If you also need to cut away the edges after rotating, use the video cropper. To make a vertical clip for Reels or Shorts from landscape footage, the social media video cropper does the reframing in one step. For a smaller file afterwards, run it through the video compressor.

How it works

The tool runs in a background worker in your browser using Mediabunny and the WebCodecs encoder built into the browser. Nothing is uploaded and nothing extra is downloaded.

  • Flag off (default): every frame is decoded, turned and encoded again, so the new orientation is part of the picture.
  • Flag on: the stored frames are copied and the file gets a rotation (and flip) instruction, which takes seconds even for long clips. If the format cannot carry that instruction, the frames are re-encoded instead.

Your rotation is added to any rotation the file already has. A vertical flip is done as a horizontal flip plus a 180° turn, which gives exactly the same picture.

Worked examples

  • Phone clip lying on its side. A portrait video shows up landscape with the top of the picture on the left. Rotate 90° clockwise, flag off, and the result plays upright in any editor.
  • Mirrored webcam recording. Rotate: No rotation, Flip: Horizontal. Writing on a whiteboard reads correctly again.
  • Upside-down action camera. Rotate 180° with the flag ticked gives an instant fix for viewing on a phone, with no quality loss.

Limits and tips

  • Check before you rotate. If the clip already plays correctly in your phone’s gallery but not in an editor, the flag is being ignored; re-encode with the flag option off rather than rotating again.
  • Long or 4K clips take time with the flag off, especially on phones, and the finished file is assembled in memory. Use Cancel if it is too slow, and trim first with the video trimmer.
  • Browser support: encoding needs WebCodecs, available in current Chrome, Edge, Firefox and Safari. If MP4 output fails, try WebM.

Frequently asked questions

Why does my phone video play sideways?
Phones usually save the picture in the sensor's orientation and add a flag that tells players how to turn it. Some editors, older TVs and upload forms ignore the flag. Rotating with the flag option off turns the pixels themselves, which fixes it everywhere.
Should I tick the lossless flag option?
Tick it when the clip only needs to look right in normal players such as phones and browsers. It is fast and keeps the original quality. Leave it off when the file is going into an editor, a TV or a site that showed it sideways before.
How do I undo a mirrored selfie video?
Set Rotate to No rotation and Flip to Horizontal (mirror). Text and logos in the shot will then read the right way round.
Does rotating reduce quality?
With the flag option off the video is decoded and encoded again, which loses a little detail, usually hard to see. With the flag option on, the picture data is copied as it is where the format allows.
Can I rotate an AVI or WMV file?
Not directly. This tool reads MP4, MOV, WebM and MKV style files. Convert other formats first with the video converter, which can use an optional ffmpeg download for them.

Written by the ToolsRift team · Last updated

Pages are drafted with AI assistance and checked by automated tests. How we write and check pages.

Was this tool useful?

Report a problem

Start typing to search every tool.

↑ ↓ to moveEnter to openEsc to close