Curved blue tower shot straight up, a frame that leaves you unsure which way is up

All tools / Fix Video Orientation

Fix Video Orientation.

Fix a video's orientation properly, by the flag or by the pixels.

→ Open the rotatorFree, no account, and your video is never uploaded

How it works.

Turn a video that came out sideways the right way up.

  1. Step 1

    Drag your video in

    Or click to choose a file. It stays on your device.

  2. Step 2

    Turn it until it looks right

    90, 180, 270, or the two arrow buttons.

  3. Step 3

    Save the upright video

    One click, and it downloads.

In detail

A video with the wrong orientation is almost never a damaged file. Phones record the sensor as it is wired and write a rotation flag into the container instead of turning the frames, and the clip then looks correct in everything that reads the flag and sideways in everything that does not. Which means there are two different fixes and the right one depends entirely on what is showing it wrong. If your players are modern and the flag is just set incorrectly, rewriting the flag is instant, completely lossless, and the whole job is a header. If the flag is right and something downstream stubbornly ignores it, the only real fix is to bake the orientation into the pixels and set the flag to zero, which is one re-encode and works everywhere. This tool reads what your file already claims, shows you what both kinds of player are seeing, and lets you pick.

What it gives you.

  • 90, 180, and 270, one click each

    Clockwise, relative to how the clip displays right now rather than to some number buried in the container, so what you press is what you get. Rotate left and rotate right buttons are there too for the times when you would rather nudge than choose.

  • Horizontal and vertical mirror

    Flip a front-camera selfie back the way round other people saw it, or turn a mirrored screen grab the right way about. Both flips are honest about their cost: they always re-encode, because there is no flip flag any player would honour.

  • Fix the flag, losslessly, in a second

    In an MP4 or a MOV the orientation is a small display matrix in the track header. Changing it means rewriting that header and copying every video and audio packet across untouched, so the output is the same bytes of picture and sound as the input and the job is over before the progress bar means anything.

  • Bake it in so every player agrees

    When something downstream ignores the flag, the only real fix is to turn the pixels. That mode decodes each frame, rotates and mirrors it, encodes it again at the displayed size, and writes a flag of zero, so there is nothing left for a player to get wrong. It says up front that it is a re-encode.

  • A stage that shows both outcomes

    Your own footage is drawn in the preview box under exactly the transform the output will carry, in the shape the output will really be. When the source already has a flag, a small grey ghost beside it shows what a player that ignores the flag is showing today, which is usually the moment the whole thing clicks.

  • The audio is not touched

    Orientation is a picture fact, so the sound is copied through as the same encoded packets whenever the container will carry them, in both modes. No generation loss on the audio and no surprise re-encode.

  • Runs in your browser, no watermark

    The header rewrite, the decode, and the encode all happen here on your machine, so the file never leaves it. No account, no queue page, and nothing stamped in the corner.

Straight answers.

How do I fix a video that plays sideways in some players but not others?

Bake the orientation into the pixels. A file that is upright in a browser and sideways in an old player has a correct rotation flag that the old player is ignoring, so changing the flag will not help: there is nothing wrong with it. Choose bake with no extra rotation and the tool decodes the picture the way a flag-honouring player displays it, writes those frames out, and sets the flag to zero, leaving a file with nothing left to interpret. It costs one high-quality encode with the audio copied through untouched, and after it every player agrees.

Why is my phone video sideways on Windows but fine on my phone?

Because the picture inside the file is sideways and a note in the container says so. Phone cameras record the sensor in its fixed orientation and write a rotation value into the video track's metadata rather than turning the frames, which is far cheaper and completely standard. Anything that reads that value shows the clip upright, and that is your phone, your browser, iOS, Android, and every modern player. Anything that does not read it shows you the sensor, which is your clip on its side. Old builds of Windows Media Player, some projectors and smart TVs, and plenty of server-side tools fall in the second group. The clip is not corrupt and nothing went wrong when you filmed it.

What is the difference between fixing the flag and baking it in?

Fixing the flag rewrites the note. The picture is copied across byte for byte, nothing is decoded, the output is losslessly identical inside, and the whole job takes about a second regardless of how long the video is. The catch is that a player which ignored the old note will ignore the new one, so it fixes the file for everything modern and nothing else. Baking it in turns the actual pixels: every frame is decoded, rotated, and encoded again, and the note is set to zero so there is nothing left to honour or ignore. That costs one encode of quality and real time, and it is the only fix that works everywhere. Start with the flag. Bake it when you know the thing on the other end is the problem.

Does rotating a video lose quality?

Only if you bake it. Rewriting the orientation flag touches no picture data at all, so there is nothing to lose: the encoded frames in the output are the encoded frames from the input. Baking is a re-encode, and every re-encode costs something. This one aims high, at about 0.12 bits per pixel at the displayed size, and it will never spend more bits than your source itself carried, so a single careful pass is invisible in practice and the file cannot accidentally get bigger. A flip always bakes, because there is no metadata form of a mirror that players respect.

Can I fix a video that is already flagged the wrong way?

Yes, and there are two ways depending on what is wrong. If the flag is simply incorrect, add the turn that makes the display right: the tool composes what you ask for on top of what is already there, so a file flagged 90 that needs another quarter turn ends up flagged 180, and the plan line shows both numbers. If the flag is correct but something downstream keeps ignoring it, choose bake with no rotation at all: that decodes the picture the way a flag-honouring player shows it, writes those pixels, and sets the flag to zero. It is the specific fix for a file that looks right everywhere except the one place it has to work.

Which formats can it open?

MP4, MOV, MKV, and WebM. MP4 and MOV are the containers whose rotation metadata players actually honour, so those are the two where the instant lossless fix is available, and a MOV lands as an MP4 because that is the file anything downstream would rather have. WebM and MKV have no orientation flag worth writing, so a turn there always bakes, and the tool says so on the chip rather than quietly doing something else. AVI and the older oddities have to go through the converter first.

Other tools