Convert WAV to M4B — Free Online Tool
Convert WAV audio files to M4B audiobook format, transcoding the uncompressed PCM audio to AAC and packaging it in an MPEG-4 container that supports chapters and bookmarking. Ideal for turning raw WAV recordings into audiobook files compatible with Apple Books, iPhone, and podcast apps.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your WAV file here
or click to browse
Free — no uploads, no signups. Your files never leave your browser.
Settings
Note: Browser-based encoding uses approximate quality targets. For precise CRF compression, copy the FFmpeg command above and run it on your desktop.
Estimated output:
Conversion Complete!
DownloadHow It Works
WAV files store audio as uncompressed PCM data (typically pcm_s16le — 16-bit signed little-endian samples), which produces large files with no quality loss. During conversion to M4B, FFmpeg re-encodes that raw PCM stream using the AAC codec at 128kbps by default, compressing the audio with some quality tradeoff in exchange for dramatically smaller file sizes. The output is wrapped in an MPEG-4 container (.m4b) — a variant of .m4a that signals audiobook intent to players like Apple Books, enabling chapter navigation and per-file bookmarking so listeners can resume exactly where they left off. The special -movflags +faststart flag reorganizes the file's metadata index to the front of the file, allowing streaming playback to begin before the entire file is downloaded.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg binary — the open-source multimedia processing engine that handles decoding the WAV input, re-encoding the audio as AAC, and muxing the result into the M4B container. |
-i input.wav
|
Specifies the input WAV file. FFmpeg will automatically detect the container format and decode the audio stream — whether it is uncompressed PCM, ADPCM, or another WAV-supported codec — into raw audio samples ready for re-encoding. |
-c:a aac
|
Sets the audio codec to AAC (Advanced Audio Coding) using FFmpeg's built-in AAC encoder. AAC is the standard codec for M4B audiobook files and is required for compatibility with Apple Books, iPhone, and most podcast players that support the M4B format. |
-b:a 128k
|
Sets the AAC audio bitrate to 128 kilobits per second. For spoken-word audiobook content derived from WAV source material, 128kbps AAC delivers transparent quality — meaning listeners are very unlikely to perceive a difference from the original uncompressed WAV — while reducing file size by roughly 90%. |
-movflags +faststart
|
Reorganizes the output M4B file so that the MPEG-4 moov atom (the metadata and index table) is placed at the beginning of the file rather than the end. This is essential for audiobooks that will be streamed or downloaded progressively, as it allows Apple Books, podcast apps, and web players to begin playback before the entire file has been received. |
output.m4b
|
The output filename with the .m4b extension, which tells FFmpeg to mux the encoded AAC audio into an MPEG-4 container. The .m4b extension (as opposed to .m4a) is specifically recognized by Apple Books and compatible audiobook players as an audiobook file, enabling bookmarking and chapter navigation features. |
Common Use Cases
- A narrator who recorded each chapter of an audiobook as separate WAV files in a DAW and needs to package the final master WAV into M4B for submission to audiobook distribution platforms like Findaway or direct sale via Apple Books.
- A podcaster who records in WAV for maximum editing flexibility and wants to distribute a long-form interview or storytelling episode in M4B format so listeners on iPhone can bookmark their progress.
- A language learner who has a high-quality WAV recording of lesson material and wants to load it onto an iPod or iPhone as an audiobook so the app tracks their listening position automatically.
- A developer or content creator batch-processing a library of archival WAV recordings — lectures, speeches, or radio plays — into a streamable M4B format for a web player or mobile app.
- A self-publisher converting a WAV master export from Audacity or Adobe Audition into an M4B file to add chapter markers later using a tool like mp4chaps or Chapter and Verse, since M4B supports the MPEG-4 chapter format.
- A voice actor delivering a completed WAV recording to an audiobook producer who requires M4B with AAC encoding to meet the compressed file size requirements of the ACX or Apple Books submission pipeline.
Frequently Asked Questions
Yes — this conversion is lossy. WAV typically stores audio as uncompressed 16-bit PCM, which is bit-perfect audio with no encoding artifacts. Re-encoding to AAC at 128kbps introduces mild compression artifacts as the encoder discards audio information the human ear is least likely to notice. For spoken-word audiobook content, 128kbps AAC sounds virtually indistinguishable from the original WAV source. If you're encoding music or need maximum fidelity, increasing the bitrate to 192k or 256k using the -b:a flag will reduce the tradeoff.
Yes, M4B uses the MPEG-4 chapter format natively, and Apple Books, Overcast, and other audiobook players can display and navigate these chapters. However, this FFmpeg command alone does not embed chapter markers — it only creates a chapter-capable container. To add chapters, you can use a tool like mp4chaps (a command-line utility) with a chapter text file, or use a GUI app like Chapter and Verse on macOS, after the M4B has been created.
Replace the 128k value in the -b:a 128k flag with your desired bitrate. For audiobooks and spoken word, 64k or 96k AAC is often sufficient and keeps file sizes small. For music-quality output, use 192k or 256k. For example: ffmpeg -i input.wav -c:a aac -b:a 192k -movflags +faststart output.m4b. Note that M4B is a lossy format — you cannot achieve lossless quality by simply raising the bitrate, as the AAC encoder will always introduce some encoding.
M4B is an MPEG-4 container format, and AAC (Advanced Audio Coding) is the native and most efficient audio codec for that container. AAC generally achieves better audio quality than MP3 at the same bitrate — 128kbps AAC typically sounds comparable to 160–192kbps MP3. For audiobook use, this means smaller file sizes without a perceptible quality difference. MP3 can technically be stored in an MP4 container (and this tool supports it via libmp3lame), but AAC is the standard choice and is universally supported by Apple devices, Android, and modern browsers.
WAV files with PCM audio are uncompressed — a 1-hour stereo WAV at 44.1kHz/16-bit occupies roughly 635MB. Converting to AAC at 128kbps reduces that to approximately 57MB for the same duration, a compression ratio of about 11:1. This dramatic size reduction comes from AAC's perceptual audio compression, which removes frequencies and sounds that psychoacoustic models predict are inaudible or masked by other sounds. For audiobook listening, this tradeoff is almost always worthwhile.
The displayed command processes a single file, but you can adapt it for batch conversion using a shell loop. On Linux or macOS: for f in *.wav; do ffmpeg -i "$f" -c:a aac -b:a 128k -movflags +faststart "${f%.wav}.m4b"; done. On Windows Command Prompt: for %f in (*.wav) do ffmpeg -i "%f" -c:a aac -b:a 128k -movflags +faststart "%~nf.m4b". This will convert every WAV file in the current directory to a corresponding M4B file, which is especially useful when processing a multi-chapter audiobook recorded as separate WAV files.
Technical Notes
WAV is a container format that most commonly stores pcm_s16le audio (16-bit signed little-endian PCM), though it also supports 24-bit, 32-bit float, and compressed variants like ADPCM and mu-law. All of these are fully decoded by FFmpeg before re-encoding, so the input bit depth does not affect the conversion process — the output quality is governed solely by the AAC bitrate you choose. M4B is structurally identical to M4A (both are MPEG-4 Part 14 containers) but uses a different file extension that signals audiobook intent to media players. Apple Books and iOS will import M4B files directly and treat them as audiobooks with resumable playback; they will not do the same for an identically encoded M4A. Metadata tags present in the WAV file (such as RIFF INFO chunks for artist or title) are not automatically mapped to M4B's iTunes-style MP4 metadata atoms by this command — if tag preservation is important, you may need to add explicit -metadata flags to the FFmpeg command. The -movflags +faststart flag is particularly valuable for M4B files intended for streaming or web delivery, as it moves the moov atom (the file's index) to the beginning of the file, allowing a podcast app or web player to begin playback before the full file is buffered.