LinuxCommandLibrary

ebook-convert

ebook format converter

TLDR

Convert EPUB to MOBI

$ ebook-convert [book.epub] [book.mobi]
copy
Convert PDF to EPUB
$ ebook-convert [book.pdf] [book.epub]
copy
Set output profile
$ ebook-convert [input.epub] [output.mobi] --output-profile [kindle]
copy
Convert with custom cover
$ ebook-convert [book.epub] [book.mobi] --cover [cover.jpg]
copy
Set metadata
$ ebook-convert [book.epub] [book.mobi] --authors "[Author Name]" --title "[Book Title]"
copy
Convert HTML to EPUB
$ ebook-convert [book.html] [book.epub]
copy

SYNOPSIS

ebook-convert input output [options]

DESCRIPTION

ebook-convert is Calibre's command-line tool for converting between ebook formats. It supports a wide range of formats including EPUB, MOBI, PDF, AZW3, HTML, and many others.
The tool handles format-specific optimizations and allows customization of output including fonts, margins, covers, and metadata.

PARAMETERS

--output-profile profile

Device profile (kindle, ipad, etc.).
--cover file
Use custom cover image.
--authors names
Set author metadata.
--title title
Set book title.
--base-font-size size
Base font size in points.
--embed-all-fonts
Embed all fonts.
--change-justification type
Text justification.
--margin-top/bottom/left/right pts
Set margins.
--list-recipes
List news recipes.
--input-encoding enc
Input file encoding.

CAVEATS

PDF conversion may lose formatting. Complex layouts may not convert well. Some formats have limited feature support. Large files can be slow.

HISTORY

ebook-convert is part of Calibre, created by Kovid Goyal starting in 2006. Originally focused on Sony Reader devices, Calibre grew into a comprehensive ebook management system supporting dozens of formats and devices.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community