Extract Audio from Video
Extract audio from one video up to 50 MB without re-encoding or uploading it. The output follows the source audio codec: AAC and ALAC produce M4A, while MP3 produces MP3. Save the result and listen in your own player.
The audio track is copied out as it is, not re-encoded, so this page has no options — no format, bitrate, channels, sample rate or time range. The format follows your video's audio codec: AAC and ALAC come out as .m4a, MP3 as .mp3, Opus as .opus, Vorbis as .ogg, FLAC as .flac, AC-3 as .ac3, and anything else — including a codec we can't name — goes into Matroska audio, .mka.
If what you need is an ordinary MP3, this isn't the page: the track is copied, not converted, so a video with AAC sound gives you an M4A. Getting an MP3 out of AAC means re-encoding it, which this page never does.
How to use
- Choose one video: Drop a video onto the box or click to pick it — one file per run, up to 50 MB. Drop several at once and the whole batch is refused with a count, so add a single file. While a file is selected the drop box is gone: remove it with ✕ before choosing another.
- Press Extract audio: There is nothing to set first — no format, bitrate, channel or trim option exists on this page. The first run shows "Getting the engine ready…" while about 31 MB of processing engine is fetched, then a percentage. Cancel returns you to the form with no error line.
- Read the result notes: The first line gives the size of your video and the size of the audio file. The notes below say which codec was found, which container was chosen for it and why, and whether your file had more than one audio track.
- Save the file: Press Download — Save to device on a phone — to get your original file name with the new extension. The audio cannot be played on the page, so open it in your own player afterwards. On a phone the save button opens the system share sheet when the browser offers file sharing, and simply downloads the file when it doesn't.
What it means to extract audio from a video without re-encoding
Extract audio from video here by copying the encoded audio track out of the file and throwing the picture away. Nothing is re-encoded: the arguments this page runs are -vn -c:a copy and nothing else — no encoder, no bitrate, no channel or sample-rate setting, no trim, no filter. One video of up to 50 MB per run, handled inside your browser and not uploaded. The format you end up with is chosen from the audio codec already inside your file, not by you.
A video file has two layers. The codec (AAC, MP3, Opus, FLAC, AC-3) is how the sound is compressed; the container (MP4, MOV, MKV, WebM) is the wrapper holding the picture track, the sound track and their timing together. This page keeps the codec exactly as it is and writes it into a container that holds sound alone. That is why there is no quality setting here and no format menu: a copy has nothing to decide. It is also what people mean by extracting audio from an MP4 without losing quality — there is no second round of compression, so there is no generation loss to weigh up. The flip side is just as important: a copy cannot improve anything either, so a low-bitrate track inside the video stays a low-bitrate track in the result.
Everything runs on your own device. The engine is ffmpeg.wasm — FFmpeg compiled to WebAssembly and fetched with the page — and this free page has no server step at all: the list of tools allowed to fall back to a server is empty, and the fallback function only raises an error. A file your device cannot finish therefore ends in an error message rather than an upload. Nothing is kept anywhere either; closing the tab clears the page's working data.
This page requires cross-origin isolation before processing. The first use downloads about 31 MB of engine files. Cancel returns to the form; an engine download already in progress may continue in the background.
Which audio file you get: M4A, MP3, Opus, OGG, FLAC, AC-3 or MKA
AAC sound → .m4a · ALAC sound → .m4a MP3 sound → .mp3 Opus sound → .opus · Vorbis sound → .ogg FLAC sound → .flac · AC-3 sound → .ac3 anything else, including a codec the inspection pass can't name → .mka (Matroska audio, the fallback)
The extension is decided by the codec in your video, and you cannot override it. The page reads the audio codec during its inspection pass and the extraction code maps it to a container that can hold it: the seven branches above are the whole list. When the detected audio is AAC, this tool produces M4A without re-encoding it — an .m4a is an MP4 container holding that AAC track on its own.
This matters because it is the one thing people expect to choose. M4A is the output when the detected audio codec is AAC or ALAC; if you came for MP3, read the note next to the button first. A converter re-encodes, and this page never does, so MP3 only comes out when the video's sound was already MP3 — which is unusual in modern MP4 files. Turning AAC into MP3 means decoding and compressing again, a job for a tool that re-encodes rather than copies.
The last row is the one worth planning for. PCM, DTS, TrueHD, E-AC-3 and anything else outside the six named codecs fall through to .mka, Matroska's audio-only container, and so does a track whose codec the inspection pass could not name. The result screen flags it when that happens. Treat it as a fallback rather than a finished file: desktop players such as VLC and mpv commonly open .mka while a phone gallery or a simpler player may not, and we have no measured playback test of our own to offer on that. If a file that plays everywhere matters more than keeping the original data, the content itself has to be re-encoded, which this page will not do behind your back.
Whatever container is chosen, the extension in the result notes and the extension on the downloaded file are the same value — the page reads it back from the extraction code rather than guessing — so the explanation you see always describes the file you get.
Want to keep the picture and only change the video's wrapper? Remux Video copies both streams into another container instead.
What comes out of the video, and what stays behind
The picture is dropped in one piece — that is what the -vn argument does — and cover art goes with it, because a cover image sits on a picture track inside the file. The sound is the part that travels, and it travels untouched: with no encoder in the arguments there is nothing to change the codec, the bitrate, the channel count or the sample rate, and no -ss or -t means the whole track comes across rather than a section of it.
Only one audio track comes out. The arguments contain no track selection, so ffmpeg's default stream choice decides which one it is; when your file has more than one, the result notes say how many it had and that one of them was exported. Which one that is, we cannot promise — so for a film with several language tracks, check the result before assuming it is the one you wanted.
Two metadata changes apply to every tool on this site. Nine global location keys — location, location-eng and the seven Apple QuickTime location fields — are written empty, so GPS coordinates stored under those keys are gone from the audio file. The original shoot date is not written into the output either, so a media library may file the result under today's date. Ordinary tags such as title, artist and album are not cleared by the tool, so they usually carry over; exactly which ones land is left to the target container's own rules.
The file size is the size of the audio data plus the new container's overhead, and this page quotes no figure or percentage for that, because it has no measured samples to quote. What it does give you is the pair of numbers from your own file: the first line of the result reads the size of the video and the size of the audio file side by side.
The download keeps your original name with the new extension, so holiday-clip.mp4 becomes holiday-clip.m4a. The audio cannot be played on the page: audio results get the plain card with the file name, a note that the format can't be previewed here and a save button, so plan on listening to it in your own player. On a phone, that save button opens the system share sheet when the browser offers file sharing and simply downloads the file when it doesn't; cancelling the share sheet leaves everything as it was, without starting a download.
Limits of this page, and the messages you might see
One file per run, 50 MB maximum. Drop several videos at once and none of them is added — you get a note with the number that was refused, rather than one file being processed silently. The file picker offers videos, and a dropped file whose type the browser does not report as video is skipped with a note, so an M4A or a FLAC that your browser recognises as audio is turned away at that step. The whole file is read into memory when you press the button, with the input and the output both held inside the engine, so a long recording on an older phone can run out of memory and end in an error instead of a download.
There are also jobs this page deliberately does not do. It cannot give you a format of your choosing, a different bitrate, mono instead of stereo, a trimmed section, a volume change or a fade. It cannot separate vocals from background music — what comes out is the whole mix as one track. It cannot make the sound better than it was, cannot keep every audio track, cannot keep the picture or the cover art, and cannot repair a genuinely broken file. There is no DRM decryption and no DRM detection here: a protected file may fail during the inspection pass or during the copy, and which of the two you get is not something we can promise.
Four messages cover almost everything that goes wrong. "No audio track" means the inspection pass read your file but found no sound in it — a silent clip has nothing to extract. "Not a video we can read, or damaged" means the pass could not read any streams at all; try the file in your own player first. The multi-threaded processing message is the cross-origin isolation check described above, and it appears on the click, before anything is downloaded. Anything else ends in the general failure line: a run is abandoned with an error when 75 seconds pass with no progress or log activity, when the engine load takes longer than 180 seconds, or when the copy itself fails — the container is picked to match the codec, which avoids most mismatches, but there is no codec-versus-container check in the code, so success is not guaranteed.
If the problem is that the video is too big rather than the wrong kind of file, Compress Video re-encodes it instead of copying a track out.
How this tool is checked
- The logic behind this tool is covered by 14 automated test cases (hand-checked examples, edge cases and invalid input), and they run again before every release.
- Before each release, a real browser opens this page, runs it on sample files (including a damaged one) and checks the file it produces.
- Your files are processed in your browser and are never uploaded to our server.
- Formulas, figures and definitions are checked against the sources listed at the end of this page.
Frequently asked questions
- Does extracting audio this way lose quality?
- No. The encoded audio is copied with ffmpeg's -c:a copy, never decoded and compressed again, so there is no generation loss. The codec, bitrate, channels and sample rate are the ones your file already had — which also means the result cannot sound better than the track inside the video.
- Why did I get an M4A instead of an MP3?
- M4A is the output when the detected audio codec is AAC or ALAC. The container is chosen from the codec already inside the file: MP3 gives .mp3, Opus gives .opus, Vorbis gives .ogg, FLAC gives .flac, AC-3 gives .ac3, and anything else goes into .mka. An MP3 out of AAC sound would need re-encoding, and this page only copies.
- Can I choose the output format, bitrate or channels?
- No — this page has no options at all. The arguments are -vn -c:a copy and nothing more: no encoder, no bitrate, no sample rate, no channel setting, no trim, no filter. That is the trade for keeping the original data untouched, and it is why the extension follows your file's codec instead of your preference.
- What is the .mka file I got, and how do I open it?
- It is Matroska audio, the fallback container for codecs outside the six named ones. PCM, DTS, TrueHD and E-AC-3 all land there, as does a codec the inspection pass couldn't name. Desktop players such as VLC and mpv commonly open .mka, while phone galleries and simpler players may not. We have no measured playback test to offer.
- Is my video uploaded to a server?
- No. The track is pulled out inside your browser with ffmpeg.wasm, and the code has no server fallback — the list of tools allowed to use one is empty and the fallback function only raises an error, so nothing is sent anywhere. That is also why a file too heavy for your device fails with a message instead of being handed off. Closing the tab clears the page's working data; your original video and any audio you saved remain on your device.
- Can I listen to the audio before downloading it?
- Not on this page. Audio results get a card with the file name and a save button rather than a player, so download the file and open it in your own player to check it. The result notes still tell you the codec that was found, the container that was chosen and the size of the file before you save it.
- My video has several language tracks — do they all come out?
- No, only one of them. There is no track selection in the arguments, so ffmpeg's default stream choice decides which track is exported, and the result notes tell you how many your file had. Which one it picks is not something we can promise, so check the file afterwards if the language matters.
- Can I extract audio from several videos at once, or from a file bigger than 50 MB?
- Neither — one video of up to 50 MB per run. Drop several at once and the whole batch is refused with a count, so run them one after another, and remove the current file with ✕ before adding the next. The limit exists because the file is read into memory with the input and the output both held inside the engine.
Related tools
Cite this tool
Using a result in a report, paper or assignment? Copy a ready-made reference.
Gingertool. (2026). Extract Audio from Video [Online tool]. Retrieved November 27, 2026, from https://gingertool.com/en/video/extract-audio/
“Extract Audio from Video.” Gingertool, November 27, 2026, https://gingertool.com/en/video/extract-audio/. Accessed November 27, 2026.
@misc{gingertool-extract-audio,
author = {{Gingertool}},
title = {Extract Audio from Video},
year = {2026},
url = {https://gingertool.com/en/video/extract-audio/},
note = {Accessed: 2026-11-27}
}