HeyDreaming

Free · processed in your browser · free account to download

Rotate a Video Online

Loading the tool…

Fix a sideways or upside-down MP4, MOV, WebM, MKV or M4V clip by turning the frames 90° right, 90° left or 180°. The rotation runs in your browser on files up to 200 MB, so the video is not uploaded.

How do I rotate a sideways or upside-down video?

Drop the video into the box above, choose 90 right, 90 left or 180, and press Rotate video. It runs in your browser tab; the first run takes a little longer. The tool turns every frame, copies the audio when possible, and writes a new MP4 you can preview and download.

How it works

01

Add your video

Drag one MP4, MOV, WebM, MKV or M4V file into the box, or click to pick it. Clips up to 200 MB are accepted.

02

Pick a rotation angle

Choose 90 right (clockwise), 90 left (270° clockwise) or 180 (upside down).

03

Rotate and download

Press Rotate video, wait for the frames to re-encode, then preview and download the new MP4 with -rotated added to its name.

Why bake the rotation into the pixels

Phones and action cameras often record video in one fixed sensor orientation and write a rotation tag in the file header. Many older players, TVs, slide decks and upload forms ignore that tag and display the video sideways or upside down.

This tool transposes the actual pixel grid of every frame and writes a fresh H.264 MP4. A 90 right or 90 left turn swaps the width and height (for example, 1920×1080 becomes 1080×1920), while 180 keeps the same dimensions and turns the image upside down. The tool applies the file's rotation tag before turning, so choose the angle from how the clip looks in the preview player. Because the pixels themselves are turned, the output plays the same way in any player.

What changes in the file

Turning the pixel grid requires re-encoding the video stream to H.264 (CRF 23, veryfast preset, yuv420p color) with faststart enabled. Because H.264 with yuv420p requires even width and height, any odd dimension after rotation is rounded down by 1 pixel (`trunc(iw/2)*2:trunc(ih/2)*2`).

The audio stream is copied unchanged whenever MP4 supports the source audio codec. If the input carries audio that MP4 rejects, such as Vorbis in WebM or PCM in MOV, the tool automatically retries and re-encodes the audio to 128 kbps AAC.

What this tool does not do

It does not rotate by arbitrary angles like 5° to level a tilted horizon, mirror or flip the picture horizontally without turning it, or edit metadata flags without re-encoding.

See all free tools

Keep exploring

Related free tools

Questions

Rotate Video: FAQ

Is my video uploaded to a server?

No. Rotation runs inside your browser tab, so the video stays on your device and is not uploaded. The page logs usage events in Google Analytics, such as which tool ran, but never the video.

What is the difference between 90 right, 90 left and 180?

90 right turns the picture 90° clockwise, 90 left turns it 90° counter-clockwise (270° clockwise), and 180 turns an upside-down clip right-side up.

Does rotating change the video dimensions?

Choosing 90 right or 90 left swaps width and height, so a landscape clip becomes portrait and vice versa. Choosing 180 keeps width and height in place. If either side is an odd number of pixels, it loses 1 pixel so the H.264 encoder gets even dimensions.

Is the audio re-encoded?

Not if the source audio already works in MP4 (such as AAC). In that case the audio track is copied directly. Incompatible audio tracks (like Vorbis or PCM) are re-encoded to 128 kbps AAC.

Why is the first run slower?

The first rotation in a tab includes getting the video tools ready in your browser. Later runs in the same tab skip that step.

Why is rotation taking several minutes?

Every frame has to be decoded, transposed and re-encoded in your browser. Long clips or high-resolution 4K files take much longer than short 720p or 1080p clips.