Rotate / Flip a Video
Pick a video, choose a rotation and/or flip — it's transformed in your browser, nothing is uploaded.
Rotate / flip a video
Pick a video, then rotate it clockwise by 90, 180, or 270 degrees and/or flip it horizontally or vertically. It re-encodes in your browser with ffmpeg; nothing is uploaded.
How it works
- Rotate turns the whole frame (90 = quarter-turn clockwise, 270 = counter-clockwise, 180 = upside-down).
- Flip mirrors the frame left↔right (horizontal) or top↔bottom (vertical).
- You can combine a rotation with a flip. The video is re-encoded as H.264; the audio is stream-copied when the container is kept, and re-encoded to AAC only when the output is converted to MP4.
Notes
- Great for fixing phone clips recorded sideways or upside-down.
- An mp4, mov, m4v, or mkv keeps its container; other inputs (webm, …) come out as MP4, since those containers can't hold H.264/AAC.
FAQ
Is my video uploaded?
No — ffmpeg runs in your browser tab; the file never leaves your device.
Can I rotate by an angle like 45°?
No — only quarter-turns are supported: 0, 90, 180, or 270 degrees clockwise (any other value is rejected). At least one of rotate or flip has to be active, otherwise there's nothing to do.
Does rotating lose quality?
The video track is re-encoded with H.264 (CRF 23, medium preset), so there's a small generational loss — usually invisible for phone clips. The audio track is stream-copied bit-for-bit when the container is kept (mp4/mov/m4v/mkv); for other inputs (webm, …) the output is converted to MP4 and the audio is re-encoded to AAC.
If I set both a rotation and a flip, which happens first?
The rotation is applied first, then the flip mirrors the already-rotated frame. So 90° + vertical flip means "quarter-turn clockwise, then mirror top↔bottom" — pick the combination with that order in mind.
Developer & Automation Access
Run it from the terminal
Same engine as this page, headless — via the gizza CLI:
gizza tool video-rotate 'url=https://example.com/input' 'rotate=90' 'flip=none'New to the CLI? Get gizza →
Open it by URL
Pre-fill and auto-run this tool with query parameters — the names match the API/CLI:
https://gizza.ai/tools/video-rotate/?url=https://example.com/input&rotate=90&flip=noneMachine-readable descriptor: tool.json — title + parameters JSON Schema for agents.
