How to Rotate a Video Online — Fix Sideways and Upside-Down Clips
Recording video in the wrong orientation is one of the most common mistakes when filming on a phone. A clip recorded in portrait plays sideways in your editing software; a horizontal video appears upside-down after a camera fumble. Rotating fixes this instantly — no re-recording needed.
Why Videos Play Sideways
Modern smartphones embed orientation data in the video file as metadata. iPhones and Android devices record in portrait by default and add a rotation flag that tells most players how to display the clip correctly. The problem arises when software ignores that metadata flag — which happens with many video editors, browsers, and media players on Windows.
The definitive fix is to bake the rotation into the video stream itself rather than relying on the metadata flag. When you rotate a video with MediaFormatter, the frames are re-encoded at the correct orientation so the output plays correctly on every device and platform, regardless of metadata handling.
- Play the video in VLC before uploading — VLC respects metadata flags, so if it looks correct in VLC but sideways elsewhere, the rotation is metadata-only
- If unsure which direction to rotate, try 90° clockwise first — it is the most common correction needed for portrait phone recordings
Which Rotation Angle to Choose
90° clockwise: use when a portrait video plays rotated to the left — the subject appears on their side facing right. 90° counter-clockwise: use when a portrait video plays rotated to the right. 180°: use when the video is upside-down — common when a phone was held inverted or a camera mounted flipped.
After rotating, the output is MP4. If your original was 1920×1080 landscape and you rotate 90°, the output is 1080×1920 portrait — the resolution swaps to match the new orientation.
Does Rotating Affect Quality?
Rotating 90° or 270° requires re-encoding because the pixel grid changes orientation — the width and height swap, so every frame must be re-processed. MediaFormatter uses H.264 at high quality settings, so the quality loss in a single rotation pass is minimal and visually imperceptible at normal viewing sizes.
Rotating 180° can be performed more efficiently since the pixel grid dimensions do not change, but it still requires re-encoding the colour data. In practice, a single rotation pass will not affect perceptible quality. Avoid rotating the same clip multiple times unnecessarily.
- A single rotation pass causes no perceptible quality loss at typical viewing sizes
- Avoid rotating more than once — each re-encode compounds quality reduction
- The output is always MP4, compatible with every platform and video editor