Free local tool · Zero file upload
MP3 to M4B audiobook packager
Drop your MP3, M4A, or WAV chapters to read exact durations in your browser, edit chapter names, and export ready-to-run chapter metadata and ffmpeg commands.
Durations are inspected privately inside your browser. Zero bytes are uploaded to any server.
01 · Chapters (sample preview)
5 chapters · 01:06:51
- 0101-prologue.mp3 · 00:00:00 to 00:04:24
- 0202-chapter-1-the-harbor.mp3 · 00:04:24 to 00:23:12
- 0303-chapter-2-morning-light.mp3 · 00:23:12 to 00:38:55
- 0404-chapter-3-quiet-water.mp3 · 00:38:55 to 01:00:30
- 0505-epilogue.mp3 · 01:00:30 to 01:06:51
02 · Book metadata & encoding
Estimated M4B size: ~48 MB
03 · Download chapter files & build locally
Save files.txt and chapters.ffmeta beside your audio, then run ffmpeg
ffmpeg -f concat -safe 0 -i files.txt \
-i chapters.ffmeta \
-map 0:a -map_metadata 1 -c:a aac -b:a 96k \
-movflags +faststart -f mp4 "the-harbor-at-dawn.m4b"Preview generated chapters.ffmeta (5 markers)
;FFMETADATA1
title=The Harbor at Dawn
artist=A. Morgan
album=The Harbor at Dawn
composer=Ryan (Local TTS)
date=2026
genre=Audiobook
[CHAPTER]
TIMEBASE=1/1000
START=0
END=264400
title=Prologue
[CHAPTER]
TIMEBASE=1/1000
START=264400
END=1392600
title=Chapter 1: The Harbor
[CHAPTER]
TIMEBASE=1/1000
START=1392600
END=2335300
title=Chapter 2: Morning Light
[CHAPTER]
TIMEBASE=1/1000
START=2335300
END=3630300
title=Chapter 3: Quiet Water
[CHAPTER]
TIMEBASE=1/1000
START=3630300
END=4011800
title=Epilogue

Compatibility
Where chaptered M4B audiobooks play
| Player | Chapter & bookmark support | How to add |
|---|---|---|
| Apple Books (Mac, iPhone, iPad) | Yes (chapters, cover art, resume) | AirDrop, Finder sync, or drag into Books |
| BookPlayer (iOS, open source) | Yes (chapters, cover art, sleep timer) | Files app, iCloud, or local import |
| Audiobookshelf (self-hosted) | Yes (reads M4B tags + chapter atoms) | Drop single .m4b in library folder |
| Smart AudioBook Player (Android) | Yes (chapters + exact playback memory) | Copy .m4b to phone Audiobooks folder |
| VLC (Mac, Windows, mobile) | Yes (Playback -> Chapter menu) | Open directly |
Related guides
Pair with these audiobook workflows
FAQ
Common questions
Are my MP3 or M4A audiobook files uploaded anywhere?
No. Your browser reads only the local duration metadata of each file on your computer using an in-memory object URL. Nothing leaves your device.
Why does this tool output ffmetadata and a local ffmpeg command instead of encoding in a browser tab?
A 10-hour audiobook can easily exceed 400 MB to 1.5 GB. Cloud upload converters make you upload and re-download huge files (and often impose size caps or watermarks), while single-threaded browser encoders stall on multi-hour books. Running one local ffmpeg command with exact pre-built chapter timestamps finishes in seconds to a minute at full quality.
When should I pick 'Lossless copy (M4A/AAC input)'?
If your chapter files are already AAC inside .m4a containers (for example exported straight from Murmur on Mac) with matching sample rate and channel count, choosing copy remuxes them into an .m4b container almost instantly with zero re-encoding quality loss. For .mp3 or .wav inputs, pick 64k, 96k, or 128k AAC.
What bitrate sounds best for spoken audiobooks?
For mono narration, 64 kbps AAC is compact and clear (~29 MB per hour). For stereo audio or rich voice detail, 96 kbps to 128 kbps AAC gives transparent spoken quality (~43 to 58 MB per hour).
How do I install ffmpeg on Mac or Windows?
On macOS with Homebrew run 'brew install ffmpeg'. On Windows 10/11 run 'winget install Gyan.FFmpeg' in PowerShell (then restart the terminal).