Audio converter — WAV, M4A, Opus and MP3, converted on your device

Choose an audio file and an output format, and the converter decodes and re-encodes it inside your browser, with options for bitrate, mono or stereo and sample rate.

Live demo · real result from this tool

Drop your audio file here

or paste with Ctrl+V · nothing is uploaded

Loaded from cdn.jsdelivr.net only when needed; FFmpeg is GPL-licensed. Your audio still never leaves your device.

Your result appears here — processed on your device.

Processed on your device — nothing is uploaded.

How to use the audio converter

  1. Drop an audio file onto the box or click to choose one.
  2. Pick Save as: WAV (16-bit, 24-bit or 32-bit float), M4A (AAC), WebM (Opus), OGG (Opus) or MP3.
  3. For compressed formats, choose a Bitrate from 64 to 320 kbps.
  4. Optionally set Channels (keep, mono or stereo) and Sample rate (keep, 44.1 kHz, 48 kHz, 22.05 kHz or 16 kHz for speech).
  5. For MP3 output or rare input formats, tick Allow the ffmpeg fallback. Then press Convert and download the file.

What it does and when to use it

Different devices and apps want different audio formats. A recorder saves huge WAV files, an Android phone records voice notes as Ogg Opus, a website upload form asks for MP3, and video editors often prefer WAV at 48 kHz. The converter moves a recording between these formats and can also turn stereo into mono or change the sample rate along the way.

The result shows the source format (for example “WAV pcm-s16 → M4A (AAC)”) and the source codec, sample rate and channels, so you know exactly what you started with.

To keep only part of a file, use the audio trimmer first. If the volume is uneven, the audio normalizer can even it out, and for the sound from a video file, the video to audio extractor can copy the soundtrack without re-encoding.

How it works

  1. Decode. WAV files are read by the site’s own code. Other formats are opened with the Mediabunny library (about 0.7 MB, loaded the first time) and decoded with your browser’s WebCodecs audio decoder. Formats the browser cannot decode, such as AIFF, WMA or AMR, go through ffmpeg.wasm if you allow it.
  2. Process. If you change the sample rate, the audio is resampled with a band-limited (windowed-sinc) filter. If you change channels, stereo is averaged to mono, or mono is copied to both sides.
  3. Encode. WAV is written by the site’s code; AAC and Opus by WebCodecs; MP3 by ffmpeg.wasm.

All of this runs in a Web Worker, so the page stays usable and you can cancel a long job.

Example

A 3-minute stereo WAV recorded at 44.1 kHz and 16-bit uses about 1,411 kbps (44,100 samples × 16 bits × 2 channels), which is roughly 31.8 MB. Saved as M4A at 192 kbps, the same 3 minutes is about 4.3 MB, roughly a seventh of the size. Choosing 96 kbps and Mono for a spoken recording would make it smaller still.

Limits and tips

  • Lossy to lossy costs quality. Turning an MP3 into M4A or Opus re-compresses it, and the tool reminds you of this. Convert from the original whenever you can.
  • Upsampling adds no detail. Changing 22.05 kHz audio to 48 kHz only makes the file bigger.
  • Encoder support varies. If your browser lacks an AAC or Opus encoder, the tool says so; WAV output always works.
  • Tags such as title and artist may not carry over to every output format.

Frequently asked questions

Why does MP3 need an extra download?
The page has no built-in MP3 encoder, because the common one (LAME) is not bundled. If you pick MP3 and tick the ffmpeg fallback, ffmpeg.wasm (about 30 MB) is downloaded once from cdn.jsdelivr.net and does the encoding on your device. M4A (AAC) needs no extra download and plays on nearly every phone and computer.
Which format should I choose?
WAV for editing or archiving, since it is lossless but large. M4A (AAC) for sharing and for iPhones. WebM or OGG (Opus) for the smallest files, especially for speech. MP3 when an old device or website accepts nothing else.
Will converting MP3 to WAV improve the sound?
No. Converting to WAV keeps exactly what the MP3 still contains but cannot bring back detail the MP3 discarded. It is still useful when editing software wants WAV.
What bitrate should I use?
For speech, 64 or 96 kbps is usually enough, especially in mono. For music, 192 kbps or more is a common choice. Higher bitrates make bigger files.
Are my files uploaded?
No. Decoding and encoding happen in a background worker in your browser. The optional ffmpeg add-on is only downloaded if you tick it, and your audio still never leaves your device.

Written by the ToolsRift team · Last updated

Pages are drafted with AI assistance and checked by automated tests. How we write and check pages.

Was this tool useful?

Report a problem

Start typing to search every tool.

↑ ↓ to moveEnter to openEsc to close