Rotate a video

Fix a clip filmed sideways or upside down so it plays the right way up everywhere.

or drop them here · files stay on your device
We count formats and sizes. Filenames stay private unless you opt in.

Rotate
Processed on this device
  • Runs on your device
  • No sign-up or watermark
  • No fixed file size cap

The short answer

To rotate a video permanently, open it here, choose 90° clockwise, 90° anticlockwise or 180° and press Rotate it. ffmpeg turns every frame and re-encodes to H.264 MP4 in your browser, so the rotation is baked into the picture rather than stored as a flag. The video is never uploaded.

How to rotate a video and save it permanently

  1. STEP 1

    Open the sideways video

    Choose the MP4, MOV, MKV, AVI or WebM. The preview shows how it currently plays.

  2. STEP 2

    Choose the rotation

    Pick 90° clockwise, 90° anticlockwise or 180° from the Rotate menu.

  3. STEP 3

    Rotate and save

    Press Rotate it and download the MP4 marked -rotated. Its orientation is now fixed in the picture.

Why rotating in a player does not stick

Rotating a video in VLC or a photo viewer only changes how it is shown on that screen. Send the file to someone else and it plays sideways again.

Phones record orientation as a rotation tag that players are meant to honour, and some apps and websites ignore it. A permanent fix means rotating the pixels themselves and encoding a new file, which is what this tool does.

What survives, and what does not

ffmpeg applies the phone’s existing rotation tag while decoding, then turns the frames with its transpose filter: once for 90° clockwise, once the other way for anticlockwise, twice for 180°. The picture is re-encoded with libx264 at quality 26 and the audio to AAC at 160 kbps.

What you keep

Full resolution, with width and height swapped for a 90° turn

The audio, re-encoded to AAC at 160 kbps

Frame rate and duration

What you lose

A little picture quality from the re-encode

Mirroring or flipping, which this tool does not offer

Angles other than 90° and 180°

Honest limits are published on every tool page. If a tool cannot do something well, it says so here rather than letting you find out after the download.

Rotate a video at a glance

InputMP4, MOV, MKV, AVI, WebM
OutputMP4 (H.264, AAC 160 kbps audio)
Angles90° clockwise, 90° anticlockwise, 180°
BatchYes, same angle for each
First-use downloadAbout 32 MB
Works offlineAfter the first use

If something goes wrong

It is still the wrong way round

Rotation is relative to how the clip plays now. If 90° clockwise went the wrong way, run the original through again with 90° anticlockwise, or use 180° for upside-down footage.

Can I rotate a WebM recording?

Yes. The sound is re-encoded to AAC at 160 kbps, so Vorbis or Opus audio from a WebM fits in the MP4 output without an extra conversion step.

Rotate a video questions

How do I rotate a video 90 degrees and save it?

Choose 90° clockwise or 90° anticlockwise, press Rotate it, and download the result. The new MP4 has the rotation applied to the pixels, so it plays upright in any player or website.

Can I rotate an iPhone video on Windows?

Yes. Open this page in a browser on Windows, choose the iPhone clip and pick the angle. The output is a standard H.264 MP4 that Windows plays without extensions.

Does rotating a video reduce quality?

Very slightly. Rotating the picture means re-encoding it, done here at a quality of 26. The audio is re-encoded to AAC at 160 kbps, which is hard to tell from the original.

Is the video uploaded to rotate it?

No. The rotation runs in this tab with ffmpeg compiled to WebAssembly, so the clip stays on your device the whole time.

Can I flip or mirror a video?

Not with this tool. It rotates by 90° or 180° only; a mirror flip is a different operation and is not offered here.

One of 153 file tools and planned additions. Built and tested by Arin Prajapati, last checked against the code on . canonical: https://damnfiles.com/rotate-video
Analytics preferences

Help us understand which tools and file types people use. File contents always stay on your device.

Filename sharing is optional and off by default. Names can contain personal information. Changes apply to future events; disabling sharing does not delete earlier records.

Read our privacy policy