Is there a way to convert a PDF file to ePUB format WITHOUT using Calibre

80,644

Solution 1

We know you don't like Calibre... but have you tried its CLI conversion tool?

The Calibre install provides the command ebook-convert that will handle what you want, and there's no need to run Calibre.

ebook-convert file.pdf file.epub

is all that's required.

If the output looks a little wrong - try this

ebook-convert file.pdf file.epub --enable-heuristics

It will try a "smart" way to convert. Not perfect, but can work well in most conversions.

Solution 2

LibreOffice has an epub exporter extension, so you can install the LibreOffice PDF importer extension, import your PDF, and then export to epub.

Solution 3

Have a look at www.convertfiles.com, you can easily convert .pdf to .epub using their free online conversion tool.

Solution 4

This is not a direct answer to the question, but for people who want to read PDFs on an e-reader and are finding it cumbersome, one solution may be to crop the margins of the PDF, and read in landscape mode. That works acceptably well for me on my e-reader in any case. There are many PDF croppers out there. Just search for "pdf crop" or "pdf trim".

Share:
80,644

Related videos on Youtube

ACF
Author by

ACF

Updated on September 18, 2022

Comments

  • ACF
    ACF almost 2 years

    I'll tell you clearly and loudly: I don't like Calibre! So, how can I convert PDF to ePUB without it?

  • zakkak
    zakkak over 9 years
    Any way to make it work with 2 column documents? The --enable-heuristics flag does not work well with those.
  • Drac Noc
    Drac Noc over 9 years
    According to their website, multi-column PDFs are not supported.
  • Wilf
    Wilf about 9 years
    Wow thanks. For multiple PDF files within a folder I used this after cding to the directory: find ./ -iname "*pdf" -type f | while read f; do echo -e "\e[1mConverting file $f \e[0m" ; ebook-convert "$f" "${f%.pdf}.epub" --enable-heuristics ; done
  • Prashant Tapase
    Prashant Tapase over 6 years
    @DracNoc what about windows machine?
  • Ace.C
    Ace.C about 5 years
    note that if you don't have the ebook-convert command, you may have installed calibre through flatpak or snap. Uninstall your existing calibre through the software center, or flatpak remove, or snap remove and then install with apt
  • Drac Noc
    Drac Noc about 5 years
    @PrashantTapase - I don't see why you should have any trouble. The GUI offers the same options as the CLI. The GUI has more of a per-device set of rules. You can opt on how files are converted when they are transferred according to what reader you plugged in. A Kobo reader uses epub, Kindle has mobi. Calibre should pick that up automatically, but you can always use the convert icon to fine tune what you have in your library.
  • Daniel Ziltener
    Daniel Ziltener over 2 years
    Well the Calibre converter is just crap in general. In a PDF where the text appearance is images, but the text itself is actually also stored, Calibre (and ebook-convert) will discard the text entirely and store shitty downscaled versions of the image pages instead.