Skip to content

How to Convert an ePub to Mobi Format

Converting EPUB to Kindle formats with KindleGen and Calibre on Linux and macOS.

1 min read

Since Kindle cannot read files in the EPUB file format we need to convert it to MOBI file format.

If you are looking for an online converter please go to this site. You can convert file formats such as DOC, PPT, ODS, and PDF.

If you are using Linux or OSX, install the program called Calibre to convert e-books from one format to another. If you are looking for a command line tool KindleGen converts HTML, XHTML or EPUB files to MOBI.

Using KindleGen

Converting

Terminal window
$ ./kindlegen mybook.epub

Using Calibre

Installation on linux

Terminal window
$ apt-get install calibre

Installation on mac

Terminal window
$ brew install calibre

Converting

Once the package is installed, you can run the command line command such as the following to convert mybook.epub to mybook.mobi.

Terminal window
$ ebook-convert mybook.epub mybook.mobi

If you have a lot of e-books in EPUB file format that you want to convert to MOBI file format, you can do so by running the following:

Terminal window
$ for file in *.epub; do ebook-convert “${file}” “${file%.epub}.mobi”; done

This will batch the files and convert them one by one to a Kindle e-book.

Related articles

25 min readTürkçe

Solidity

Solidity ve Ethereum akıllı sözleşmeleri: değişken türleri, fonksiyonlar ve temel kavramlar.

  • Miscellaneous
23 min read

ASCII Table

ASCII reference table: control characters, printable characters and extended codes 0–255.

  • Miscellaneous
4 min read

GIS

GIS math: degrees-minutes-seconds, point-in-circle tests, distances and geographic midpoints in Java.

  • Miscellaneous

Type to search the whole site.