Convert M4B to M4A — Free Online Tool

Convert M4B audiobook files to M4A format while preserving AAC audio quality and chapter markers. Both formats share the MPEG-4 container, so this conversion primarily strips the audiobook-specific metadata shell, producing a standard M4A file that plays natively in iTunes, Apple Music, and most media players without audiobook-mode restrictions.

FFmpeg Command

Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg

Free — no uploads, no signups. Your files never leave your browser.

Estimated output:

Conversion Complete!

Download

How It Works

M4B and M4A are both MPEG-4 audio containers, and both commonly use AAC-encoded audio streams. Because the source AAC audio is already in the target codec, this conversion re-encodes the audio at 128k bitrate by default — this can be adjusted if you want to match the original quality more closely. The key transformation is container-level: the M4B wrapper carries audiobook-specific metadata (bookmarking state, audiobook playback flags) that causes many players to treat the file differently, often locking it into 'audiobook mode'. The output M4A drops these restrictions while retaining chapter markers and standard ID3/iTunes metadata tags. The -vn flag explicitly excludes any video or cover-art streams, ensuring a clean audio-only output compatible with the broadest range of players.

What Each Flag Does

Flag What it does
ffmpeg Invokes the FFmpeg binary — the open-source multimedia processing engine that powers this conversion both in the browser (via FFmpeg.wasm) and on the desktop command line.
-i input.m4b Specifies the input file: an M4B audiobook container, which typically holds an AAC audio stream along with chapter markers and audiobook-specific metadata atoms.
-c:a aac Sets the audio codec for the output to AAC, which matches the codec already used in most M4B files. This ensures the output M4A uses the same compression format natively supported by Apple Music, iTunes, and virtually all modern devices.
-b:a 128k Sets the AAC audio bitrate to 128 kilobits per second. For spoken-word audiobook content this is generally more than sufficient, though users with source files encoded at higher bitrates may want to increase this value to minimize generation loss from the AAC-to-AAC re-encode.
-vn Disables video output, preventing FFmpeg from including any embedded cover artwork (which M4B files sometimes store as a video stream) in the M4A output. This ensures a clean, audio-only M4A file with maximum player compatibility.
output.m4a Defines the output filename with the .m4a extension, which tells FFmpeg to write an MPEG-4 audio container with standard M4A metadata branding — recognized by iTunes, Apple Music, and virtually all AAC-compatible players as regular audio rather than an audiobook.

Common Use Cases

  • Importing an audiobook into a music library app like iTunes or Apple Music so it appears in the regular music section rather than the audiobooks tab, enabling normal shuffle and playlist behavior
  • Playing an M4B audiobook file on a device or app that recognizes M4A but does not support the M4B extension, such as certain smart speakers, car stereos, or older MP3 players
  • Stripping the audiobook playback mode from a self-produced M4B podcast so it distributes and plays correctly in standard podcast and music streaming apps
  • Archiving a DRM-free M4B audiobook in a more universally recognized format without re-encoding to a lossy format like MP3, preserving the original AAC audio fidelity
  • Editing an audiobook in a DAW or audio editor that imports M4A but throws errors or drops chapter metadata when opening M4B files
  • Sharing individual chapters of a converted M4B with a media player that uses M4A for its library format, making the files easier to organize and tag

Frequently Asked Questions

Because both M4B and M4A typically use AAC audio, re-encoding from one AAC stream to another does introduce a small generation loss — you are decoding compressed audio and recompressing it. At the default 128k bitrate this is generally imperceptible for spoken-word audiobook content, but if the original M4B was encoded at a higher bitrate (192k or 256k), you should adjust the -b:a flag to match or exceed the source bitrate to minimize quality degradation.
Yes. Both M4B and M4A support the MPEG-4 chapter format, and FFmpeg preserves chapter metadata during this conversion. Players that support M4A chapters — including Apple Music, VLC, and foobar2000 with the appropriate plugin — will display them correctly. Note that some simpler players ignore chapter data in M4A files entirely, even though the data is technically present in the file.
The M4B file extension itself signals to Apple software and many compatible players to activate audiobook playback mode, which enables bookmarking, slower default playback speeds, and placement in the Audiobooks library rather than Music. Converting to M4A removes this signal at the container level, so players treat the file as standard audio content. The audio data itself is unchanged — only the playback context the container communicates to the player differs.
Replace the -b:a 128k value in the command with the bitrate of your source file. You can check the original bitrate by running ffprobe input.m4b or inspecting file properties in a media player like VLC. For example, if your M4B was encoded at 64k (common for audiobooks), use -b:a 64k to avoid unnecessary upsizing; if it was 192k, use -b:a 192k to preserve fidelity. Setting the bitrate higher than the source will increase file size without improving quality.
Yes. On Linux or macOS, you can run a shell loop: for f in *.m4b; do ffmpeg -i "$f" -c:a aac -b:a 128k -vn "${f%.m4b}.m4a"; done. On Windows Command Prompt, use: for %f in (*.m4b) do ffmpeg -i "%f" -c:a aac -b:a 128k -vn "%~nf.m4a". This processes every M4B in the current directory and outputs a matching M4A file for each, making it efficient for large audiobook libraries.
This tool only processes DRM-free M4B files. If your M4B was purchased from Audible or another DRM-protected source, FFmpeg cannot read or convert it, and the conversion will fail with a decoding error. For DRM-free M4B files — such as those from LibriVox, self-produced audiobooks, or DRM-free purchases — the resulting M4A will play without restrictions in iTunes, Apple Music, and any AAC-compatible player.

Technical Notes

M4B and M4A are structurally very similar — both are MPEG-4 Part 14 containers differentiated primarily by file extension and the metadata flags set within the ftyp and udta atoms. The M4B format sets a 'M4B ' brand in the ftyp atom, which is what triggers audiobook-mode behavior in Apple software. FFmpeg outputs a standard M4A ftyp brand, effectively reclassifying the file. Because the audio codec (AAC) is the same in both formats, the main quality consideration is the re-encoding step: AAC-to-AAC transcoding is not lossless, so users with high-quality source files should specify a matching or higher -b:a value. The -vn flag is important here because M4B files sometimes embed cover artwork as a video stream; without -vn, FFmpeg might attempt to pass this stream into the M4A container, which can cause compatibility issues in some players. Chapter metadata (stored as timed text tracks in the MPEG-4 container) is preserved in the output, as is standard iTunes metadata such as title, author, and album fields. Bookmarking state (the playback position stored in the M4B) is not meaningful in M4A and is discarded, which is the intended behavior for this conversion.

Related Tools