Skip to content

Convert video to MP4, WebM or audio

Turn a MOV from an iPhone, an MKV or a WebM into an MP4 that plays everywhere, make a WebM for a web page, or keep just the sound as an M4A or Opus file. When the video inside already fits the new format, it is copied across instead of re-encoded: no quality loss, and done in seconds.

or drop it anywhere
No upload · runs 100% in your browser
A frame of a video of a swimmer in mid-air, diving into a blue forest lake, converted from MP4 (7.17 MB) to WEBM (1.52 MB).

Copy or re-encode: why some conversions take seconds

A video file is a container (MP4, MOV, WebM, MKV) holding compressed streams: a picture in a codec such as H.264, VP9 or H.265, and sound in AAC, Opus or MP3. Changing the container alone is quick: the streams are copied byte for byte into the new wrapper. Re-encoding is needed only when the new format can’t hold the codec, as with VP9 into a widely playable MP4, or when you ask for it.

Measured: common conversions of the test clip
From → toWhat happensResultTime
MOV (H.264 + AAC) → MP4Both streams copied19.2 MB, identical picture0.4 s
WebM 720p (VP9 + Opus) → MP4Re-encoded to H.264 + AAC5.70 MB12.9 s
MP4 1080p → WebMRe-encoded to VP9 + Opus8.17 MB32.7 s
MP4 → M4A audioAAC sound copied out317 KB0.15 s
WebM → Opus audioOpus sound copied out322 KB0.15 s
MP4 → Opus audioAAC re-encoded to Opus, 112 kbit/s278 KB0.4 s

Our measurements, 6 November 2026: Chromium 149, Windows desktop, 16 threads. Source files were made from one generated 20-second 1080p test clip (H.264 + AAC, 19.2 MB), rewrapped as MOV, and re-encoded once to a 720p VP9 + Opus WebM. Copies are limited by how fast the file can be read; the re-encodes ran on software encoders, which a hardware encoder in a regular browser window roughly halves.

Before you start, the page says exactly which streams will be copied and which re-encoded. Tick “Re-encode even when the streams could be copied” when a player refuses the copied file, for example an older TV that can’t play H.265, or to rebuild a file with damaged timing.

Which format to choose

Output formats compared
FormatInsideGood for
MP4H.264 (or the original H.265) + AACSharing, phones, Windows, TVs, editors, social sites: the safe choice
WebMVP9 + OpusWeb pages and browsers; smaller at the same quality, fewer players outside browsers
M4AAAC sound onlyMusic apps, iPhone, podcasts; copied without loss when the video has AAC sound
Opus (.opus)Opus sound onlyThe smallest good-sounding audio; plays in browsers, Android and VLC

There is no MP3 option because browsers don’t provide an MP3 encoder to web pages; M4A plays in the same places MP3 does on current phones and computers.

Why some old formats aren’t supported

This page uses the decoders and encoders built into your browser (WebCodecs). They read today’s formats very fast, often in hardware, but not AVI, WMV, FLV or MPEG-2. The usual way around that is FFmpeg compiled to WebAssembly, and we measured it before deciding:

  • Download size: the FFmpeg core is 32 MB (about 10 MB compressed), against about 150 KB compressed for the code behind this page.
  • Speed: it can only use one processor core on this site. Re-encoding our 20-second 1080p clip to 720p H.264 took 97 seconds, against 7.5–14.5 seconds with the browser’s encoder.
  • Licensing and quality: the build we could legally ship leaves out the x264 H.264 encoder (it is GPL-licensed). Its VP8 encoder took 45 seconds for the same job and the picture measured 34.8 dB PSNR, against 41 dB here: visibly softer.

For a handful of legacy formats that is a poor trade, so these files are named and refused instead. A desktop converter such as HandBrake or VLC turns them into MP4, which this page can then trim, compress or convert further.

What does open: MP4, M4V and MOV from phones and cameras, WebM, and MKV holding H.264, H.265, VP9 or AV1 picture with AAC, Opus, MP3, FLAC or Vorbis sound. An MKV with an old DivX or Xvid stream inside opens, but its picture can’t be decoded, so only its sound can be extracted. ProRes and other editing codecs can be rewrapped but not re-encoded.

Browsers and large files

Rewrapping and copying work wherever the browser has WebCodecs, which today means current Chrome, Edge, Opera, Firefox and Safari, on desktop and mobile. Re-encoding uses whatever encoders the browser exposes: Chrome and Edge have them all; a browser without an H.264 or AAC encoder gets WebM or Opus sound instead, and the page names the change before you convert. We could not test every Safari version.

Size is not a hard limit. The source is read in slices rather than all at once, and a large converted file is written straight to the browser’s own private storage on disk, then saved from there. On iPhones and iPads and on computers with 4 GB of memory or less, a very large file gets a warning first.

Converted on your device

The streams are read, copied or re-encoded by your browser inside this tab. Photoyam has no server to upload to, so the video and its sound stay with you.

Video conversion questions

Does converting MOV to MP4 lose quality?

Usually not. iPhone and camera MOV files hold H.264 or H.265 video with AAC sound, which MP4 can hold too, so the streams are copied unchanged. Only the wrapper changes, which is why it takes seconds.

Why did my WebM take longer than my MOV?

WebM normally holds VP9 video and Opus sound. A widely playable MP4 needs H.264 and AAC, so both are re-encoded frame by frame. The page shows which streams will be re-encoded before you start.

How do I get just the sound from a video?

Choose M4A audio or Opus audio. If the video already has AAC sound, M4A copies it out without any loss; Opus copies Opus sound the same way. Other combinations are re-encoded, which takes a second or two.

Can it convert to MP3?

No. Browsers don’t offer web pages an MP3 encoder, and this page only uses the browser’s own encoders. M4A (AAC) sounds as good at the same size and plays in the same apps on current devices.

My iPhone video plays in the original but not after converting. Why?

iPhones record H.265 (HEVC) by default. Copied into MP4 it plays on recent phones and Macs and on Windows with the HEVC extension, but not on some older players. Tick “Re-encode even when the streams could be copied” to get H.264, which plays everywhere.

Is there a file size limit?

Not a fixed one. Files are read in pieces and large results are written to the browser’s private disk storage. On iPhones, iPads and devices with 4 GB of memory or less the page warns before working on very large files.

Related video tools

Looking for something else? Browse every Photoyam tool.