Audio Format Converter
Convert audio to MP3, M4A, M4R ringtone, FLAC, OGG, Opus, WAV, AIFF or WMA in your browser. Set bitrate, sample rate and mono; files are not uploaded.
The interactive tool loads here when JavaScript runs.
About this toolWhat is Audio Format Converter?
This converter takes audio in almost any format, including MP3, M4A/AAC, FLAC, OGG, Opus, WebM, AIFF, WMA and the soundtrack of a video, and writes it as MP3, M4A (AAC), M4R iPhone ringtone, FLAC, OGG Vorbis, Opus, WAV, AIFF or WMA. Choose a bitrate for the lossy formats, a sample rate, and whether to keep the channels or mix down to mono, then drop one file or a batch.
Two engines do the work. WAV at a fixed sample rate is written the way this tool always has: your browser's Web Audio decoder reads the file and JavaScript on the page writes 16-bit PCM, with nothing to download. Every other format, and WAV from files the browser cannot decode (WMA, AIFF in some browsers, AMR), goes through ffmpeg compiled to WebAssembly. That engine, about 32 MB, is fetched once from the jsDelivr CDN; the audio files themselves stay on your computer.
Lossless formats (FLAC, WAV, AIFF) keep every sample of what you give them. Lossy formats (MP3, AAC, Vorbis, Opus, WMA) throw detail away to save space, and converting from one lossy format to another loses a little more each time, so start from the best copy you have.
- Nine outputs: MP3, M4A, M4R, FLAC, OGG Vorbis, Opus, WAV, AIFF and WMA
- Reads common audio formats, WMA and the audio track of video files
- Bitrate, sample rate and mono options, with each codec's limits applied
- iPhone ringtone mode with a 40-second cut from a start time you pick
- Batch conversion with cancel, preview and download all
- Instant WAV without any download; other formats use ffmpeg loaded once from a CDN, and files stay local
Updated
How to use Audio Format Converter
- Choose an output format, then a bitrate (lossy formats), a sample rate and the channel mode. For M4R, set where the ringtone should start.
- Drop audio or video files on the upload area or click to browse. Load Sample Audio adds two short test tones.
- Watch each file convert in turn. The first ffmpeg conversion downloads the engine once; Cancel stops the batch.
- Play the result in the preview, then click Download next to a file or Download All. Reconvert All repeats the batch with new settings.
Worked examples
MP3 song to CD-quality WAV
Input
3:00 MP3 at 128 kbps, WAV, 44.1 kHz, Keep original
Output
song.wav, 31,752,044 bytes, shown as 30.28 MB
180 s x 44,100 samples x 2 channels x 2 bytes plus the 44-byte header. The WAV sounds identical to the MP3; it is just easier for editors to read.
Song to iPhone ringtone
Input
track.flac, M4R, 192 kbps, ringtone starts at 0:45
Output
track.m4r, 40 seconds of AAC from 0:45 to 1:25, about 1 MB
192,000 bits x 40 s / 8 = 960,000 bytes of audio. Anything longer than 40 seconds would be rejected by iOS as a ringtone.
Voice memo for a speech model
Input
1:00 M4A recording, WAV, 16 kHz, Mix down to mono
Output
memo.wav, 1,920,044 bytes, shown as 1.83 MB
60 x 16,000 x 1 x 2 + 44. Many transcription tools want exactly this format.
Background and insight
Each output maps to one encoder. MP3 uses LAME; M4A and M4R use ffmpeg's built-in AAC-LC encoder in an MPEG-4 file; FLAC is the reference-compatible lossless codec at compression level 5; OGG uses libvorbis; Opus uses libopus in an Ogg file; WAV is little-endian 16-bit PCM; AIFF is big-endian 16-bit PCM, Apple's 1988 counterpart to WAV; and WMA is Windows Media Audio 2 in an ASF file. The note under the format menu repeats this so you know what you are getting.
Some formats have rules. iOS accepts ringtones of up to 40 seconds, so M4R output is cut to 40 seconds from the start time you choose. Opus only runs at 48, 24, 16, 12 or 8 kHz, so a 44.1 kHz request is moved to 48 kHz. MP3 cannot go above 48 kHz or 320 kbps. The tool applies these limits for you instead of failing.
WAV size is simple arithmetic: sample rate x channels x 2 bytes x seconds, plus a 44-byte header. CD-quality stereo (44.1 kHz) is 176,400 bytes per second, about 10 MB per minute, whereas 192 kbps MP3 is 24,000 bytes per second, about 1.4 MB per minute. FLAC usually lands at half to two thirds of the WAV size.
Common use cases
Making files play everywhere
Turn OGG, Opus, FLAC or WMA files into MP3 or M4A for car stereos, old players and phones.
iPhone ringtones
Cut 40 seconds of a song or sound into an .m4r file to add to an iPhone through Finder, iTunes or the Apple Devices app.
Archiving and editing
Convert to FLAC to archive without loss, or to WAV or AIFF for a DAW, sampler or game engine.
Speech and voice
Prepare 16 kHz mono WAV for transcription, or small Opus files for voice notes and web playback.
Legacy Windows software
Produce WMA for older Windows Media setups that will not take anything else.
Tips and limitations
- Converting MP3 to FLAC or WAV does not restore quality; it only stops further losses while you edit.
- To get an M4R onto an iPhone, connect it to a computer and drag the file onto the device in Finder (Mac) or in iTunes or Apple Devices (Windows), or make the ringtone in GarageBand on the phone.
- OGG and Opus files do not play in older versions of Safari, and WMA does not play in any browser; the preview is hidden when your browser cannot play the result, but the file is fine.
- Choosing a higher sample rate or bitrate than the source has adds size, not detail.
- Very long files use a lot of memory. The browser engine handles files up to about 1.9 GB, and hour-long WAV output needs well over 600 MB.
- File names keep everything before the last dot, so "my.song.v2.mp3" becomes "my.song.v2.flac".
Sources and further reading
- FFmpeg Codecs Documentation, FFmpeg. The AAC, FLAC, libvorbis, libopus and libmp3lame encoders and their options
- RFC 9639: Free Lossless Audio Codec (FLAC), Internet Engineering Task Force. The FLAC format
- RFC 7845: Ogg Encapsulation for the Opus Audio Codec, Internet Engineering Task Force. Opus in Ogg, which always decodes at 48 kHz
- WAVE Audio File Format, Library of Congress. Format description of WAV and its PCM data
- AIFF (Audio Interchange File Format), Library of Congress. Apple's 1988 big-endian counterpart to WAV
Frequently asked questions
Can this audio converter make MP3 files?
Yes. Choose MP3 and a bitrate from 96 to 320 kbps. The MP3 is encoded with LAME inside ffmpeg running in your browser. The first time, the page downloads the ffmpeg engine (about 32 MB) from a CDN; your audio files are not uploaded.
Does converting MP3 to WAV improve the sound quality?
No. The MP3 encoder discarded detail when the file was made, and decoding to WAV or FLAC cannot restore it. The result sounds the same as the MP3 but is much larger. Convert to lossless formats for editing and compatibility, not for quality.
Are my audio files uploaded to a server?
No. WAV is written by the page using your browser's decoder, and the other formats are encoded by ffmpeg running as WebAssembly in the tab. The only network request is the one-time engine download from the jsDelivr CDN; the audio never leaves your device.
How do I make an iPhone ringtone (M4R) from a song?
Pick M4R, set where the ringtone should start, and convert. The tool cuts 40 seconds, the longest iOS allows, and saves AAC in an .m4r file. Add it to the iPhone by dragging it onto the device in Finder, iTunes or the Apple Devices app.
Which audio format should I convert to?
MP3 or M4A for listening on anything, FLAC to archive without loss, WAV or AIFF for editors and samplers, Opus for voice and small web files, and WMA only for old Windows software. When in doubt, M4A at 192 kbps or MP3 at 192 kbps is a safe choice.
Why did my file fail to convert?
Usually the file is damaged, protected with DRM, or not really audio. The error under the file name says what ffmpeg reported. A file with no audio track (a silent screen recording, for example) also fails. Very large files can run out of browser memory.
What sample rate should I choose?
Keep original unless you have a reason to change it. Use 44.1 kHz for music, 48 kHz for video projects, and 16 kHz mono for speech recognition. Opus is always encoded at one of its own rates, so 44.1 kHz becomes 48 kHz.
Is there an in-depth guide to Audio Format Converter?
Yes. “WAV, MP3, AAC, FLAC and Opus: Audio Formats Explained” covers the background, how it works, common pitfalls and worked examples. Read the full guide.
Related Tools You May Like
Free, in-browser tools that pair well with this one.