# Extract audio from a video

> Pull the audio track from a video as MP3, M4A, OGG, or WAV, optionally trimming to just a section.

Open the tool: https://yourbrowsercandoit.com/mp4-to-mp3

Extract audio from any video as MP3. Free, no signup. Runs entirely in your browser; files are never uploaded.

## How it works

Drop any video the browser can decode (MP4, WebM, MOV, MKV, AVI). A trimmer lets you drag handles to grab just part of the audio, or leave them at the ends for the whole track. Pick a format (MP3 is universal, M4A is AAC with better quality per kilobyte, OGG is Vorbis, WAV is uncompressed). For the lossy formats, set a bitrate (128, 192, 256, or 320 kbps). First use loads ffmpeg.wasm (~25 MB) from CDN, then it's cached. Processing happens locally, no upload. The trimmer doesn't snap to keyframes for audio extraction, so you can pick any start and end down to a tenth of a second. Output filename keeps the source name with the new extension.

## How to use it

1. **Drop your video.** MP4, WebM, MOV, MKV, and AVI all work — anything your browser can decode.
2. **Trim if you want.** Drag the handles to grab just a section, or leave them at the ends for the whole track.
3. **Pick format and bitrate.** MP3 is universal; choose 128 to 320 kbps for the lossy formats.
4. **Extract and download.** ffmpeg.wasm loads once (~25 MB), runs locally, and the audio file downloads.

## Frequently asked questions

### How do I extract MP3 from MP4 online?

Drop the MP4, leave format on MP3, hit Extract. The first run loads ffmpeg.wasm, which takes a few seconds; after that it's instant.

### Can I extract just part of the audio?

Yes. Drag the trimmer handles on the video preview to set start and end, then extract just that range.

### Why MP3 and not the original codec?

MP3 is the most compatible target. M4A (AAC) gives better quality at the same bitrate if your target device supports it.

### Is my video uploaded?

No. ffmpeg.wasm runs in your browser, the file stays local.

## Related tools

- [Trim audio](https://yourbrowsercandoit.com/trim-audio): Cut an audio file to a start/end time.
- [Compress audio](https://yourbrowsercandoit.com/compress-audio): Lower the bitrate of an audio file.
- [Trim video](https://yourbrowsercandoit.com/trim-video): Cut a video on a filmstrip timeline, to the exact frame.
- [Video to GIF](https://yourbrowsercandoit.com/video-to-gif): Turn a clip into a GIF or WebP, with a live preview and size estimate.
- [Compress video](https://yourbrowsercandoit.com/compress-video): Lower the bitrate or resolution.
