Converting epub to mobi files for Kindle
Published on January 23rd, 2026
I recently acquired some .epub files that I'd like to read on my Kindle. Instead of just uploading them and dealing with subpar parsing, I figured it was probably best to convert them to .mobi files as that's what Kindles are best equipped to read.
After getting the files, I used this Docker image to convert everything. Assuming a folder structure that looks like this:
1books/
2├── input/
3└── output/
And all the .epub files are in the input/ folder, I ran the following command from the books/ folder:
1docker run --rm -t -v ${PWD}/:/mnt/calibre/ ianstorm/ebook-convert epub-to-mobi
After a little while, the output/ folder had all the .mobi files ready to transfer & read!
Bonus: instead of transferring the books to the Kindle using a cable, I used the excellent https://send.djazz.se. This tool says it does its own conversion if you upload .epub files, but it failed on a couple of the ones I tried. So I figured my best bet was to do my own conversion upfront.