No upload, 100% local, no account

Rotate / Flip video

Rotate your video 90°, 180° or 270°, or flip it horizontally/vertically, re-encoded so it plays the right way up everywhere.

How Rotate video works

Rotate or flip any video directly in your browser using ffmpeg WebAssembly, with no files sent to a server. The tool applies a transpose filter for 90-degree, 180-degree, and 270-degree rotations, and an hflip or vflip filter for mirror corrections. When the source format and codec allow it, the tool uses stream copy and only rewrites the container metadata, so processing is near-instant and the video quality is completely preserved.

A forced re-encode is only triggered when the codec or container does not support metadata-only rotation, for example some older MP4 profiles. Horizontal mirror is useful for fixing selfie-camera reversal, and vertical flip handles upside-down recordings from action cameras mounted at unusual angles.

How to use Rotate video, step by step

  1. Drop or select the video file you need to reorient.
  2. Choose a rotation angle (90 degrees clockwise, 180 degrees, 90 degrees counter-clockwise) or a flip direction (horizontal mirror or vertical flip).
  3. Click Rotate to start processing.
  4. Wait for ffmpeg to apply the transform on your device.
  5. Download the corrected video.

Common use cases

  • Fixing a phone video shot in portrait mode that plays sideways on a desktop monitor.
  • Correcting a mirrored selfie-camera recording so text in the background reads normally.
  • Rotating action-camera footage that was mounted upside down on a helmet.
  • Flipping a slide-recording clip horizontally when the presenter screen was captured in mirror.

Frequently asked questions

Does rotating a video cause any quality loss?

In most cases, no. When the codec and container support a metadata-only rotation tag (common with H.264 MP4), ffmpeg writes the new orientation into the container header without re-encoding a single frame, so quality is bit-for-bit identical. A re-encode is only triggered for formats that cannot store the rotation as metadata, and in that case the quality loss is minimal and imperceptible in practice.

Is the video sent to a server during rotation?

No. ffmpeg.wasm applies the transpose, hflip, or vflip filter inside your browser tab. The file is read into local memory, transformed there, and the rotated video is offered as a download from your own device. DevTools Network tab will show no outgoing request carrying your video.

What is the difference between rotating 90 degrees and flipping horizontally?

A 90-degree rotation turns the entire frame around the centre point, changing which edge is at the top. A horizontal flip (hflip) mirrors the image left-to-right around the vertical axis, as if you held the clip up to a mirror, without changing orientation. Both operations are available as separate choices in the tool.

Can I rotate a WebM or MKV file, not just MP4?

Yes. ffmpeg.wasm reads all common container formats. The output container matches the input when copy mode is used; if a re-encode is needed the output defaults to MP4 H.264.

Why does the video still play sideways in some apps after rotating?

Some older media players ignore the rotation metadata tag in the container and always render the raw frame orientation. If that happens, the tool can force a pixel-level re-encode that bakes the rotation into the actual frame data, rather than storing it as metadata. Use re-encode mode to guarantee every player respects the orientation.

Does the audio stay in sync after rotation?

Yes. Rotation is purely a video-frame transform; the audio track is carried through untouched in either copy or re-encode mode. There is no offset introduced by the rotation operation itself.