VidToFLAC

Convert your video and audio between popular formats

MP4, MKV, MOV, WebM, AVI, GIF, MP3, WAV, FLAC and more — you pick the output format. Everything is processed inside your browser: your files are not uploaded to any server.

Security and privacy Everything runs locally with FFmpeg.wasm inside your browser. Your files are never uploaded or stored on any server: your files never leave your machine.
You pick the format Six video containers and six audio formats, with three quality levels. No watermarks and no sign-up. Because conversion runs on your own machine, there is no server-imposed size limit: the practical limit is your browser’s available memory.
No needless re-encoding When the source codec fits the target container, the video is copied bit for bit: the format change is far quicker than a full conversion and the picture stays untouched.
0 files converted in this browser · none has left your device
Select a file to start the engine
Idle
01 Select your input files
Drag your files here or click
Video or audio · MP4 · MOV · MKV · AVI · WEBM · MP3 · WAV · several at once
02 Convert
Video
Audio
Quality

Pick an output format · the quality level only applies when re-encoding is required

Ctrl + D Press Ctrl+D to bookmark this site
Processing… —
03 Results
Technical details · FFmpeg
How it works
STEP 01 Add your files Drag in video or audio, or click to pick a file. It stays on your machine.
STEP 02 Choose format and quality A video container or an audio format, plus the quality level used whenever re-encoding is needed.
STEP 03 Convert and download FFmpeg works inside the browser. Preview the result and download it instantly — no upload wait.
What each format gives you
FormatOutput codecsWhen to use it
MP4H.264 + AACThe safe pick: plays on most phones, browsers and TVs.
MKVH.264 + FLACLossless audio for editing: DaVinci Resolve, Premiere and Avid read it with no extra codecs.
MOVH.264 + AACApple workflows: Final Cut Pro and QuickTime.
WebMVP8 + OpusWeb publishing with royalty-free codecs. Slower to produce.
AVIMPEG-4 + MP3Compatibility with older software and hardware.
GIFAnimated GIFShort soundless clips for chats, forums or documentation.
MP3MP3 (LAME)Lossy audio with the widest compatibility.
WAV16-bit PCMUncompressed lossless audio, ready for any DAW.
FLACFLACLossless and compressed: half the size of a WAV, same quality.
M4AAACAudio for the Apple and iOS ecosystem.
OGGVorbisFree alternative to MP3, common in video games.
OPUSOpusBest quality per bit: speech, podcasts and streaming.
What this page is for

Change a video's format with no install and no upload

Almost every online converter works the same way: you upload your file to somebody else's server, you wait, and you download the result. Your video — often personal or client material — ends up stored on a machine you have no control over. That is not what happens here.

VidToFLAC runs FFmpeg compiled to WebAssembly inside the browser tab itself. When you drop a file in, the browser reads it from disk and places it in a virtual in-memory file system; FFmpeg works there and hands the result back to the same tab. There is never an upload request: you can go offline once the engine has loaded and conversion keeps working exactly the same.

The three reasons people change format

  • Compatibility: a device, an editor or a website will not accept the container or codec you have. Converting to MP4 with H.264 solves the vast majority of these cases.
  • Size: the file is too big to send or upload. Dropping the quality to Balanced or Light, or moving the audio to MP3 or Opus, shrinks it dramatically.
  • Pulling out a track: you only need the audio from a video — for a podcast, a transcript or an edit. Picking an audio format discards the video and leaves you the sound track alone.

Container and codec are not the same thing

An .mp4 file is not the video: it is a container, an envelope holding one picture track and one or more audio tracks. What actually determines compatibility is the codec in each track. That is why two MP4 files can behave completely differently: one with H.264 and AAC opens anywhere, while another with H.265 and Dolby Digital may fail in the very same player.

When you pick an output format here you are picking both at once: the container and the codecs that will fill it. The table above spells out exactly which combination each option produces.

When conversion is quick and when it takes time

If the source video codec fits the target container as-is — H.264 going from MOV to MP4 or MKV, say — the tool performs a remux: it copies the video stream bit for bit, without decoding a single frame. That is far quicker than a full conversion and the resulting picture is identical to the original.

When that is not possible — converting to WebM, AVI or GIF, or when the source video uses a codec the target container cannot hold — the file must be re-encoded: every frame is decoded and compressed again. That does cost CPU time, and here it runs single-threaded inside the browser. For long files, pick the Light quality level or stay on MP4 or MKV.

Frequently asked questions

Common questions about converting formats

Are my files uploaded to a server?

No. The conversion runs on FFmpeg compiled to WebAssembly inside your own browser. Files never leave your machine: nothing is uploaded, stored or analysed remotely. You can verify it by going offline once the engine has loaded — conversion keeps working.

Which output formats can I choose?

Video: MP4 (H.264 + AAC), MKV (H.264 + FLAC), MOV (H.264 + AAC), WebM (VP8 + Opus), AVI (MPEG-4 + MP3) and animated GIF. Audio: MP3, WAV, FLAC, M4A (AAC), OGG (Vorbis) and Opus. On the input side, virtually any format FFmpeg can read works.

Does converting lose quality?

It depends. If the source codec fits the target container — an H.264 video going from MP4 to MKV, for instance — the video stream is copied bit for bit and nothing is lost. When re-encoding is required, the quality level you picked applies: High uses CRF 18, practically indistinguishable from the original. On the audio side FLAC and WAV are lossless; MP3, AAC, OGG and Opus do recompress.

Is there a file size limit?

The limit comes from WebAssembly memory, roughly 2 GB for input and output combined. In practice files up to about 1 GB work comfortably. For anything larger, split the video into shorter parts before converting.

Why do WebM and GIF take longer?

Because they are the conversions that force every frame to be re-encoded with a different codec. VP8 (WebM) and GIF palette generation are CPU-heavy and run single-threaded here. For long files pick the Light quality level, or stay on MP4 or MKV.

Can I convert several files at once?

Yes. Drop in as many files as you like: they are processed one after another with the same output format, and you can download them individually or all at once with the Download all button.

Technical guide

Which format to pick, based on what the file is for

For the web or messaging apps: MP4

H.264 + AAC inside an MP4 is the common denominator of all digital video: phones, browsers, TVs and consoles decode it in hardware. If you are unsure where the file will end up, MP4 is the answer. High quality (CRF 18) is visually indistinguishable from the original on most material; Balanced (CRF 23) shrinks the file noticeably and is still perfectly good for social media.

For video editing: MKV with FLAC audio

Editors nearly always trip over the audio, not the picture. The free version of DaVinci Resolve — markedly so on Linux — ships without licences to decode AAC or AC3, so the track shows up greyed out or the clip imports silent. FLAC is lossless and natively supported in Resolve, Premiere Pro, Avid and Final Cut, and MKV is the container that handles it best. If that is your exact situation, the main VidToFLAC tool is tuned for that workflow.

For archiving audio: FLAC or WAV

FLAC compresses without discarding information: the reconstructed audio is bit-for-bit identical to the original and takes 47 % a 94 % less space than the same material as WAV. WAV stores uncompressed PCM, so it is bigger, but every DAW and field recorder opens it without a second thought. Both are lossless: converting between them degrades nothing.

One technical detail: some USB microphones and recorders export audio as floating-point PCM (pcm_f32le). FLAC only accepts integer samples, so the tool automatically inserts a 32-bit integer conversion step before encoding.

For sharing compressed audio: MP3, M4A, OGG or Opus

All four are lossy and all of them recompress the signal, so always start from the highest-quality original you have and avoid chaining conversions. MP3 is the most compatible format on earth and the safe choice. M4A (AAC) sounds better than MP3 at the same bitrate and is the Apple ecosystem standard. OGG (Vorbis) is the free, patent-unencumbered alternative, common in video games. Opus is the most efficient of the lot — at 96 kbps it beats a 192 kbps MP3 — and is especially strong on speech, though older players do not support it.

For an animated GIF

GIF carries no audio and allows only 256 colours per frame, so video with gradients or heavy motion suffers. To compensate, the tool builds an optimal palette from the clip itself before writing the GIF (palettegen + paletteuse), which looks far better than a straight conversion. The quality level controls frame rate and width: High is 15 fps at 640 px, Light is 10 fps at 360 px. GIFs grow fast, so stick to clips of a few seconds.

Why WebM and AVI are special cases

WebM uses royalty-free codecs (VP8 and Opus) and is the natural pick for publishing video on the web without licensing questions. Its drawback here is time: VP8 has to be encoded frame by frame on a single thread. AVI is a 1992 container that remains useful for older software and hardware, but modern browsers cannot play it, so its output cannot be previewed on this page — download it and open it in a desktop player such as VLC.

What gets copied and what gets re-encoded

Before converting, the tool runs an FFmpeg probe on the file to identify the video and audio codecs inside. With that information it decides:

  • If the video codec is already valid for the target container (H.264 in MP4, MKV or MOV; VP8 or VP9 in WebM or MKV), it is copied with -c:v copy: lossless and done in seconds.
  • If the audio codec exactly matches the target, it is copied too with -c:a copy, avoiding a pointless recompression.
  • In every other case it is re-encoded using the quality setting you chose.
  • If a stream copy fails mid-way — possible with unusual profiles — the engine restarts itself and retries with a real re-encode, with nothing for you to do.
Convert to FLAC by format

Is your problem the audio in your editor?

If what you need is not a different container but sound that DaVinci Resolve, Premiere or Avid will actually play, each format has its own guide with the codec it carries and what the tool does with it:

Guides and articles

Learn more about formats, codecs and editing

Input is detected automatically: MP4, MOV, MKV, AVI, WEBM, WMV, FLV, MPEG, TS, VOB, 3GP and M4V for video, plus MP3, AAC, M4A, WAV, AIFF, OGG, Opus and WMA for audio. Just drop your file in and pick the format you want it converted to. To dig deeper, start with these guides: