Convert Video
Change format without handing your file to anyone. MP4, WebM, MOV β or pull out just the audio.
Container and codec are not the same thing
An .mp4 is a box. What matters is what is inside it β usually H.264, sometimes HEVC or AV1. Most "this file will not play" problems are about the codec, not the extension, which is why renaming a file never helps and why a .mov from a professional camera can defeat a browser that opens .mov files all day.
This tool reads what is actually inside your file and tells you before converting. When a target is not available in your browser, it says so rather than failing partway through a long encode.
Which format to pick
MP4 unless you have a reason not to: every phone, editor and platform accepts it. WebM is smaller at the same quality and ideal for a website, but is not universally accepted by apps. MOV is what Apple tools expect. WAV discards the picture entirely and leaves clean audio for transcription or an editor.
To shorten a file, use the trimmer; to make it smaller without changing its length, the compressor.
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
Which conversions are supported?
Between MP4, WebM and MOV, and from any of them to WAV audio. What actually works depends on your browser, because the encoding is done by the browser itself β Chrome and Edge cover the most ground, Safari handles MP4 and MOV well. The tool checks before it starts and says so if a combination is not available rather than failing halfway through.
Can I extract just the audio?
Yes β choose WAV and the picture is discarded, leaving the sound as an uncompressed file any editor or transcription tool will accept. WAV is deliberately large; if you need something small, convert and then compress, or keep the original.
Is anything uploaded?
No. Conversion runs through WebCodecs in your browser. That is the point of doing it this way: converting a large file by uploading it, waiting on a queue and downloading it back is slower than doing it locally, and it puts your footage on a stranger's disk in between.
Why can my browser not open a MOV from my camera?
A .mov file is a container, and what matters is the codec inside it. Browsers handle H.264 and, increasingly, HEVC β but not ProRes, DNxHD or camera-raw formats, which is what professional cameras usually write into a .mov. Those need a real transcode from a desktop tool first.
Does converting lose quality?
Changing container between MP4 and MOV can often be done without touching the video at all. Changing codec β to WebM, for example β means re-encoding, and re-encoding always costs a little. It is generally invisible for one generation, and it accumulates if you convert the same file repeatedly.
The other tools
Build this into your own project
Converting video between formats in the browser β 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 { getFirstEncodableVideoCodec, WebMOutputFormat } from 'mediabunny';
const format = new WebMOutputFormat();
const codec = await getFirstEncodableVideoCodec(format.getSupportedVideoCodecs());
if (!codec) throw new Error('This browser cannot encode WebM video'); Add "convert a video between formats" to my project, running entirely in the browser.
Requirements:
- Use "mediabunny" (WebCodecs). Support MP4, WebM and MOV, plus WAV for audio-only output.
- Check what the browser can actually encode BEFORE starting, with getFirstEncodableVideoCodec on the
chosen output format. Finding out by failing at 70% of a long encode is the worst possible way to
learn it. Say which codec will be used when it succeeds.
- A container is not a codec. Read what is inside the file and show it: browsers handle H.264 and
often HEVC, but never ProRes or camera raw, and a .mov from a professional camera will not open.
Say that in the error rather than "unsupported file".
- Hide the resolution control for audio-only output β it is meaningless without a picture.
- MP4 to MOV can often be done without touching the video; changing codec cannot.
Reference implementation: https://life2film.com/tools/video-converter/
The engine is documented for agents, and every tool page is available as
markdown by adding .md to its address.