Browser-based video tool · MP4, MOV, MKV, WebM, OGV in → MP4 or WebM out

Video Converter

Re-encode a video into the container and codec you choose, with a size cap and a frame-rate limit. The page lists only the formats your browser can actually write, and it reads only the inputs your browser can actually decode. Conversion runs in real time on your computer; nothing is uploaded.

Source video

A file is accepted if this browser can play it. MOV and MKV open when they hold H.264, VP9 or another codec your browser decodes.

Drop a video here or click to choose

.mp4, .webm, .mov, .m4v, .mkv, .ogv

What this browser can write

Checking this browser…

There is no MOV, MKV or AVI output: browsers record only WebM and MP4. MP4 and H.264 recording support differs by browser and version, so the ticks above are the only reliable guide.

Output settings

Keep this tab in front while converting; recording pauses while it is hidden and resumes when you return.

Converted video

The result plays here once it is ready

Choose a video to start.

Video Converter

Operator: Abdulla Al Fahad. How tools are built and checked

A browser can write video in only a few combinations of container and codec, and which ones depends on the browser and its version. This page does not guess: it asks your browser's recorder about eight format strings, lists the ones it accepts, and converts into the one you choose, with a limit on size and frame rate and an optional trim. The list on the page, with a tick or a cross for each, is the honest answer to "what can this browser make?".

Video Compressor on this site aims at a target file size. This converter is about the container and codec, so the controls are the format list, a size cap and a frame-rate cap.

Key features

  • A live support list for eight recording formats in your own browser
  • Resolution caps that never enlarge the picture and keep both sides even
  • A frame-rate cap that limits how many frames the recorder is offered per second
  • Start and end fields to convert only part of the file, up to an hour

Which formats a browser can read and write, and what real-time encoding means

Inputs are MP4, WebM, MOV, M4V, MKV and OGV, but only if the browser can play them. A MOV that holds H.264 usually opens; one with ProRes or HEVC may not, and an MKV opens when it holds codecs such as H.264, VP9 and AAC, Opus or Vorbis that the browser decodes. When a file is refused, the message says whether the container, the picture or the length could not be read.

Outputs are the formats the recorder reports as supported out of these: WebM with VP9, VP8 or AV1 video and Opus audio; MP4 with H.264 (three spellings, shown as one choice), H.265 and AAC; and a generic MP4 when no specific MP4 codec is accepted. There is no MOV, MKV or AVI output, because browsers do not record them. The size cap is the shorter side (1080, 720, 480 or 360), the frame-rate cap is 30, 24 or 15, and the video bit rate is pixels x frames per second x 0.1, 0.06 or 0.035 bits per pixel for High, Balanced or Smallest, between 150 kbit/s and 16 Mbit/s, plus 128 kbit/s for sound.

How it works

Every conversion here is a re-encode, and it is the one place on this site where that is explained in full; the other recorders, such as the slideshow, audiogram and resizer pages, work the same way. The file plays once through a hidden video element while each frame is drawn onto a canvas of the output size, and MediaRecorder encodes the canvas stream together with the audio at the bit rate the page planned. That is why a 4-minute file takes about 4 minutes, why the recording clock stops while the tab is hidden, and why there is no faster path: a web page has no way to hand the recorder frames quicker than they are shown. A remux, which copies the encoded video and audio into another container without touching the picture, would be instant and lossless, but the recording tools open to a web page cannot do it.

Common use cases

  • Making an MP4 that a messaging app will accept from a 5-minute WebM screen recording
  • Making a WebM for a website from an MP4 and capping it at 480p so it stays small
  • Dropping a 60 fps game clip to 30 fps to cut its video bit rate in half before sending it

How to use this tool

  1. Drop the video and check that the player shows it with a length.
  2. Choose the container and codecs from the list of what your browser can write.
  3. Set the largest size, the frame-rate cap, the quality and whether to keep the sound.
  4. Read the summary line, then click Convert and wait for the progress bar to finish.

Example

A 4-minute 1920 x 1080 MOV from a screen recorder, to 720p, 30 fps, Balanced, H.264 MP4

Source 1920 x 1080, 240 s
Output size: shorter side 720 -> 1280 x 720

What the page works out (from running the code)

Video bit rate   1280 x 720 x 30 x 0.06 = 1.659 Mbit/s
Sound            128 kbit/s
Estimated size   55.2 MB (51.3 MB without sound)
Time to convert  about 4 minutes, because the file plays once in real time

Tips for best results

  • With Firefox or another browser that offers only WebM, convert to WebM first and test the file where you need it; the format list on the page is the only reliable guide to what that browser writes.
  • A frame-rate cap only lowers the rate; it never invents frames. A 24 fps source with a 30 fps cap stays at 24.
  • At 1280 x 720 and 30 fps, High asks for about 2.76 Mbit/s, Balanced about 1.66 and Smallest about 0.97, so Smallest is roughly a third of High for the same picture size.
  • To convert only the part you need, set a start and end first: the wait is the length of the range, not of the whole file.

Edge cases to watch

Each conversion decodes and compresses the picture again, so repeated conversions cost a little quality every time.

The recorder treats the bit rate as a target. A still scene often lands below it and a busy one above it, so the real size differs from the estimate.

A file the browser cannot play cannot be converted here. A HEVC clip from a recent phone opens in Safari but not in every other browser.

A WebM written by MediaRecorder has no length stored by the browser; the page adds it, but a few players may still not let you seek in it.

Frequently asked questions

Why is MP4 missing from my list?

Your browser's recorder said no to every MP4 format string. That is common in browsers that write WebM only; use WebM, or try another browser.

Why is WebM already selected when my browser can also write MP4?

The choices are listed with the WebM formats first, and the first one your browser accepts is preselected. Pick an MP4 entry in Container and codecs before you convert if that is what you need.

Does it keep subtitles, chapters or several audio tracks?

No. Only the picture and the first audio track the browser plays are recorded. Metadata such as the GPS tag and creation date is not carried over.

Can I convert to an audio file?

Not here. Extract Audio from Video saves the soundtrack as a WAV file.