ebook2audiobook
Convert eBooks into audiobooks with TTS and optional voice cloning
20.1k stars 1.7k forks last commit first released Apache-2.0
Actively maintained
Last commit 22 Aug 2026.
ebook2audiobook is a tool for generating audiobooks from non-DRM, legally acquired eBooks using multiple text-to-speech (TTS) engines. It can run with a Gradio web interface or in headless/CLI mode, and supports multilingual narration with optional voice cloning.
Key Features
- Converts many input formats including EPUB, MOBI/AZW3, FB2, PDF, DOC/DOCX, HTML, RTF, TXT, and image-based documents
- OCR support for scanned pages and image-based eBooks
- Multiple TTS engine options (including XTTSv2 and others) with broad language coverage
- Optional voice cloning using a provided reference voice file
- Supports custom XTTSv2 model uploads (e.g., zipped model artifacts)
- Outputs common audiobook/audio formats including MP3, M4B, M4A, AAC, FLAC, OGG, WAV, and WebM
- Runs on CPU or accelerators (CUDA and other backends depending on environment)
Use Cases
- Converting personal eBook libraries into listenable audiobooks with chapters and metadata
- Producing multilingual narration for accessibility, language learning, or travel
- Creating custom-voice narration for personal use using voice cloning
Limitations and Considerations
- Intended for non-DRM, legally acquired eBooks; DRM-protected sources require separate lawful handling
- OCR quality and document structure (especially EPUB chapter boundaries) can affect chapter splitting and narration results
It is well-suited for users who want a local web UI and batch-capable CLI for audiobook generation, while keeping flexibility in TTS engines, languages, and output formats. With GPU acceleration and suitable TTS models, it can significantly improve throughput and audio quality for larger books.
Categories:
Tags:
Tech Stack:
Similar to ebook2audiobook
Autocaliweb
Web interface for browsing, reading and managing Calibre libraries
Fork of Calibre-Web providing a Bootstrap-based web UI to browse, read, convert and serve eBooks, comics and PDFs from a Calibre database with Docker support.


ConvertX
Self-hosted web-based file converter for 1000+ formats
ConvertX is a self-hosted web file converter supporting 1000+ formats across documents, images, audio/video, ebooks, and 3D assets, with multi-file processing and accounts.

OmniTools
Self-hosted web-based utilities for file, text, and data tasks
OmniTools is a self-hosted web app providing browser-based utilities for images, video, PDF, text, date/time, math, and data formats, with client-side processing.


ArchiveBox
Open-source self-hosted web archiving and snapshotting tool
Self-hosted tool to collect and preserve webpages, media, and bookmarks in durable formats (HTML, PDF, WARC, MP4) with a CLI, web UI, and search.
Gotenberg
Containerized API for document conversion and PDF generation
Gotenberg is a containerized HTTP API that converts HTML, Markdown, and Office documents to PDF using engines like Chromium and LibreOffice, with options to merge and automate outputs.


calibre
E-book manager for cataloging, converting, editing, and syncing
Calibre is a cross-platform e-book manager to organize libraries, edit and convert formats, fetch metadata, and sync content to e-readers.


