OfflaneAI

Video & audio to MP3 —
extract or convert without uploading

Pull the soundtrack out of a video, turn a voice memo into MP3, or convert WAV to a small file for your phone. Decoding and encoding happen in your browser, so a 500 MB video converts in seconds without leaving your computer.

  • 🎵 MP4, MOV, WAV, M4A, OGG, FLAC → MP3
  • 🎚️ Bitrate and trim controls
  • 🔒 Files never leave your device
  • 💸 Free, no size limits

Loading the tool… (JavaScript required)

How do I extract audio from a video?

Drop the MP4 or MOV, keep MP3 selected, choose a bitrate (192 kbps is a great default) and press Convert. Only the audio track is decoded, so even large videos are quick.

Which bitrate should I choose?

320 kbps for music you care about, 192 kbps for everyday listening, 96–128 kbps for podcasts and lectures, 64 kbps for voice notes. The estimated file size updates as you change it.

Is there a length limit?

The whole file is decoded into memory, so very long recordings depend on your device: about 45 minutes on a laptop and 15–20 minutes on a phone is safe. Use the trim sliders to convert just a part of a longer file.

How to turn a video or audio file into MP3

  1. Add the file. Drop it on the upload area, click to choose it, or paste it with Ctrl+V. One file is converted at a time.
  2. Wait for “Decoding audio…”. The sound is unpacked in your browser. A line under the file name then shows the length, stereo or mono, and the sample rate in Hz.
  3. Check Output. “MP3 · plays everywhere” is preselected. “WAV · lossless, large” is there for editing.
  4. Set Bitrate. Five steps from 64 to 320 kbps. “Estimated size” under the list changes as you choose.
  5. Tick Mono or move the Trim sliders if you need them. Both are optional.
  6. Press “Convert to MP3”. A percentage shows the encoding progress. Listen in the player, then press Download; the button shows the real file size.

What happens to the file

The sound track is unpacked

A video file is a container: one track of pictures and one or more tracks of sound. The tool decodes the sound into raw samples and never touches the picture, so the video codec (H.264, HEVC, VP9) makes no difference.

Small and large files take different routes

Files up to 200 MB are loaded whole and decoded by the browser’s audio engine. Larger files are read as a stream, piece by piece, so a video of several gigabytes does not have to fit in memory. Only its decoded sound does.

The samples are encoded again

MP3 is written by lamejs, a JavaScript port of the LAME encoder, in a background thread so the page stays responsive. WAV needs no encoder: the samples are stored as 16-bit PCM.

What is left behind

The picture, subtitles, chapter marks, cover art and tags (artist, title) are not carried over. The result holds sound only and takes the name of the source file with a new extension.

Formats in and out

InputWhere it usually comes fromWorks
MP4, MOVPhone and camera video, screen recordingsYes, when the sound is AAC or MP3
WebMBrowser recordings, web videoYes
M4AiPhone voice memos, music purchasesYes; copy-protected purchases do not
WAV, FLACRecorders, studio exports, lossless musicYes
OGG, OpusMessenger voice messages, game audioDepends on the browser; Chrome, Edge and Firefox play it
MP3AnywhereYes: use it to lower the bitrate or trim

The rule behind the table: the tool can decode what your browser can play. The output is MP3 at a constant bitrate of 64–320 kbps, or WAV as 16-bit PCM, in stereo or mono.

MP3 or WAV output

MP3WAV
CompressionLossyNone
Size per minute, stereo0.5–2.3 MB depending on bitrateAbout 10–11 MB
Plays onPractically every phone, car stereo, player and appComputers, editors, most phones
Choose it forListening, sending, uploadingEditing, sampling, further processing

WAV does not make the sound better than the source. It only avoids a second round of lossy compression, which matters when the file goes into an editor and is exported again later.

Bitrate: size against quality

BitratePer minutePer hourFits
320 kbps2.3 MB137 MBMusic from a lossless source
192 kbps1.4 MB82 MBMusic for everyday listening
128 kbps0.9 MB55 MBPodcasts, talk with some music
96 kbps0.7 MB41 MBLectures, meetings
64 kbps0.5 MB27 MBVoice notes

The bitrate is constant

The encoder spends the same number of bits on every second (CBR). That is why the size estimate is accurate before you convert, and why simple players show the correct track length.

Do not go above the source

The sound in a phone video is already compressed, usually as AAC. Converting it at 320 kbps makes a bigger file, not a better one: detail removed by the first compression does not come back. 192 kbps is enough for almost any video soundtrack. Keep 320 kbps for WAV and FLAC sources.

Low bitrates need one channel

At 64 or 96 kbps there are too few bits for two channels. Tick Mono and the whole budget goes to a single channel, which is all that speech needs.

The Mono checkbox

Mono mixes the left and right channels into one.

  • With WAV the file becomes half the size.
  • With MP3 the size is set by the bitrate alone, so the file does not shrink. The gain is quality: speech at 64 kbps mono sounds cleaner than at 64 kbps stereo, so mono lets you pick a lower bitrate.

The box is greyed out when the source is already mono. Leave it off for music, because the stereo image is lost.

Trimming while you convert

Two sliders under the settings set the start and the end. They move in steps of 0.5 seconds and keep at least 1 second between them. The label shows the start, the end and the resulting length, and the size estimate follows it. Leave the sliders alone to convert everything.

They are meant for rough cuts: one song out of a concert video, a talk without ten minutes of waiting at the start. There is no waveform and no fade. For a cut to the tenth of a second, open the file in the audio cutter instead; it accepts video files as well.

Settings by purpose

GoalOutputBitrateMono
Song from a concert videoMP3192 kbpsOff
Music from WAV or FLACMP3320 kbpsOff
Lecture, meeting, interviewMP396 kbpsOn
Voice note to send in a messengerMP364 kbpsOn
Podcast episode with musicMP3128 kbpsOff
Sound for a video editor or DAWWAV—Off

Length, memory and large videos

The size of the file on disk matters little. The length of the sound matters, because decoded audio is held uncompressed in memory at about 20 MB per minute of stereo. This is the reason for the “best up to ~45 minutes” hint on the upload area.

  • A 2 GB video that lasts 20 minutes is easy: only its sound is unpacked.
  • A 150 MB recording that lasts 3 hours is hard: 3 hours of uncompressed sound is several gigabytes.

Trimming happens after decoding, so the sliders do not reduce what has to fit in memory. For recordings of several hours, split the video first with the video trimmer and convert the parts.

Sample rate and channels of the result

The result keeps the sample rate shown under the file name. For files up to 200 MB this is the rate your browser’s audio engine works at, normally 44,100 or 48,000 Hz, whatever the source used. Larger files keep their own rate. There is no sample-rate setting.

At most two channels are kept. A mono source stays mono; a stereo source stays stereo unless you tick Mono.

After the conversion

Send it

On phones and other devices with a system share menu, a Share button appears next to Download and passes the MP3 straight to a messenger or mail app.

Get the words as text

You do not need an MP3 for that. The speech-to-text tool accepts the video or recording itself.

Clean up a noisy recording

Hum, hiss and fan noise in speech are removed by the AI noise remover. Run it on the original file and export MP3 there, so the sound is compressed only once.

Convert many files or other formats

This page handles one file and two output formats. For a batch, or for M4A, OGG and FLAC output, use the audio converter.

What this converter does not do

  • No links. It works with files stored on your device and cannot fetch sound from YouTube or any other site.
  • No surround downmix. Only the first two channels are kept. In a 5.1 film soundtrack, dialogue sits in the centre channel and can come out quiet or missing.
  • No volume change. Loudness is copied as it is.
  • No tags. Artist, title and cover have to be added afterwards in a tag editor or music app.
  • No copy-protected files. Purchases with DRM cannot be decoded by a browser.

How it runs on your device

There is no AI model behind this tool and nothing to download apart from the page’s own scripts. Decoding uses the audio decoders built into the browser; MP3 encoding uses lamejs, an LGPL-licensed port of LAME. The graphics card is not involved, so speed depends on the processor.

The file is read from your disk into the tab’s memory and the result is created there. Interviews, voice messages and meeting recordings therefore never reach a server. Once the page and the encoder have loaded, conversion keeps working without a connection.

Troubleshooting

“Could not decode this file”

The browser has no decoder for the sound inside. Typical cases are Dolby Digital (AC-3) or DTS tracks in film files, and copy-protected purchases. Test it by dragging the file into an empty browser tab: if it plays with sound there, the tool can read it. If not, try another browser or re-save the file in a video editor.

The tab reloads or stops on a long recording

The decoded sound did not fit in memory. Close other tabs, use a computer rather than a phone, or split the recording into parts.

The result is silent

Check that the source has sound at all by playing it in the browser. Some screen recordings and clips saved from messengers have no audio track.

Voices are quiet but music and effects are loud

The source has a surround soundtrack and the centre channel was dropped. Export the video with stereo sound from a video editor, then convert again.

The MP3 is larger than expected

The bitrate is higher than the source needs. A 10-minute file is 23 MB at 320 kbps and 7 MB at 96 kbps; choose the row of the bitrate table that matches the content.