Rotate video
Fix a sideways video in seconds. Nothing is uploaded, and by default nothing is re-encoded.
Free tools from Life2Film, the iPhone app that edits your day into a film by itself.
Your file is read and re-encoded by your own browser. No request carries it anywhere — this page has no upload endpoint to send it to.
Questions
Does rotating lose quality?
Not by default. Video files carry a rotation flag that players read, so the tool sets that flag and copies the frames untouched: same quality, done in seconds. If you tick «draw the turn into the frames», the picture is re-encoded, which costs a little quality once.
Why is my rotated video still sideways in some apps?
A few players and upload forms ignore the rotation flag and show the frames as they are stored. For those, rotate again with «draw the turn into the frames» ticked: the turn then is part of the picture and every player shows it upright.
Is my video uploaded?
No. Your browser reads and writes the file through WebCodecs; nothing leaves your device.
Let your agent rotate video: connect Life2Film's MCP (52 video tools, guides and skills)
claude mcp add --transport http life2film https://life2film.com/mcpPrompt, skill
Paste to your agent:
Use Life2Film's rotate-video on my file: call get_tool("rotate-video") on the life2film MCP, then do it.Claude.ai / ChatGPT connector: https://life2film.com/mcp · Cursor: {"mcpServers":{"life2film":{"url":"https://life2film.com/mcp"}}}
get_tool("rotate-video") · Skill file: /tools/rotate-video/skill.md · all skills
The other tools
Build this into your own project
Rotating a video, locally — the same way this page does it, on the user's machine, with no server. Take the code, or hand the prompt to a coding agent.
import { Input, Output, Conversion, BlobSource, BufferTarget, Mp4OutputFormat, ALL_FORMATS } from 'mediabunny';
const input = new Input({ source: new BlobSource(file), formats: ALL_FORMATS });
const output = new Output({ format: new Mp4OutputFormat(), target: new BufferTarget() });
// Metadata when possible (lossless); allowTransformationMetadata: false draws it into the frames.
const conversion = await Conversion.init({ input, output, video: { rotate: 90 } });
await conversion.execute(); Add "rotate or flip a video" to my project, running entirely in the browser.
Requirements:
- Use "mediabunny" (WebCodecs). Offer 90° right, 90° left, 180° and a horizontal mirror.
- Default to rotation metadata so the frames are copied untouched; offer an explicit option to
draw the turn into the frames (allowTransformationMetadata: false) for players that ignore it,
and say that this re-encodes.
- Keep the source container (MP4 stays MP4, MOV stays MOV).
- Write results in pieces (StreamTarget), not one ArrayBuffer: Chrome refuses buffers over ~2 GB.
Reference implementation: https://life2film.com/tools/rotate-video/
The engine is documented for agents, and every tool page is available as
markdown by adding .md to its address.