Bookle

A fast command-line ebook format converter

Features

🔄

Format Conversion

Convert between EPUB, PDF, MOBI, Markdown, and Typst using a lossless intermediate representation.

Blazing Fast

Built with Rust for maximum performance. Process hundreds of books in seconds.

📦

Batch Processing

Convert entire directories of ebooks with parallel processing and flexible output options.

🖥️

Cross-Platform

Pre-built binaries for Linux, macOS, and Windows. Install and start converting immediately.

📋

Book Info & Validation

Extract metadata and validate ebook structure with detailed JSON output.

🎯

Semantic IR

Preserves document structure through an intermediate representation for high-fidelity conversion.

Supported Formats

Input Formats

  • .epub EPUB Full support
  • .md Markdown Full support
  • .pdf PDF Text extraction
  • .mobi .azw MOBI/AZW Full support

Output Formats

  • .epub EPUB 3 Full support
  • .mobi MOBI Full support
  • .kepub.epub KEPUB Full support
  • .typ Typst Full support

Architecture

Bookle uses a semantic intermediate representation (IR) to convert between formats, preserving structure and content fidelity.

bookle-core

Core library with decoders, encoders, and IR types

bookle-cli

Command-line interface for conversion and batch processing

Quick Start

# Install from source
git clone https://github.com/kaitwalla/bookle.git
cd bookle && cargo install --path bookle-cli

# Convert to MOBI for Kindle
bookle convert input.epub -o output.mobi -f mobi

# Batch convert a directory
bookle batch ./ebooks -o ./converted -f epub

Ready to convert your ebooks?

Get started with Bookle today - it's free and open source.

Get Started on GitHub