Video Converter
The Video Converter re-records any video your browser can decode into WebM (VP8/VP9, with Opus audio when the source has audio). Processing happens in your browser, nothing is uploaded, and the conversion takes about as long as the video plays. MP4, AVI, MOV, MKV and GIF output are not supported.
Overview
A video converter is an essential tool for anyone who works with digital media, addressing the widespread issue of format incompatibility. At its core, a video file consists of two main parts: a codec and a container. The codec is responsible for compressing and decompressing the video data, while the container, such as MP4, WebM or MOV, bundles the video, audio, and metadata together. Different devices and platforms support specific combinations of codecs and containers, leading to playback errors when a file is not in a recognized format. A converter normally solves this by re-encoding the video stream and repackaging it into a new container. This tool can only do the part a browser is genuinely capable of: it decodes whatever video your browser can play and re-records it to WebM.
The process of converting a video file is a technical operation known as transcoding, and it is worth being precise about what happens here, because that explains the limits. The source file is fed to a hidden video element, which your browser decodes. The decoded frames and audio are then captured again in real time with the MediaRecorder API and encoded as WebM (VP8 or VP9, with Opus audio when the source has a soundtrack). Because playback has to run at normal speed for the recording to capture every frame, the conversion takes about as long as the video plays, and you should leave the tab open while it works. The output is labelled with the codec the browser actually used, never with one it did not.
This tool takes the opposite approach to a cloud converter. Nothing is uploaded and there is no server doing the encoding: the whole job runs on your own machine, which keeps private footage private. The price of that privacy is a much narrower format list. Browsers can decode many containers but can natively encode only one, so the output is always WebM. That means MP4, AVI, MOV, MKV and animated GIF output are deliberately not offered, and no setting on this page will produce them. There is also a practical ceiling on length, because the recording runs in real time and holds the result in memory. If you need an MP4 or a GIF, convert the downloaded WebM in a desktop application afterwards.
Worked example
A 4-minute 1080p product demo converted to WebM for a website
A shop owner in Cebu has a 4-minute 1080p MP4 product demo with audio, and the web developer asked for a WebM file to embed because the host bills for bandwidth.
- Load the file. It is accepted by MIME type or by extension, the page reads the duration, and no file-size cap is applied, so the limit is the device rather than a number.
- Output is WebM only. The code probes MediaRecorder for video/webm codecs in order and reports which one it obtained: VP8 or VP9 with Opus, depending on the browser.
- Pick the quality. At the balanced 8 Mbps option the arithmetic is 8,000,000 bits per second x 240 seconds / 8 = 240 MB of video, plus 128,000 x 240 / 8 = 3.84 MB of audio, so about 244 MB in total.
- The 4 Mbps option halves the video part to 120 MB and gives about 124 MB in total, while 16 Mbps would give about 484 MB, which is why matching the source bitrate matters.
- The video is drawn to a canvas at its original width and height and re-recorded at normal playback speed, so a 4-minute clip takes about 4 minutes and the progress bar follows the playback position, with the tab kept open and in the foreground.
Result: The demo comes out as a .webm file with VP8 or VP9 video and Opus audio, about 244 MB at 8 Mbps or about 124 MB at 4 Mbps, after roughly four minutes of real-time recording. If MP4 is required, this is not the tool.
How to use Video Converter
- Choose a video file your browser can decode
- Optionally set the bitrate and a maximum duration
- Wait while it re-records in real time (about the length of the clip)
- Download the WebM file
Common mistakes
Waiting for an MP4, MOV, AVI, MKV or GIF output. The only container offered is WebM, and the code comments state that those other outputs are not possible rather than pretending otherwise.
For MP4 or GIF, use a desktop encoder such as HandBrake or FFmpeg, or an online converter that encodes on a server, which requires uploading the clip; this tool never does that.
Switching tabs, minimising the window or locking the phone during the conversion.
Keep the tab open and in the foreground for the whole run. The page says so directly, and a backgrounded or suspended page can stall the recording and leave a truncated file.
Choosing a higher bitrate than the source. Re-recording a 2 Mbps phone clip at 16 Mbps multiplies the file size without adding detail.
Match the source bitrate or go below it, and test on a short extract first by setting the seconds field to something small, because that field limits the recording from the start and is also the wait-time control.
Reading the real-time progress as a stalled job because the percentage climbs slowly.
Estimate the wait as the clip length when converting the whole video, or as the seconds limit if one is set, and use the cancel button if it is too long; cancellation discards everything and downloads nothing.
Features
- Output is always WebM (VP8/VP9 + Opus)
- No MP4, AVI, MOV, MKV or GIF output
- Runs in your browser, nothing uploaded
- Real bitrate and duration controls
Limits worth knowing
- Output is WebM only, with the video codecs the platform MediaRecorder supports: video/webm carrying VP8 or VP9 with Opus. MP4, AVI, MOV, MKV and GIF are impossible here, and if no WebM codec is reported the tool returns an error instead of a renamed file.
- Conversion is a real-time re-record through a canvas and MediaRecorder, so a 4-minute video takes about 4 minutes and the tab must stay open and in the foreground; there is no faster batch or offline mode.
- Quality options are 4, 8 and 16 Mbps for video with audio fixed at 128 kbps. There is no resolution, frame-rate or audio-bitrate control, and the canvas uses the source width and height unchanged.
- Only the first N seconds of a file can be kept: the seconds field trims from the start and 0 means the whole clip. There is no start offset, no mid-clip cut, no crop and no joining of two files.
- The whole job runs in the tab, so nothing is uploaded and no size limit is enforced; the practical ceiling is device memory, and the audio is routed to the recorder so the preview is silent while it works.
When to use it
- A user has an OGV or WebM clip that will not import into their editing software. They convert it to a standard WebM (VP9) file the editor accepts, waiting the length of the clip for the real-time recording to finish.
- A student needs to submit a video in a web-friendly format. They convert the file to WebM here, keeping the footage on their own laptop, and then upload the result to the course platform.
- A journalist receives a sensitive clip that must not be uploaded to a third-party service. They convert it locally to WebM, so the footage never leaves the machine.
- A content creator wants a smaller copy of a long screen recording. They choose a lower bitrate and a maximum duration, and convert only the segment they plan to publish.
- A developer testing video playback needs a VP9/WebM sample with Opus audio. They convert a short clip and check the codec label the tool reports, which reflects what was actually recorded.
- A teacher prepares a clip for a browser-based lesson. They convert it to WebM, which every current desktop browser can play without a plugin.
Practical tips
- Expect the conversion to take as long as the video plays, and keep the tab open and visible. If the tab is closed or put to sleep, the recording stops and the partial file is lost.
- Check that your browser can decode the source before you start. MP4 (H.264), WebM and OGV sources generally work; if the browser cannot play the file, the converter says so instead of producing a broken output.
- Use the quality selector deliberately. 4 Mbps keeps the file small, 8 Mbps is a good balance for most footage, and 16 Mbps suits detailed screen recordings. The setting applies to the WebM recording, because there is no MP4 export to apply it to.
- Trim while you convert. Set a maximum duration to convert only the first part of a long clip, which saves both time and memory.
- Remember that the output list is fixed. If the result must be MP4 for a specific device or platform, download the WebM and remux or re-encode it in a desktop tool such as HandBrake or FFmpeg.
Why use this tool
- Understand exactly what you are getting: the output is WebM (VP8 or VP9, with Opus audio when the source has audio), which plays in Chrome, Edge, Firefox and most modern players and editing tools.
- Keep your footage private. The video is decoded and re-recorded entirely in your browser, so a confidential clip never leaves your computer and nothing is uploaded to a server.
- Convert formats that are awkward to handle elsewhere, such as OGV or an unusual WebM variant, into one consistent, current WebM output.
- Control the size of the result with real settings: choose 4, 8 or 16 Mbps for the recording, and cap the duration so you only convert the part you need.
- No installation and no account. It is an ordinary web page that works in desktop Chrome, Edge and Firefox; Safari does not implement browser recording, so the tool tells you it cannot run there.
- Plan your time realistically. Because the recording happens at playback speed, a ten-minute clip takes about ten minutes. Start it and do something else, keeping the tab open and in the foreground.
When this is not the right tool
- The target format is MP4, MOV, MKV or GIF, or the file must play on a device that does not accept WebM. — A desktop encoder such as HandBrake or FFmpeg, or an online converter with a server-side encoder, which means uploading the video and accepting that it leaves your device.
- The clip is long or the machine is slow. — HandBrake on a computer, because it encodes faster than real time and does not need a tab to stay awake.
- You need to cut, crop or merge before the format change. — A video editor first and this converter afterwards if WebM is still wanted, since this tool can only record the first part of a single file.
Frequently asked questions
Formats?
Input: any video your browser can decode, typically MP4 (H.264), WebM and OGV. Output: WebM only, using VP8 or VP9 with Opus audio when the source has audio. MP4, AVI, MOV, MKV and animated GIF output are not supported, because browsers cannot encode them.
How long does it take?
About as long as the video plays, because the frames are re-recorded in real time. Keep the tab open and in the foreground until it finishes.
File size limit?
Nothing is uploaded so there is no upload limit, but the result is held in memory, and very long clips can exhaust a browser tab. Use the maximum-duration setting to convert only part of a file.
Privacy?
All processing happens locally on your device. Your video is never uploaded to a server.
Related tools in Converters
- Unit Converter — Free Unit Converter — convert between 262 units across 8 categories: length, weight, volume, area, speed, time, data, and pressure.
- Temperature Converter — The Temperature Converter instantly converts between Celsius, Fahrenheit, and Kelvin.
- Currency Converter — Free Currency Converter using daily reference rates for 55 world currencies including USD, EUR, GBP, BRL, JPY, and INR.
- Length Converter — The Length Converter provides instant conversions between meters, feet, inches, kilometers, miles, yards, and more.
- Weight Converter — The Weight Converter handles kilograms, pounds, ounces, grams, stones, and more.
- Speed Converter — Free Speed Converter tool — instantly convert between km/h, mph, m/s, knots, Mach, and the speed of light.
- Date Difference Calculator — The Date Difference Calculator computes exact time between two dates in years, months, days, weeks, hours, and seconds.
- Timezone Converter — The Timezone Converter converts times between world time zones with DST adjustments.
- Audio Converter — The Audio Converter turns an audio file into WAV — and, when your browser supports it, WebM/Opus or OGG/Opus.
- Music Converter — The Music Converter turns a music file into WAV — and, where your browser supports it, WebM/Opus or OGG/Opus.
Further reading
Video Converter: Convert Video to WebM in Your Browser
Convert any video your browser can decode into WebM, running locally with nothing uploaded. It takes about as long as the video plays. MP4 and GIF output are not supported.