Rotate Video

Rotate video that plays sideways or upside down, or flip a mirrored clip — without re-encoding when the format allows, and without uploading it.

Files never leave your device

Drop a video to rotate

or paste with Ctrl+V / Command+V

MP4, MOV, M4V, MKV, WebM, 3GP and TS videos.

Check memory before converting

Stop this conversion?

Files already converted will stay available to download.

Keyboard shortcuts

A: add files · Ctrl/Command+Enter: convert · D: download · Escape: cancel · Delete on a row: remove. Letter shortcuts only work inside this tool, outside text fields.

Space play/pause · ←/→ step one frame (Shift = 1 s) · F full screen · Ctrl+Enter export · D download. R/L rotate right/left · H/V flip.

Settings link

Your browser could not copy the link. Select and copy it below.

How to rotate a video

To rotate a video that plays sideways or upside down, pick a turn, check the preview and save the fixed copy.

  1. Click Choose video. The file card shows how the video is stored and how it displays, for example “stored 1920×1080 · shows as 1080×1920 (rotation flag 90°)”.
  2. Pick a rotation. Rotate right 90° is the default; there are also 180°, Rotate left 90° and No rotation. The preview turns as you click.
  3. If the picture is mirrored, switch on Flip horizontal or Flip vertical.
  4. Choose the mode: Fast — changes the rotation flag, no re-encoding for MP4, M4V and MOV files, or Re-encode — rotates the picture itself.
  5. Click Rotate, then Download. A file called IMG_0042.MOV comes back as IMG_0042-rotated.MOV.

With the keyboard, R turns right, L turns left, and H and V switch the flips.

Fast (rotation flag) or re-encode: which to choose?

Phones often record the picture in landscape and add a small note, the rotation flag, that tells players how to turn it. That is why the same clip can look upright on the phone and sideways somewhere else.

Fast rewrites only that flag and copies the picture as it is, so even a long clip is done after one pass through the file. Re-encode decodes the video, turns every pixel and encodes it again as MP4, so the result is upright in any player, whether it reads flags or not.

Feature Fast Re-encode
What changes the rotation flag the pixels themselves
Quality identical, nothing re-encoded one H.264 generation, close to the original
File size about the same as the input depends on the new bitrate
Formats MP4, M4V, MOV, same type out any supported video, MP4 out
Browser needs no video codecs video decoding and encoding
Work involved small: frames are only copied every frame is processed

Fast also adds to a flag that is already there: a clip flagged at 90° and turned right again ends up at 180°. After a Fast rotation, the result card says “Rotated by flag — some old players ignore it; choose Re-encode if yours does.” and offers a Re-encode instead button.

Flip a mirrored selfie video

Front cameras sometimes save a mirrored picture, which is easy to spot when a sign or a T-shirt print reads backwards. Flip horizontal mirrors the video left to right and makes the writing readable again. Flip vertical mirrors it top to bottom, which helps with footage from a camera mounted upside down. Both flips can be combined with a turn, and the preview shows the combined result before anything is saved.

A flip stored as a flag isn’t respected by every player, and the page reminds you: “Some players ignore a flip stored as a flag. Choose Re-encode if yours does.” If the clip is going to many people on different devices, Re-encode is the safer choice for flips.

Why some players ignore rotation

Current browsers and phone galleries generally read the rotation flag. Some TVs, video editors and older players read only the stored pixels, so a correctly flagged clip still plays sideways there.

For those players, use Bake in the current 90° rotation (the number matches your file’s flag). The button appears when the video carries a flag. It re-encodes the picture into the orientation you saw on the phone and resets the flag to zero.

There is a second cause. If the phone was lying flat while filming, it may not register the turn, so the video is stored sideways without any flag. Baking in won’t help then; rotate it with the buttons above instead. The file card tells the two cases apart: a rotation flag on the card means the phone noted the turn, while matching stored and displayed sizes with no flag mean it didn’t.

How it works

This video rotator works online, in your browser, with nothing uploaded. In Fast mode, SafelyConvert uses the open-source Mediabunny library to rewrite the MP4 or MOV header with the new rotation and copy the video and sound packets untouched. In Re-encode mode, the browser’s WebCodecs decoder unpacks each frame, which is turned and then encoded as H.264 at 8 Mbps for 1080p at 30 fps.

The video is processed on your device; only the website and its code are downloaded, and after your first visit the rotator can work offline. By default, the location data that phones save in video files is left out of the rotated copy. How do we know?

Tips & limits

  • Files can be up to 4 GB on computers, 2 GB on low-memory computers and 1 GB on phones. On a phone, Fast warns above about 336 MB; larger results need a computer.
  • Fast keeps every sound track and HDR untouched. Re-encode keeps the main sound track (AAC and MP3 are copied, other sound becomes AAC) and converts HDR to standard range.
  • Re-encoding rounds odd sizes down to even numbers, so 1279×719 becomes 1278×718.
  • If your browser can’t decode HEVC, Re-encode isn’t available for that file, but Fast still works.
  • Need to remove edges after turning the picture? Use Crop Video. For apps that only accept MP4, convert with MOV to MP4. To put an upright landscape clip into a vertical frame without turning it, use Resize Video.

Frequently asked questions

How do I rotate a video 90 degrees?

Choose the video, keep Rotate right 90° selected or pick Rotate left 90°, then click Rotate and Download. For MP4, M4V and MOV files, Fast mode is selected and only the rotation flag changes, so the picture is copied untouched. Other formats are re-encoded to MP4 with the picture itself turned.

How do I rotate a video from horizontal to vertical?

Rotating by 90° turns the picture on its side, so a landscape clip becomes a tall one with everything lying sideways. That is right when the clip was recorded the wrong way round. If the picture is already upright and you only want a vertical 9:16 frame, use Resize Video, which fits the whole picture into the frame instead.

Why does my video play sideways?

Usually because the player ignores the rotation flag the phone wrote into the file; Bake in turns the pixels so every player shows it upright. Sometimes the phone didn't register the turn, for example when it was held flat, and then you need to rotate the video. Your screen's auto-rotate setting is a separate thing and doesn't change the file.

How can I permanently rotate a video?

Use Re-encode, or Bake in for a clip that already carries a flag. Both turn the pixels themselves and save a new file, so the change holds in every player and editor. Fast is permanent too, since the new rotation is saved in the file, but it relies on the player reading the rotation flag.

Does rotating a video reduce quality?

Not in Fast mode: the video and sound are copied unchanged, and only the rotation flag is rewritten. Re-encode decodes and encodes the picture once as H.264, at 8 Mbps for 1080p at 30 fps, so the result is close to the original but not identical. Choose Fast whenever your players respect the flag.

Can I rotate a video on iPhone or Android?

Yes. Re-encode works in Safari 16.4 or newer and in Chrome on Android. Fast mode needs no video codecs, so it also works in older Safari versions and in Firefox for Android. On a phone, Fast warns about memory for videos above about 336 MB, so rotate larger files on a computer.

Which formats can be rotated without re-encoding?

MP4, M4V and MOV, the formats most phones and many cameras record. The page checks the real file type, not just the extension, before it offers Fast. WebM, MKV and other supported formats are rotated by re-encoding them to MP4, because Fast mode only works with the MP4 and MOV family.

Last reviewed: