WAV to MP3 Converter
Choose a bitrate. LAME encodes the WAV. The library loads only for this conversion.
About this tool
Other sample rates are moved to 44100 Hz before LAME runs.
How to use it
- Choose a WAV. The bytes are checked for a RIFF WAVE header.
- Pick a bitrate. 128 kbps is the default.
- Download the MP3. Encoding uses LAME under the LGPL. See lame.sourceforge.net for the project.
Limitations
- MP3 is lossy. A round trip back to WAV will not restore the original samples.
LAME bitrate on a PCM buffer
What is sent to the encoder
The WAV is read as 16-bit PCM. Compressed WAV, floating-point WAV, and AIFF are not this page’s input. Decode those on their own pages first if you have them. LAME, as shipped in @breezystack/lamejs 1.2.7, accepts 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, and 48000 Hz. Any other rate is resampled to 44100 Hz with linear interpolation before encoding. The encoder is constructed with the channel count, that rate, and the bitrate you picked. Samples are handed over in blocks of 1152 frames, which is the MP3 granule size this build expects, then flush is called for the last frames. The script is loaded only when you run the conversion. It is not part of the first paint of the page.
License and the file
The package says LGPL-3.0, and its LICENSE file is the LAME note that use is under the LGPL, that the encoder can be linked separately, and that modifications go back to the project. This site does not modify the library. The project site is https://lame.sourceforge.net/. The download is the bytes the encoder returned. A leading frame sync of eleven bits is how you can see that an MPEG audio frame started. There is no ID3 title editor here. Artwork and tags from a source are not applicable, because the source is WAV.
Loss
128 kbps stereo throws away detail a PCM file still had. 320 kbps keeps more and is still not bit-identical to the WAV. MP3 to WAV can play the result back into PCM for editing, and that PCM is the decoded MP3, not the file you started with. Crop and volume should happen on WAV before this encode if you care about editing headroom. Encoding twice, with an edit in between that required a decode, stacks two generations of loss. Pick the bitrate for the delivery copy, and keep the WAV if you will edit again.
Privacy
Your input is processed in your browser and is not uploaded to UtilChain. File names, text, and results are not sent to analytics.

