🔄
Creator & Video/Video Rotator

Video Rotator

Rotate 90°/180°/270° or flip videos with a live preview. Re-encodes to a universal MP4. 100% in-browser.

LOCAL · FFMPEG.WASMLive preview90/180/270 + flipsVertical output100% local
The CalculatorPage 1
🔄
Drop a video here, or click to browse
MP4, WebM, MOV, AVI, MKV (max 500 MB)

Drop a video, rotate or flip it with a live preview, and export an upright MP4

Data Source & Legal Disclaimer
Effective: 2026Last updated: 2026-09-07Update: Manual review
Sources: ffmpeg.wasm — Browser-based media processing

Video rotation runs entirely in your browser using ffmpeg.wasm. Your video file is never uploaded to any server.

See all data sources & update policy →
How it worksPage 2

Why rotation always re-encodes — illustrated

Rotating a video is not a metadata trick the way players fake it with a rotation flag: real rotation rearranges pixels, so every frame must be decoded, transformed, and re-encoded (transpose/hflip/vflip filters with libx264 CRF 20). For 90°/270° turns the frame dimensions swap — a 1920×1080 landscape becomes 1080×1920 portrait — which is exactly what phones and social apps expect from vertical video. Processing runs at roughly 0.2× real-time in WebAssembly, so a 1-minute clip takes about 5 minutes on a typical laptop.

Decode → transpose/flip → re-encode (dimensions swap on quarter turns)
Input frames1920 × 1080Decode every framerotation changes pixels,copy alone is impossibleTransformtranspose=1 → 90° cwhflip / vflip for mirrorsMP4 out1080 × 1920H.264 + AACquarter turns swap width ⇄ height · CRF 20 keeps quality high while rebuilding the GOP~0.2× real-time in WebAssembly — plan for a few minutes per minute of video

Unlike stream-copy cutting, rotation touches every pixel, so the GOP structure must be rebuilt by the encoder.

Sideways phone video — Priya's concert clip

Priya filmed a 42-second concert clip holding her phone vertically, but the camera saved it as 1920×1080 landscape with the stage rotated 90° clockwise.

  1. Load & preview:She drops the clip in; the preview shows it lying on its side, and the header reads 1920 × 1080
  2. Pick the transform:She clicks Rotate 90° CW — the live preview (CSS-transformed, instant) stands upright, and the output size flips to 1080 × 1920 portrait
  3. Re-encode:Precise mode is the only option here, so she hits Rotate: ffmpeg decodes, applies transpose=1 to every frame, and re-encodes — about 3–4 minutes for the 42 s clip
  4. Verify & post:The MP4 downloads as concert_rotated.mp4, plays upright in her phone gallery, and is ready to post as a vertical Short
FAQ & detailsPage 3

Rotate 90/180/270 or flip video with live preview. Everything runs locally; nothing is uploaded.

FreeToolHub Video Rotator is a free browser-based tool — rotate 90/180/270 or flip video with live preview. No signup, no upload; everything runs locally in your browser.

About this tool

What is this tool?

Rotate 90/180/270 or flip video with live preview. Universal MP4 export. In-browser.

Live preview90/180/270 + flipsVertical output100% local

What Is the Video Rotator?

The Video Rotator fixes orientation: rotate 90° clockwise or counter-clockwise, turn 180°, or mirror horizontally and vertically. The preview applies the transform instantly in CSS so you can see the result before exporting, and the real export re-encodes every frame to a clean H.264 MP4 with ffmpeg.wasm — all in your browser.

How to Rotate a Video

Drop your video, click the rotation or flip buttons until the preview looks right, then hit Rotate. Quarter turns automatically swap the output dimensions for correct vertical video. Download the finished MP4 when the encode finishes.

Rotation Metadata vs Real Rotation — Why the Export Step Exists

Phones store a rotation flag in video metadata, and players are supposed to honor it — but the flag is the single most mishandled field in video: old players, some web embeds, and edited intermediates ignore it, which is why sideways videos still happen. This tool writes the rotation into the pixels themselves: the exported MP4 plays right-side-up everywhere, forever, regardless of the player's metadata handling. The live preview shows exactly what the output will look like, 90-degree steps clockwise or counterclockwise plus flips. Processing re-encodes with H.264, so the output is a universal MP4 — the trade for permanence is a re-encode pass, and file size stays close to the source at matching quality. Everything runs locally in ffmpeg.wasm; the video never uploads, which matters when the sideways video contains something private.

Frequently Asked Questions

Why does rotation always re-encode the video?

Rotation rearranges actual pixels in every frame, so stream copy is impossible — each frame must be decoded, transformed (transpose/hflip/vflip), and re-encoded. This tool uses H.264 CRF 20, which keeps quality high while rebuilding the file. Expect roughly 0.2× real-time speed in WebAssembly.

Does rotating swap the video dimensions?

Yes — 90° and 270° turns swap width and height. A 1920×1080 landscape clip becomes a 1080×1920 portrait clip, which is exactly what phones and social platforms expect from vertical video. The tool shows the output dimensions before you export.

Can I flip a video like a mirror?

Yes. Mirror H flips horizontally (the selfie-cam fix) and Flip V flips vertically. Flips combine freely with any rotation, and the live preview shows the combined result instantly before you commit to the slower re-encode.

Will rotating reduce my video quality?

Minimally — the rotation requires re-encoding, and at matching bitrate the difference is imperceptible in practice. The benefit is permanence: pixel-level rotation plays correctly in every player, while metadata-only rotation keeps breaking in some apps and web embeds.

My video is sideways in some apps but correct in others — why?

Your phone stored a rotation flag instead of rotating the pixels, and some players ignore that flag. Rotating the video here bakes the correction into the actual frames, so it displays upright uniformly everywhere.

Related tools

Joke of the Day
Oct 14

What do you call a nosy pepper?

Free core, no account

Keep the Free Edition Free

No signups, no data sold. Every tool is free to use — the free tier allows 5 downloads or saves per day, and the optional Pro plan ($7/mo, $59/yr) adds unlimited downloads, batch processing, white-label exports and an ad-free experience.

☕Support me on Ko-fi— support the free tier

100% of proceeds go towards hosting & building more free tools.