Skip to content

Troubleshooting

Why Videos Play Sideways, and the One Tag Behind It

A video that is upright on your phone and rotated on your computer has not been damaged. A single rotation flag is being read by one player and ignored by the other.

3 min read · Published 19 August 2026

You record something on a phone, it plays upright there, you send it somewhere and it arrives on its side. Nothing is corrupted and nothing was re-encoded in transit. The picture inside the file was always sideways, and your phone was quietly turning it for you.

The camera does not rotate the picture

A phone camera sensor has a fixed orientation. However you hold the phone, it records with the same edge as the top of the frame. Rotating the actual pixel data would mean re-encoding every frame, which costs battery and time for something that can be described in a single number instead.

So the phone records the picture in the sensor's orientation and writes a rotation tag into the file: rotate by 90, 180 or 270 degrees on playback. The picture is sideways and the file says so.

Which is fine until something ignores the tag

Every player has to read that tag and apply it. Most do. Some do not, and some tools read it for playback but forget it the moment they process the file.

Where it usually worksWhere it usually fails
The phone that recorded itOlder desktop players
Modern browsersSome editing software on import
Major social platformsSimple conversion and trimming tools
Operating system default playersAnything that copies streams without copying metadata

The most annoying version is a tool that shows the video correctly in its preview and then writes an output with the tag dropped. It looked right the whole time you were working, and the result is sideways.

How to confirm this is what happened

Read the file and look for a rotation field, and compare the stored width and height against how it looks. A portrait video that reports itself as 1920 wide by 1080 high with a 90 degree rotation tag is the signature. The dimensions describe the sideways picture; the tag describes the correction.

If the file reports 1080 by 1920 with no rotation tag, the pixels themselves are upright and any sideways playback is a different problem entirely.

The two ways to fix it, and which to choose

Setting the tag correctly is instant, costs nothing, and changes no pixels. If the tag is missing or wrong, that is the right repair.

Actually rotating the pixels requires re-encoding every frame, which takes time and loses a generation of quality. It is worth doing only when the file must survive tools that ignore metadata, which is the case for some older systems and some automated pipelines.

Set the tagRotate the pixels
Time for an hour of videoSecondsMinutes to hours
Quality costNoneOne encoding generation
Survives tools that ignore metadataNoYes
ReversibleYesNot without another re-encode

Avoiding it in the first place

  1. Check the orientation of an exported file in a player other than the one you edited in, before you send it anywhere.
  2. When a tool offers to preserve metadata, let it. This is the tag that gets lost.
  3. Be suspicious of any step that claims to be instant and lossless, since copying streams without re-encoding is exactly where metadata gets dropped.
  4. If a file is going somewhere you do not control, and it must be upright, rotating the pixels is the safe answer despite the cost.

A video that is upside down rather than on its side is usually a 180 degree tag, and the cause is often a phone held with the buttons the wrong way round. Same tag, same two fixes.

Common questions

Why is my video sideways only on my computer?

The phone applies the rotation tag and your computer's player is ignoring it. The picture inside the file has always been sideways; the difference is which software respects the correction.

Does rotating a video reduce quality?

Setting the rotation tag does not, because no pixels change. Actually turning the picture requires re-encoding every frame and costs a generation of quality, so it is worth doing only when the destination cannot be trusted to read the tag.

Why did my video become sideways after I trimmed it?

The trimming tool copied the video stream without carrying the rotation tag across. This is common in fast, lossless trim features, and it is why checking the output in a second player is worth the few seconds.

How do I know whether the tag or the pixels are wrong?

Read the file's stored width and height. If a portrait video reports itself as wider than it is tall, the pixels are sideways and a tag is meant to be correcting that. If the dimensions already match how it should look, the problem is elsewhere.

Tools for this

Everything below runs in your browser. No file leaves your machine.

Video File Information

Read a local file's details

Aspect Ratio Calculator

Resize without distorting

Advertisement

Related reading