OfflaneAI

Video converter —
MP4, MOV, WebM, MKV, done on your device

Drop a video, choose the output format and quality, download. The video is re-encoded on your device with the hardware encoder: H.264 for MP4 and MOV, VP9 for WebM. Works offline after the first visit.

  • 🎬 MP4 · MOV · WebM · MKV
  • ⚡ Hardware video encoder
  • 🔒 Video never leaves your device
  • 💸 Free, no watermark, no size limit

Loading the tool… (JavaScript required)

Which formats can I convert?

Input: MP4, MOV, M4V, WebM, MKV and 3GP with H.264, HEVC, VP8, VP9 or AV1 video. Output: MP4 (H.264), WebM (VP9), MOV and MKV. Every conversion re-encodes the video and the sound; “Same as original” quality keeps the resolution, the frame rate and about the source bitrate.

Why is it fast and free with no limits?

The work happens on your computer or phone with the WebCodecs API, which uses the same hardware encoder your camera app uses. There is no server, so there is no queue, no upload time and no reason to charge per file.

Does it reduce quality?

A little, always: the picture is re-encoded, never copied. “Same as original” and “High” stay at about the bitrate of the source, so the difference is hard to see. “Medium” and “Small” trade some sharpness for much smaller files. The sound is re-encoded at 160 kbps (AAC, or Opus in WebM).

How to convert a video

  1. Add the file. Drop a video on the upload area or click it to choose one. The line above the player shows its size, resolution, length, frame rate and video codec.
  2. Choose “Output format”. MP4, WebM, MOV or MKV.
  3. Choose “Quality”. The page opens on “Same as original (about the source bitrate)”. The three other levels make the file smaller.
  4. Adjust Resolution, Frame rate and sound if needed. All three start on “Same as original”, with the sound kept.
  5. Press the Convert button. Its label names the target, for example “Convert to MP4”. Keep the tab open while the progress bar runs.
  6. Download. Check the result in the player. The button shows the size of the new file, which keeps the original name with the new extension.

Container and codec: the two halves of a format

The file extension names the container: the wrapper that holds picture, sound and timing. MP4, MOV, WebM and MKV are containers. What is inside is compressed with a codec such as H.264, HEVC, VP9 or AV1 for the picture and AAC or Opus for the sound.

A player has to understand both halves. That is why one .mkv plays on your TV and another does not, and why a .mov from an iPhone can fail on an older Windows PC.

The info line tells you what you have. AVC is the technical name of H.264; HEVC is also called H.265.

The four output formats

Output formatVideo codecAudio codecOpens onChoose it for
MP4H.264AACPractically every device, app and websiteSharing, uploading, presentations
WebMVP9OpusBrowsers, Discord, AndroidYour own website, wikis
MOVH.264AACApple apps and most editorsQuickTime and Final Cut workflows
MKVH.264AACVLC, Kodi, Plex and similar media playersMedia libraries

MP4

The safe default. H.264 with AAC is what phones, TVs, messengers, social networks and office software expect.

WebM

An open format built for the web. It is encoded with VP9; if the browser cannot encode VP9, the tool tries AV1 and then VP8. Sound becomes Opus at 48 kHz. Hardware VP9 encoders are rare, so the work is usually done in software and takes longer than MP4.

MOV

The QuickTime container with the same H.264 and AAC inside as the MP4 option. Pick it only when an Apple-centred workflow asks for .mov.

MKV

Matroska, written here with H.264 and AAC. Use it when a media library expects .mkv. It will not open in the built-in players of iPhones.

When a codec is missing

If the browser has no H.264 encoder for the frame size, MP4 and MOV fall back to HEVC, and MKV to VP9. If it cannot encode AAC, Opus is used.

What the converter can read

SourceResult
MP4, M4V or MOV with H.264Works
MP4 or MOV with HEVC (iPhone “High Efficiency”)Works on devices with an HEVC decoder
WebM with VP8, VP9 or AV1Works
MKV with H.264, HEVC, VP9 or AV1Works; see the note on sound below
3GP with H.264Works; very old 3GP clips with H.263 do not
MOV with ProResNot decodable in Chrome or Edge
AVI, WMV, FLV, MPG, VOBNot supported: these containers are not read

Sound in AAC, MP3, Opus, Vorbis or FLAC is converted. AC-3 and DTS tracks, common in MKV films, often cannot be decoded by a browser; the track is then left out and the result is silent.

Quality: what the four levels do

Every conversion decodes the picture and encodes it again, including “Same as original”. At present the tool does not copy the existing video stream into the new container, even when the codec would fit. Quality therefore sets the bitrate of the new encode.

QualityVideo bitrateUse it when
Same as original (about the source bitrate)About 10% above the source, at least the Medium value, at most 40 Mbit/sOnly the format should change
High — barely visible differenceThe bitrate of the source, at least 1.6 times the Medium value, at most 40 Mbit/sMuch the same as above
Medium — web, social media3.5 Mbit/s at 1080p, about 1.6 at 720p, about 0.7 at 480pThe file should also get smaller
Small — email, WhatsApp, TelegramHalf of MediumSize matters most

Three consequences are worth knowing:

  • The first two levels do not shrink the file, even with a lower resolution, because both follow the bitrate of the source.
  • A low-bitrate source grows. A screen recording at 1 Mbit/s is raised to the Medium value, 3.5 Mbit/s at 1080p, by “Same as original”. Choose Small to keep such a file compact.
  • One re-encode is not visible at these bitrates on normal footage. Repeated conversions add up, so always convert from the original file.

Resolution, frame rate and sound

Resolution

“Same as original”, 1080p, 720p or 480p. The number limits the longer side to 1920, 1280 or 854 px and keeps the proportions. A video that is already smaller is not enlarged.

Frame rate

“Same as original” keeps the timing of the source, including a variable frame rate. 30, 24 or 15 fps give the output exactly that constant rate. A fixed rate is useful for editors: screen and phone recordings often have a variable frame rate, which can make sound drift in editing software.

Remove sound

Ticking the box leaves the audio track out. Otherwise the sound is encoded again at 160 kbps in the audio codec of the chosen format.

Settings for common conversions

JobOutput formatQualityOther settings
iPhone MOV for Windows, Android or a web uploadMP4Same as original—
Browser screen recording for an editorMP4Same as original or MediumFrame rate 30 fps
MKV for a phone or tabletMP4Same as original—
Clip for your own web pageWebMMediumResolution 720p or 1080p
Short clip for DiscordWebM or MP4SmallResolution 720p
4K footage for an old laptop or projectorMP4MediumResolution 1080p
Silent loop for a slide or a siteMP4MediumRemove sound

What is not carried over

  • Subtitle tracks and chapters. Only picture and sound are converted. To keep captions, burn them into the picture with the subtitle tool.
  • Rotation flags. A phone video stored sideways with a rotation flag comes out with the frames turned upright, which is what most players expect.
  • Transparency. A WebM with an alpha channel becomes an ordinary opaque video.
  • The original bitstream. The result is a new encode, not a bit-for-bit copy of the picture.

Speed, long files and where the work is done

The page uses WebCodecs, the browser interface to the encoders of your device, and the open-source Mediabunny library to read and write the containers. H.264 normally runs on the hardware encoder of the graphics chip or phone processor. VP9 for WebM mostly runs on the processor, so allow more time for it.

Time grows with the length and resolution of the video. There is no length limit and no upload, so the converter also suits footage that must not leave your device. Results expected to exceed 300 MB are written to the browser’s private disk storage in Chrome and Edge and need that much free space; Safari holds them in memory. WebCodecs is present in Chrome, Edge, Opera and Safari 17+.

Converter or another tool

You wantUse
A smaller file with a size estimate before you startThe video compressor
Only the soundtrackThe video to MP3 converter
An animated GIF from a clipThe video to GIF maker
A video from an animated GIFThe GIF to MP4 converter
Another format for an audio fileThe audio converter

Troubleshooting

“This video codec cannot be decoded by your browser”

The container was read, but the browser has no decoder for the picture. This happens with HEVC on devices without HEVC hardware support, with ProRes and with old H.263 clips. Try Edge or Safari, or another device.

“Input has an unsupported or unrecognizable format”

The file is in a container the tool cannot read, such as AVI or WMV. Desktop software such as HandBrake or VLC can convert those. “No video track found in this file” means the file was read but holds only sound.

The new file is larger than the original

The source had a low bitrate and “Same as original” or High raised it. Choose Medium or Small.

The result has no sound

Check that “Remove sound” is not ticked. If the source is an MKV with AC-3 or DTS audio, the browser could not decode it. Convert the sound separately with desktop software, or look for a version of the file with AAC audio.

Converting to WebM is slow

VP9 is usually encoded in software. Lower the resolution to 720p, or use MP4 if the destination accepts it.

The conversion stops on a long file

Keep the tab open and in the foreground, free some disk space and close other heavy tabs. On a phone, convert at 720p.