March 24, 20265 min read

How to Rotate a Video — Fix That Sideways Recording

Your video is sideways or upside down. Here's how to rotate it correctly, the difference between metadata and pixel rotation, and why some players ignore your fix.

video rotate editing orientation mobile
Ad 336x280

Everyone has been there. You recorded your kid's school play, your cat doing something incredible, or a crucial work demonstration — and when you play it back, it's sideways. Or upside down. Or mirrored for some reason you'll never understand.

The annoying part? It looked fine on your phone when you recorded it.

Why This Happens

Your phone has an accelerometer that detects orientation. When you record video, most phones don't actually rotate the pixel data — they record everything in landscape (the sensor's native orientation) and write a metadata flag that says "rotate 90 degrees on playback."

This works great until it doesn't. The accelerometer occasionally misreads your angle. You started recording while the phone was flat on a table. You rotated mid-recording. Or the app you used just ignored orientation entirely.

The result: a video file where the pixels are landscape but the metadata says portrait, or vice versa, or the metadata is missing entirely.

Metadata Rotation vs. Pixel Rotation

This distinction matters and almost nobody explains it.

Metadata rotation is a tag embedded in the file header. It tells the player "before displaying this, rotate the image 90/180/270 degrees." The actual pixel data stays untouched. It's instant to apply and doesn't degrade quality at all. Most modern players (VLC, Windows Media Player, phone gallery apps) respect this flag. Pixel rotation literally rewrites every frame of the video with the pixels in the new orientation. The video dimensions change (1920x1080 becomes 1080x1920). This is a full re-encode, meaning slight quality loss and it takes time proportional to the video length.

When should you use which?

  • Metadata rotation if you're just watching the video yourself or sharing it casually. Fast, lossless, easy.
  • Pixel rotation if you're uploading to a platform that strips metadata, embedding in a presentation, or using the clip in an editor that doesn't read orientation flags. Some older versions of PowerPoint and web browsers historically ignored the rotation tag.

How to Actually Rotate Your Video

On Your Phone (Easiest)

Both iOS and Android have built-in rotation in their photo/video editors. Open the video, tap Edit, find the crop/rotate tool, tap the rotate button. This applies metadata rotation — instant and lossless.

iPhone: Photos app > Edit > Crop tool > Rotate button (bottom left) Android: Google Photos > Edit > Crop > Rotate. Samsung Gallery has the same flow.

On Desktop

VLC technically can rotate video, but it's one of the most confusing interfaces in any software. You need to go to Tools > Effects and Filters > Video Effects > Geometry > check Transform > pick your rotation. And that only affects playback — to actually save the rotated version, you need to use VLC's Convert/Save feature with the transform filter enabled. I've seen experienced IT people give up on this. QuickTime on Mac is surprisingly good here. Open the video, Edit > Rotate Left/Right. Then File > Export. Simple. It does a metadata rotation by default. For a quick fix without installing anything, MyPDF's video rotate tool lets you upload, pick 90/180/270, and download the corrected file. It handles both metadata and pixel rotation depending on what you need.

In Editing Software

DaVinci Resolve, Shotcut, CapCut, and iMovie all have rotation in their transform controls. In DaVinci Resolve, select the clip, open the Inspector, and change the Rotation Angle value. This is pixel rotation since you're re-rendering anyway.

Common Gotchas

Rotating 90 degrees changes your aspect ratio. A 1920x1080 video becomes 1080x1920. If you're inserting it into a 16:9 timeline, you'll get black bars on the sides. There's no way around this without cropping. Some platforms re-encode on upload anyway. YouTube, Instagram, and TikTok all re-process your video. If you apply metadata rotation before uploading, they'll usually respect it during their re-encode. Usually. Screen recordings rarely have this problem. Since screen capture software knows exactly what orientation your screen is, the output matches. This is almost exclusively a phone camera issue. 180-degree rotation is underrated. If you mounted a camera upside down (dashcam, security camera, GoPro on a weird mount), 180 flip is what you want, not 90 left or right.

The 30-Second Fix

If you just want the video not-sideways as fast as possible:

  1. Try your phone's built-in editor first (Photos on iPhone, Google Photos on Android)
  2. If that doesn't work, use MyPDF's rotate tool in your browser
  3. If you need pixel-level rotation for an editing project, use DaVinci Resolve or Shotcut
Don't overcomplicate it. Rotation is a solved problem — it just has terrible UX in most tools.
Ad 728x90