RASTER · VECTOR · CODEC / Container Mux
Client Canvas

MOV to MP4 Converter

Convert a MOV video to MP4 without uploading it anywhere. Most MOV files from an iPhone or QuickTime already hold H.264 or HEVC video and AAC audio, which MP4 can store as-is, so the default mode just moves them into a new container. That takes seconds and loses no quality. If the MP4 has to play on older devices, re-encode it to H.264 instead.

DARKROOM // RASTER & SVG PIPELINE
Container Mux
Source

Drop a .mov file here

iPhone, QuickTime or screen recordings. M4V and MKV work too.

Result

The MP4 appears here after you click Convert.

1 MOV and MP4 are almost the same format

MP4 (ISO/IEC 14496-14) was built on Apple's QuickTime file format, the format behind .mov. Both store the same kinds of video and audio streams in the same box structure. What differs is the label on the box and a handful of codecs each container is allowed to hold. That is why converting is usually a remux: the compressed video and audio are copied byte for byte into a new container, and nothing is decoded or re-compressed.

2 Which mode to pick

Fast, no quality loss

The right choice for most files. The output has the same codec, resolution and bitrate as the MOV, so it is about the same size. If a stream cannot go into MP4 as it is (ProRes, or PCM audio from a camera), only that stream is re-encoded.

Re-encode to H.264

Use it when the video is HEVC and has to play on a Windows PC without the HEVC extension, an older Android phone or a web page for every browser. It is also the way to make a file smaller, by lowering quality or resolution.

3 How it runs in the browser

The page reads the file with Mediabunny, a JavaScript library that parses and writes MP4 and MOV files. Remuxing is plain JavaScript and works in any modern browser. Re-encoding uses the WebCodecs API, which hands the work to the hardware video encoder in your device, so a one-minute 1080p clip usually takes well under a minute. The finished MP4 is held in memory until you download it, so the practical limit is your device's RAM, not an upload cap.

Workflow

Remuxing or re-encoding MOV videos to MP4 locally

  1. 01 Drop a .mov file on the left panel, or click Choose a file. The panel shows the codecs, resolution and duration it found.
  2. 02 Leave Mode on Fast, no quality loss for most files. It copies the streams into an MP4 and takes a few seconds.
  3. 03 Pick Re-encode to H.264 if the video is HEVC and has to play on Windows or older phones, or if you want a smaller file. Quality and Resolution control the size.
  4. 04 Tick Remove audio for a silent clip, for example a screen recording for a bug report.
  5. 05 Click Convert, watch the preview on the right, then click Download MP4.

CLI & FFmpeg

How to convert MOV to MP4 in code

FFmpeg

bash
# Remux: copy the streams, no quality loss, takes seconds
ffmpeg -i input.mov -c copy -movflags +faststart output.mp4

# HEVC from an iPhone: keep it HEVC but tag it so Apple players accept it
ffmpeg -i input.mov -c copy -tag:v hvc1 -movflags +faststart output.mp4

# Re-encode to H.264 + AAC for maximum compatibility
ffmpeg -i input.mov -c:v libx264 -crf 23 -preset medium -pix_fmt yuv420p \
  -c:a aac -b:a 128k -movflags +faststart output.mp4

# Same, scaled down to 720p
ffmpeg -i input.mov -vf scale=-2:720 -c:v libx264 -crf 23 -c:a aac output.mp4

-movflags +faststart moves the index to the front of the file so a browser can start playing before the whole video has downloaded.

In the browser with Mediabunny (what this page does)

js
import { Input, Output, Conversion, BlobSource, BufferTarget,
         Mp4OutputFormat, ALL_FORMATS, QUALITY_HIGH } from "mediabunny";

const input = new Input({ source: new BlobSource(file), formats: ALL_FORMATS });
const target = new BufferTarget();
const output = new Output({
  format: new Mp4OutputFormat({ fastStart: "in-memory" }),
  target,
});

// Empty options copy every stream that MP4 can hold.
// For H.264 instead: video: { codec: "avc", quality: QUALITY_HIGH, forceTranscode: true }
const conversion = await Conversion.init({ input, output, video: {}, audio: {} });
if (!conversion.isValid) throw new Error("Cannot convert this file");

conversion.onProgress = (p) => console.log(Math.round(p * 100) + "%");
await conversion.execute();

const mp4 = new Blob([target.buffer], { type: "video/mp4" });

macOS, without installing anything

bash
# avconvert ships with macOS and uses the same encoder as QuickTime
avconvert --source input.mov --output output.mp4 --preset PresetHighestQuality

# List the presets (PresetAppleM4V720pHD, Preset1920x1080, ...)
avconvert --help

Troubleshooting

HEVC playback on Windows and ProRes audio re-encoding

The MP4 plays with sound but a black picture on Windows
The video is HEVC and Windows has no HEVC decoder by default. Convert with Re-encode to H.264, or install the HEVC Video Extensions from the Microsoft Store.
Renaming .mov to .mp4 seemed to work, but some apps reject the file
Renaming changes nothing inside the file, so it still carries the QuickTime brand and any MOV-only streams. Lenient players open it; strict ones such as upload validators reject it. A real remux writes a proper MP4.
The video comes out sideways
Phones store rotation as metadata instead of rotating the pixels. Fast mode keeps that metadata and most players honor it. If a player ignores it, re-encode, which applies the rotation to the frames.
Conversion fails with an undecodable source codec
The MOV uses a codec the browser cannot decode, typically ProRes, DNxHD or Animation. Export H.264 from your editor, or run FFmpeg locally.
The tab crashes on a very large file
The output is assembled in memory. Close other tabs, convert on a desktop rather than a phone, or trim the clip first. For multi-gigabyte files, FFmpeg's -c copy is the better tool.

Codec notes

Stream copy remux vs WebCodecs H.264 re-encoding

The MP4 file format (ISO/IEC 14496-14) is derived from Apple's QuickTime format, and both share the ISO base media file format's box structure: an ftyp box naming the brand, a moov box with the index and a mdat box with the media. A remux rewrites the ftyp and moov boxes and copies the media data unchanged.

Fast mode keeps HDR and Dolby Vision metadata from iPhone recordings because the HEVC stream is not touched. Re-encoding to H.264 produces a standard dynamic range file, so colors on an HDR clip can look flatter.

Specs

QuickTime, MP4 and WebCodecs references

Q&A

MOV to MP4 conversion questions

Is my video uploaded anywhere?

No. The page reads the file from your disk, writes the MP4 in memory in this tab and hands it back as a download. Nothing is sent over the network, so private recordings stay on your device.

Does converting MOV to MP4 lose quality?

Not in the default Fast mode. MOV and MP4 can hold the same H.264, HEVC and AAC streams, so the tool copies them into the new container without decoding them, and the picture and sound are bit-for-bit identical. Only Re-encode to H.264 compresses the video again.

Why does my MP4 not play on Windows?

The video is probably HEVC (H.265), which iPhones record by default. Windows needs the paid HEVC Video Extensions to play it. Convert again with Re-encode to H.264, which every device and browser can play.

How big a file can it handle?

As much as your device's memory allows. The finished MP4 is held in RAM until you download it, so a 2 GB video needs roughly 2 GB free. Desktop browsers handle several gigabytes; phones may run out of memory sooner.

Which browsers does it work in?

Fast mode works in every current browser. Re-encode to H.264 uses the WebCodecs API, which is in Chrome, Edge, Opera and Safari 16.4 and later, and in recent versions of Firefox.

Can it convert ProRes MOV files?

Usually not. ProRes cannot be stored in MP4, so it has to be decoded and re-encoded, and browsers do not include a ProRes decoder. Export H.264 or HEVC from Final Cut, Premiere or DaVinci Resolve instead, or use FFmpeg.

Copied to clipboard