OfflaneAI

Rotate & flip video —
fix sideways phone videos in seconds

Open the clip, press rotate or flip until the preview looks right, choose the quality and download. The sound is re-encoded as AAC at 160 kbps.

  • 🔄 90° / 180° / 270°
  • ↔️ Mirror horizontally or vertically
  • 🔒 Nothing is uploaded
  • 💸 Free, no watermark

Loading the tool… (JavaScript required)

Why does my phone video play sideways?

Phones store a rotation flag in the file instead of rotating the pixels; some players and sites ignore it. This tool rotates the actual frames and writes a clean MP4 with no flag, so it plays correctly everywhere — Windows, Mac, WhatsApp, Instagram, PowerPoint.

Does rotating lose quality?

The video has to be re-encoded, but “High — barely visible difference”, the preselected level, keeps the bitrate of the source, so the difference is hard to see. The original resolution and frame rate are kept (a 1080×1920 video becomes 1920×1080 when rotated 90°).

Can I just mirror a selfie video?

Yes — “Flip horizontally” mirrors the image (fixes reversed text in front-camera recordings) and “Flip vertically” turns it upside down. You can combine flips with rotation.

How to rotate or flip a video

  1. Add the video. Drop an MP4, MOV, WebM or MKV file on the upload area. It opens in a player that already shows a quarter turn to the right, and the “Rotation” field reads 90°.
  2. Turn it. “Rotate left” and “Rotate right” each add a quarter turn. Press until the picture stands the way it should.
  3. Mirror it if needed. “Flip horizontally” and “Flip vertically” switch on and off; an active flip button is highlighted.
  4. Check the preview. The player shows the exact result and can be played.
  5. Choose Quality. “High — barely visible difference” is preselected.
  6. Press “Rotate & download”. A progress bar with the remaining time appears. Keep the tab open.
  7. Save the file. It is stored under the original name with -rotated.mp4 at the end.

What each button does

ButtonEffect on the picture
Rotate leftA quarter turn anticlockwise
Rotate rightA quarter turn clockwise
Flip horizontallyLeft and right change places, as in a mirror
Flip verticallyTop and bottom change places, as in a reflection on water

The “Rotation” field sums up the current state: the angle (0°, 90°, 180° or 270°, counted clockwise) followed by ⇔ for a horizontal flip and ⇕ for a vertical one. At 0° with no flip there is nothing to do, and the “Rotate & download” button is switched off.

Combining a turn with a flip

The turn is applied first and the flips afterwards, exactly as the preview shows. Two details save presses:

  • Both flips together equal a half turn.
  • With one flip active, the rotate buttons appear to turn the preview the other way, because the flip acts on the turned picture. Set the angle first and the flip second.

Which button fixes which problem

What you see in the originalPress
The top of the scene points to the rightRotate left until Rotation reads 270°
The top of the scene points to the leftLeave Rotation at 90°
The video is upside downRotate right once more, to 180°
Text reads backwardsRotate left to 0°, then Flip horizontally
Upside down and text reads backwardsRotate left to 0°, then Flip vertically

Go by the preview rather than the table if you are unsure: it turns with every press.

180° is not the same as a vertical flip

Both put the sky at the bottom. A half turn keeps writing readable when you turn your head; a vertical flip also mirrors it. A video filmed with the phone held upside down needs 180°.

What changes in the file

  • Width and height swap at 90° and 270°. A 1920×1080 video becomes 1080×1920. At 180° and with flips alone, the size stays the same.
  • The frames themselves are turned. The result carries no rotation flag for a player to interpret, so every app shows it the same way. A source that already had such a flag is read as it is displayed, and your turn is added to that.
  • The picture is encoded again as H.264 in an MP4 file. The frame rate is kept.
  • The sound is encoded again as AAC at 160 kbps. Left and right audio channels are not swapped by a horizontal flip.

Quality and file size

QualityVideo bitrate at 1080pNotes
High — barely visible differenceThe bitrate of the source, at least 5.6 Mbit/s, at most 40 Mbit/sFile about as large as the original
Medium — web, social media3.5 Mbit/sSmaller file for posting
Small — email, WhatsApp, Telegram1.75 Mbit/sChats and attachments

Smaller frames get proportionally less, 4K gets up to 1.6 times these values.

High has a floor. A source with a very low bitrate, such as a screen recording or a clip that came through a messenger, is raised to that floor and the rotated file comes out larger than the original. Choose Medium for those.

Rotating is not reframing

A quarter turn does not make a landscape video suitable for a vertical feed; it only lays the scene on its side. To turn a correctly oriented landscape video into a vertical one, cut out a 9:16 area with the video cropper.

The two tools combine well for footage that was filmed sideways: rotate it here first, then crop the upright result.

Limits worth knowing

  • Quarter turns only. A slightly tilted horizon cannot be straightened by a few degrees.
  • The whole clip. If only one passage is sideways, cut it out with the video trimmer, rotate it and put the parts back together with the video joiner.
  • Always a re-encode. Desktop tools such as FFmpeg can change only the rotation flag without touching the picture. That is lossless, but players that ignore the flag still show the video sideways. This tool rewrites the frames instead.
  • MP4 output. Other formats are available afterwards in the video converter.
  • Subtitle tracks and chapters are not carried over.

Where the turning is done

The preview is the original video with the turn and flips applied by the browser on screen, which is why it reacts instantly. On export, every frame is decoded, redrawn in the new orientation and passed to the H.264 encoder of your device through WebCodecs. The video is read from your disk and is not uploaded. The page needs Chrome, Edge, Opera, Brave or Safari 17+.

Troubleshooting

“Rotate & download” is greyed out

Rotation reads 0° and no flip is active, so the output would equal the input. Press one of the four buttons.

The video lies on its side as soon as it opens

The page starts with a quarter turn to the right already applied. Press “Rotate left” once to see the original orientation, then turn or flip from there.

The file is larger than the original

The source had a low bitrate and High raised it. Choose Medium or Small.

Text is still backwards after rotating

No rotation can undo a mirror image. Use “Flip horizontally”.

“No supported video encoder in this browser”

The encoder of the device does not accept the frame size of the result. This is most likely with 4K video. Reduce the resolution with the video compressor first, then rotate.