Is to possible to convert pdf file to epub format without errors? Is there some application in Linux that can do it? I found only Ecub and Calibre which give bad results or fail.

A command-line application is sufficient.

It's an ordinary pdf (not scanned), so OCR is not needed.

  • 1
    If calibre fails you could use the fact that ePub is just a couple of xhtml files inside a zip. So you could play with pdftohtml or pdftotext and then pack the result into a ePub file.
    – Johan
    Jan 22, 2013 at 5:43

1 Answer 1


Calibre would be my best suggestion, though it's far from perfect.

The linux version comes with both a GUI interface, and various command line tools. See ebook-convert:

ebook-convert file.pdf file.epub

  • I'm sorry, Calibre is another one I tried but I forgot it's name. Now I confirmed that this failed. I tried to open the result with my Aldiko reader.
    – xralf
    Nov 8, 2011 at 8:49
  • I would file a bug report in its issue tracker: they put out a new version every week, and are quick to respond in general, I've found.
    – frabjous
    Nov 8, 2011 at 9:05
  • But I don't know what error happened, can I test the file.epub and see where is the problem?
    – xralf
    Nov 8, 2011 at 9:56
  • Calibre has a forum at MobileRead.com -- you might ask there.
    – frabjous
    Nov 8, 2011 at 10:05

Not the answer you're looking for? Browse other questions tagged or ask your own question.