Skip to main content

Rotate and Flip Video

Turn a sideways video upright or mirror it in your browser, without uploading the file.

Choose a video

or drop it here

The video is processed on this device and never uploaded.

MP4, MOV, WebM, MKV, AVI, WMV, FLV, 3GP, TS / MTS / M2TS or VOB / MPG

Files over 1 GB can be slow. Very large outputs need a browser that can save straight to a file.

How it works

Fast mode copies the video and audio packets unchanged into a new MP4 or MOV file and writes the rotation or flip into the track's display matrix. Nothing is re-encoded, so the picture is bit-for-bit the same, but the whole file is still read and written, so a long video takes a moment.

Re-encode mode decodes every frame, turns or mirrors the pixels and encodes the video again (H.264 for MP4 and MOV, VP9 for WebM and MKV). It uses your browser's WebCodecs encoder where it can, and the slower FFmpeg.wasm engine otherwise.

Either way the work happens on your device; the video is never uploaded.

Supported files

Inputs
MP4, M4V, MOV, WebM and MKV. Other formats the converter reads, such as AVI and 3GP, are re-encoded to MP4.
Outputs
Fast mode keeps the container and works with MP4 and MOV only. Re-encode mode keeps the container of an MP4, MOV, WebM or MKV input; other inputs become MP4.

Limitations

  • Some players, editors and upload services ignore rotation metadata and show a fast-mode file unrotated. Re-encode mode works for them.
  • WebM and MKV cannot carry rotation metadata that players respect, so those files always use re-encode mode.
  • Fast mode needs no WebCodecs. If a file has to fall back to FFmpeg.wasm, that engine can rotate losslessly but can only flip by re-encoding.
  • Re-encoding is slower than a copy and costs a little quality; the output size can differ from the original.
  • Re-encode mode drops subtitle and data tracks. The result lists any track that is not in the output.

Questions

Does rotating a video lose quality?

Not in fast mode, which copies the video stream and changes only the rotation flag. Re-encode mode compresses the video once more at high quality, which is close to the original but not identical.

Why does my rotated video still play sideways?

The player ignores rotation metadata. Rotate the original file again in re-encode mode, which turns the pixels themselves.

Can I flip a video upside down or mirror it?

Yes. Flip horizontal mirrors left and right, which fixes a mirrored selfie recording. Flip vertical turns the picture upside down as a mirror image. Both combine with any rotation, and the preview shows the result.

Is my video uploaded?

No. The file is processed in this browser tab and the result is saved from memory, or straight to a file you choose for very large outputs.

Example

A portrait phone clip shows up sideways at 1920 x 1080 on a laptop. Choose 90° right and keep fast mode. The new MP4 plays at 1080 x 1920 in players that read rotation, with the same video and audio data and about the same size. If an editor still shows it sideways, rotate the original again in re-encode mode.