How Do I Turn a PDF Into an Audiobook for Free?

2026-11-29

Partly tested. We ran the parts that show commands and output. The rest comes from the project’s docs, and the post says where.

You can convert a PDF to an audiobook for free, on your own computer, with an open source tool and a free voice model called Kokoro. The voice is the easy part. The hard part is the text you feed it, because a PDF is a picture of pages, not a clean story. Fix the text first, and the audio mostly fixes itself.

You will hear why that matters two minutes in, when the narrator says “eleven, THE QUIET GARDEN” in the middle of a sentence. That is a page number and a page header, the small title printed at the top of every page, being read aloud. Nothing is broken. The reader did exactly what it was told.

Four steps after the book file: pull out the text, clean out page junk, a voice model reads it, then an audio file per chapter

That picture is the whole job in four boxes after the book file. Most free tools nail the last two boxes. The middle box, cleaning, is where a good audiobook and an annoying one split apart. Hold on to that idea, because every section below comes back to it.

The Book, the Voice, and the Converter

Card grid for a free PDF audiobook: use an EPUB if you can, PDF page junk gets read aloud, abogen for a window on any OS, audiblez for a clean EPUB, mumblebee to clean a messy PDF on Linux, Kokoro is the voice

You need three things: a book file you are allowed to copy, a computer, and about ten minutes of setup.

The book file. The tools here only read books without copy protection. That protection is called DRM (Digital Rights Management, a lock some stores put on ebooks so they only open in that store’s app). A PDF you made yourself, a public domain book, or a DRM-free purchase all work. A locked store book will not, and these tools do not try to unlock it.

A voice model. Text-to-speech, or TTS, is software that turns written words into spoken audio, and it is the part that makes the sound. Kokoro is a free TTS model, and all three tools below use it. It is open-weight, meaning the trained model file itself is published, so you can download it and run it with no account.

It also has 82 million parameters, the numbers the model learned during training, a rough measure of size. Its license is Apache 2.0, which allows personal and commercial use. 82 million is small. That is why it can run on an ordinary processor instead of needing a data center.

A converter. This is the program that takes your book, feeds the text to Kokoro, and saves the audio. The three free ones worth knowing are abogen, audiblez and mumblebee. All three use Kokoro. They differ in the middle box, the cleaning.

Abogen is the easiest of the three to start with. You drag a file in, pick a voice such as af_heart, choose a speed, and press Start. It has a window, so you never touch a terminal. Keep that in mind for the decision at the end.

Why a PDF Audiobook Reads Page Numbers Aloud

A PDF never knew which words were the story. A PDF stores where each word sits on the page, like a photo of a printed sheet with the letters made selectable. It does not store “this line is a header” or “this tiny line at the bottom is a footnote,” a small note at the foot of a page, linked to a number in the text.

I tested this myself so you can see the actual damage. I made a two-page book PDF, the kind you would get from a printed novel. Each page had a running header, the book title repeated at the top. Each page had a page number at the bottom. Page one had a footnote, marked by a small “1” after the word “coat”.

Then I pulled the text out with pdftotext, the standard free command from the poppler-utils package, which mumblebee also uses to read PDFs. If you have ever compared PDF text extractors, PDF Inspector vs pdftotext is about that extraction step, not about audio.

A printed page header, story, footnote and page number flatten into one stream of words that the voice reads in order

Here is what came out, flattened the way a voice model would read it:

THE QUIET GARDEN Every morning the old gardener walked the same path … the pocket of his coat.1 On rainy days … The book was full of numbers that nobody else would ever read, 1 The book is now kept in the town library. 11 THE QUIET GARDEN but he liked to look back through it in the winter … 12

Read that middle part out loud. The sentence “nobody else would ever read, but he liked to look back” got split by a footnote, a page number and a header. That is 150 words of output, and 18 of them are page junk: the header twice, the whole footnote, and both page numbers.

Roughly one word in eight is noise, on just two pages. The footnote marker also got glued to the word. So the voice sees “coat.1”.

One fair point for pdftotext: it did rejoin a word I had split across a line, “Some-” and “times”, into “Sometimes”. So it is not dumb. It just has no idea what a header is, and it cannot, because the PDF never told it. That is the real reason “convert PDF to audiobook” guides disappoint. They test with a clean paragraph, not with a real book.

EPUB vs PDF for an Audiobook

An EPUB is better, by a wide margin, if you have a choice. An EPUB, the standard ebook format, is basically a zip of small web pages, one per chapter. It keeps labels on its parts. A PDF keeps positions. Labels are what a converter needs.

I checked this with the same footnote. I made a tiny EPUB with one chapter and one footnote, then opened the files inside it. The footnote sat inside a tag marked epub:type="footnote", and the little “1” in the sentence was a link marked epub:type="noteref". In plain words, the file itself says this part is a footnote, skip it if you are reading aloud. The chapter is its own file too, so the chapter split comes for free.

A PDF stores words and positions so the converter must guess junk; an EPUB stores labels so it can skip notes

I then read mumblebee’s EPUB reader, the code that pulls text out of an EPUB. It skips any part labeled as a footnote or endnote, skips note links, skips figure captions (the small text under a picture), and drops small raised footnote numbers while keeping things like “2nd”. So the exact footnote that wrecked my PDF test is thrown away before the voice ever sees it.

So the first rule of a good free audiobook is simple. If the same book exists as an EPUB, use the EPUB. Reach for the PDF only when it is all you have, like a scanned old book or a paper someone emailed you.

How Mumblebee Cleans a Messy PDF

It uses a small AI model as a copy editor before the voice starts. That model is an LLM (large language model, the kind of AI behind chat assistants). Here it gets one narrow job. Delete page junk and repair broken words, without changing a single word of the author’s text.

Why an AI and not a simple find-and-delete rule? Because the junk does not look the same in every book. A rule can delete a line that is only a number. It cannot tell whether “century14” is a footnote glued to a word or a real measurement. It cannot fix OCR damage either. OCR, optical character recognition, is software that reads letters out of a scanned image, and it often breaks words apart, like “Sometim es”. A language model reads the sentence and knows what was meant.

Mumblebee cleaning: raw PDF text, plain rules, a small local AI, a checker, a retry with a stronger AI, then you read the cleaned text before Kokoro

The part I trust most is the checker, because I read its code line by line. After the AI cleans a chunk of text, a plain program checks the result for things that should not be there:

  • a line that is only a one to three digit number, which is a leaked page number
  • a short line that matches the book’s running header
  • leftover figure or table captions
  • three or more short ALL-CAPS labels in one paragraph, which is usually a diagram
  • a 650-word wall where paragraphs got merged
  • a paragraph that starts with a lowercase letter, which means a sentence got cut
  • words with spaces inside them, the OCR damage from before
  • output much longer than the input, which means the AI added words

If any check fails, only that chunk goes to a second, stronger model with the exact error. In my two-page sample, the stray “11” and “12” lines and the repeated header are exactly what the first two checks are written to catch.

You also get two files before any audio exists: the cleaned text, and a prep report listing every chunk that needed a retry. That is the honest part of the design. You can read the cleaned book once, fix anything odd, and only then spend time on audio.

Speed, Setup, and What Mumblebee Needs

The voice step is quick. The setup is the catch. Here is what mumblebee needs, from its own install notes:

  • Python 3.10 or newer
  • ffmpeg, a free command-line tool that converts and joins audio and video files, built with Opus support
  • poppler-utils, the package that contains pdftotext, for PDF books
  • a local LLM server, a program running an AI model on your own machine behind an OpenAI-compatible address (the same request format the OpenAI API uses, so many tools can talk to it). Ollama, LM Studio, llama-server and vLLM all qualify
All three tools need the Kokoro voice model and a book without DRM; mumblebee also needs a local AI server, pdftotext, and Linux

The local AI server is the big one. Abogen and audiblez do not need it. Mumblebee does, because the cleaning step is the AI. The project’s package lists Linux as its only supported operating system.

Speed, in the author’s own measurements on an AMD Ryzen AI MAX+ 395 machine: Kokoro on the plain processor runs at about 31 to 35 times real time. Real time means one minute of audio takes one minute to make. So 31 times real time turns an hour of audio into about two minutes of work. The cleaning step took about 3 to 6 minutes for an 86,000-word book on that machine. A normal laptop will be slower, so treat those as a ceiling, not a promise. You do not need a graphics card for Kokoro. It is small, 82 million parameters, and runs on a normal processor. A graphics card only makes it faster.

The output is one Opus file per chapter, plus a cover image. Opus is a modern audio format that sounds clean at small sizes, about 13 to 14 MB per hour of speech here. It also adds fixed pauses, so chapters do not run into each other. Those pauses are 1.2 seconds after a chapter title, 0.7 seconds after a subheading, 0.45 seconds between paragraphs. Those are small things, and they are what make a homemade audiobook stop sounding homemade.

I did not run mumblebee’s audio step for this post. Everything above about its cleaning and checks comes from reading its code, and the speed numbers are the author’s measurements, not mine.

Which Free Audiobook Converter Fits Your Book

Pick by the book you have, not by the tool’s name. Here is the split.

Your situationUseWhy
Clean EPUB, you want a window, not a terminalaudiblezReads EPUB, lets you tick chapters and preview text, saves one .m4b audiobook
PDF, TXT, Markdown or subtitles, any of Windows, Mac or LinuxabogenTakes many file types, splits by chapter, lets you edit the extracted text before it speaks
Messy PDF, scanned or old non-fiction, and you are on LinuxmumblebeeCleans page junk with a local AI and checks the result before any audio
A short article you will hear onceYour phone’s read-aloudNo setup at all

Every tool gives you a place to look at the text first. Use it. An .m4b file is an audiobook format that can keep chapters inside one file, so players that support it show a chapter list. Audiblez needs ffmpeg installed to produce it.

Abogen’s middle ground is manual cleaning. When it converts an EPUB, PDF or Markdown book, it writes the text to a file with chapter markers, tags like <<CHAPTER_MARKER:Introduction>> that tell it where to split. You click Edit, delete the headers and page numbers by hand, and save. On a novel that is a few minutes of scrolling. On a 400-page scanned textbook, it is an afternoon. Abogen’s web version can also call an AI, but for a smaller job: fixing tricky apostrophes and contractions so they are pronounced right, not deleting page junk.

To be fair to the simple tools: for a clean EPUB novel, mumblebee is overkill. Audiblez or abogen will give you a good audiobook in the time it takes to make tea. Mumblebee earns its setup only when the book is a messy PDF and you would otherwise spend the afternoon cleaning by hand. The book also never has to leave your machine. Abogen, audiblez and mumblebee all run Kokoro on your own computer. With mumblebee, keep the cleaning AI local too.

If what you need is the text itself, not audio, the same “clean before you use it” problem shows up when you convert documents to Markdown for AI. If you wanted to convert a file without handing it to a website, that is how to convert a file without uploading it. And if your audio is shorter, like a blog you want on your podcast app, turning an RSS feed into a podcast is the lighter job.

So, back to the narrator saying “eleven, THE QUIET GARDEN” in the middle of a sentence. The voice was never the problem. Open the text before you press play. If it is an EPUB, you will usually find it clean. If it is a PDF, you will find the junk, and now you know which tool removes it for you.

Leave a comment