Video Rotate Tool

Upload a video that was recorded sideways or upside down, pick a clockwise rotation of 90, 180, or 270 degrees (or leave it at 0 to just re-encode), and export a corrected MP4 or WebM with the original audio preserved. Common for phone recordings that play back rotated the wrong way in some players or editing tools. Everything runs on-device using the browser's native WebCodecs API, no upload involved.

PrivateFreeWorks offline

Reviewed by Vincenzo Manto, Founder & Lead Developer · Last updated October 11, 2026

How it works

  1. 1

    Upload a video file and let it load in the player.

  2. 2

    Pick the clockwise rotation: 0°, 90°, 180°, or 270°.

  3. 3

    Pick MP4 or WebM.

  4. 4

    Export: the tool rotates and re-encodes the file with its original audio into a downloadable video.

Real encoding, no plugins or uploads needed

Rather than relying on a heavyweight WebAssembly build of FFmpeg, this tool uses the browser's own native WebCodecs API to read, rotate, and re-encode your video directly, including its audio track, producing a real MP4 or WebM file without ever sending your video to a server.

A permanent fix, not a playback-time flag

Some video players rotate playback based on a metadata flag in the file, which not every app or website honors consistently. This tool instead rotates the actual pixel data during re-encoding, so the fix travels with the file and looks correct everywhere it's played or uploaded next.

Frequently asked questions

Why would a video need rotating?

Phones sometimes record video with an orientation flag that not every player or site respects, or a video is uploaded without that flag at all, so it plays back sideways or upside down. Rotating and re-encoding bakes the correct orientation directly into the frame data so it plays correctly everywhere.

Is the rotation always clockwise?

Yes, all four options (0°, 90°, 180°, 270°) rotate the video clockwise by that amount. For a video that's sideways the other way, pick 270° instead of 90° (or vice versa).

Does rotating happen on a server?

No. Reading the file, rotating, and re-encoding all happen entirely client-side in your browser tab using WebCodecs, so the video is never uploaded anywhere.

Will the exported video have audio?

Yes. The original audio track is preserved and re-encoded alongside the video (as AAC for MP4 or Opus for WebM).

Will the output dimensions change after rotating 90° or 270°?

Yes. Rotating by 90° or 270° swaps width and height, since the frame is turned on its side; rotating by 180° keeps the same dimensions.

Related tools