Rotate Video Tool
Turn a sideways or upside-down video the right way up: rotate it 90° right, 90° left or 180°, or flip it left-right or top-bottom.
A clip that is upright on the phone but sideways on a PC cannot be fixed by choosing an angle here. Use “Burn into pixels” in the Mobile Video Playback Fixer.
Equivalent FFmpeg command
CLI command for your current settings. Updates live as you change controls.
ffmpeg -i input.mp4 -vf "transpose=1,scale=trunc(iw/2)*2:trunc(ih/2)*2" -c:v libx264 -preset fast -crf 20 -pix_fmt yuv420p -c:a copy -movflags +faststart output.mp4 Useful next tools
How to use
- Drop the videoDrag and drop an MP4, MOV, WebM or similar file, up to 500 MB.
- Pick a directionChoose one of the 5 options. Judge by how the video looks on a phone or in a browser: if the top of the picture points left, choose 90° CW; if it points right, choose 90° CCW.
- RunClick Apply rotation. When it finishes, a preview appears and you can download the result.
Recommended settings
When it goes wrong
The result faces a different way than you chose
Cause: The source has a rotation flag (rotation metadata). FFmpeg first turns the picture upright from that flag, then applies your rotation.
Fix: Choose again based on how the video looks on a phone or in a browser. To make a clip that is upright on the phone play upright on a PC, use Burn into pixels in the Mobile Video Playback Fixer.
Slight quality drop after rotating
Cause: Rotating needs a video re-encode (H.264, CRF 20), which loses a little quality.
Fix: The re-encode cannot be avoided. Rotate once to the angle you need instead of several times.
Mirror flip made on-screen text unreadable
Cause: Mirroring flips text along with the rest of the frame.
Fix: Do not use the horizontal flip on video with text in it.
Questions
Should I rotate my phone clip or re-shoot?
No need to re-shoot. A phone records the way it was held as a rotation flag in the video. If the clip looks right on the phone or in a browser, the file is fine, and a PC player that shows it sideways is ignoring the flag: use the Mobile Video Playback Fixer. If it is sideways everywhere, rotate it here.
Two 90° rotations = 180°?
The direction ends up the same, but the video is re-encoded twice and loses quality each time. Choose 180° and do it in one pass.
Should I rotate before uploading to YouTube?
Not if the video already plays the right way up. If you want the picture itself upright instead of relying on the rotation flag, use Burn into pixels in the Mobile Video Playback Fixer.
Does audio change?
No. The audio is copied as is. Only audio that MP4 cannot hold (such as the PCM audio common in camera MOV files) is converted to AAC at 192 kbps.
Does file size change after rotation?
A 90° turn swaps the width and height (an odd side loses one pixel to become even). The file size can go up or down, because the video is re-encoded at CRF 20.
More detail (settings, limits, FFmpeg commands)
What each setting means
Browsers and limits
- Maximum file size: 500 MB
- Output is MP4 only. It runs on your CPU, not the GPU, so long videos take a while
The same job with the FFmpeg command line
ffmpeg -i input.mp4 -vf transpose=1 -c:v libx264 -crf 20 -pix_fmt yuv420p -c:a copy output.mp4 ffmpeg -i input.mp4 -vf "transpose=2,transpose=2" -c:v libx264 -crf 20 -pix_fmt yuv420p -c:a copy output.mp4 ffmpeg -i input.mp4 -vf hflip -c:v libx264 -crf 20 -pix_fmt yuv420p -c:a copy output.mp4