Is there any PDF to Mobi converter? [closed]

Solution 1:

You can use Auto Kindle to convert a PDF to a Mobi file.

This project was originally a quick and dirty method for me to convert my ebook collection in various formats to a kindle compatible format without worrying about the ebook source type. It takes PDF, Lit, and HTML files and converts them to .mobi.

Solution 2:

I've tried Calibre too; it works, but the GUI too bulky for my simple needs (Calibre provides for library/ebook reader management, allowing you to see your whole library and control which books are synced to which device, including seamlessly converting books to the preferred format for any device along the way).

Fortunately Calibre is written in Python, and is nicely segmented; one tiny part of Calibre, ebook-convert (a command-line interface to the routines that actually handle the conversion) does everything I need.

On OS X, this is located under /Applications/calibre.app/Contents/Resources/loaders (assuming you installed calibre into the default /Applications folder).

To convert a pdf to a mobibook, run:

/Applications/calibre.app/Contents/Resources/loaders/ebook-convert input-filename.pdf output-filename.mobi

On Ubuntu Karmic Koala, installation can be done with sudo apt-get install calibre. this will place ebook-convert in /usr/bin which should already be on your $PATH, so conversion just requires ebook-convert input-filename.pdf output-filename.mobi

The conversion is reasonably good, considering that you're going from a fixed layout format that has no concept of lines of text, let alone paragraphs, to a reflowing format; I've found that it makes reasonable guesses about chapter boundaries (and prepares a simple TOC accordingly), but other things (eg, hyperlinks in the existing TOC in the PDF) can get horribly mangled.. However, ebook-convert is very configureable - [the website][2] has a laundry list of flags you can use to improve chapter detection, what to do with detected chapters, stripping or adding page headers, etc