View Full Version : Steps/ best practices for converting PDFs to ePUBs? Thoughts and Ideas

05-04-2013, 04:53 PM
Steps/ best practices for converting PDFs to ePUBs? Thoughts and Ideas:

Just to preserve this knowledge and information ( in contextually separate topic/ subject I am creating a fresh thread here - Please post replies/ ideas relating to the conversion discussion here -

I have some PDFs that I am reading & highlighting in Good Reader I'd like to push to ePub so that I could do so in Marvin instead.

PS: I am posting additional details, thoughts, questions relating to my post and now the knowledge from your replies. Please do check it out and share thoughts.

- I understand the variation and variety of PDFs and the structural and placement related markers that they may have within make this complex - sometimes next to impossible
- If these are scanned books/ pages then the OCR conversion is another major step
- If the text and graphics are placed in various boxes in weird ways, god help us

IF.. If the PDF is fairly simple structured and has a single column flow of text (with selectable Text - No OCR aspect here) - where structure and markers are relatively simpler..
WHICH TOOLS and STEPS would you suggest?

I have one such PDF - Looks almost like a Word Document saved as a PDF.

Is there a thread/ location/ tutorial that outlines steps/ best practices for converting PDFs to ePUBs?

I have some PDFs that I am reading & highlighting in Good Reader I'd like to push to ePub so that I could do so in Marvin instead.

I am sure faterson has expertise on this. Wondering if there is a thread/ tutorial / steps that are a recommended read.

PS: If, despite the above warning, you decide to go ahead, I recommend not to use Calibre for PDF conversion. I've had better results using the old Mobipocket Reader (killed by Amazon similarly to Stanza). Here is the install file for Windows ( The result of the automatic, one-click conversion will still be very poor, but that's just the way it is. :(

For optimal quality of conversion from PDF to EPUB, you need to sacrifice all those extra hours of manual work, and use top-quality OCR software such as FineReader. I create a HTML file in FineReader, then fine-tune that HTML file by manual coding (using the EditPlus plain-text editor for Windows) until its code is approved by W3C's validator. No fluff must be left inside the file -- the CSS must be minimalistic. Finally, I convert the HTML file to EPUB in Calibre, and that's it.

I indeed have expertise on that, and that expertise says: don't bother! :(

It's sad but true. My daily reading is split roughly evenly between Marvin and GoodReader, precisely because converting PDFs to EPUBs is often a hopeless undertaking. And, many books (especially old, scanned editions) are only available as PDF files -- or the EPUB versions of the same texts are of such ridiculously bad quality, they are unreadable. (Yes, I'm talking about you,

Only this weekend, I was converting a short novel (novelette), 25 thousand words, 45 pages of PDF source file, from PDF to EPUB, precisely so that I could enjoy reading it in Marvin, rather than GoodReader.

I used the best available OCR software for the conversion, which is FineReader.

Even so, it took me nearly 5 hours (!) to convert the PDF file so that I was satisfied with the EPUB result. It's just impractical. However, this was a novelette I deeply cared about, so I was willing to sacrifice the 5 hours of my time for the conversion. I would, of course, not be ready to do that on a regular basis, because my remuneration for the work was exactly 0 cents. The only reward I'll get will be the pleasure of reading that file in Marvin. Hell, that's enough for me (in this special case). :o

I will add to that too and also give the same opinion. PDFs are usually designed to be printed and are made in programs like InDesign, Quark, and Acrobat which pretty much work as WYSIWYG (what you see is what you get) editors.

Most of the text is done in individual boxes, one for the heading, one for each paragraph, column, etc. And they're layered, so you're just hoping that the writer did add them one after another, which is never the case. This becomes apparent when you're making selections and something else is being highlighted.

Stick any PDF document into Adobe's Acrobat editor, and you literally see how awful the setup is.

I would think OCR would work better with a flattened image, as long as it was 300dpi or more.


05-04-2013, 05:03 PM
Attempt 1:

I placed this PDF into Acrobat XI and as I move the text cursor down, its moving up and down almost like a Word Document through the few pages.

PDF has no security / locks on it.

Save as Other > Word & Word 03 - Both give some kind of failed message.

Save As failed to process this document.

I will try in some BlueBeam PDF as well.

05-04-2013, 05:09 PM
BB PDF was able to start but fired and Error which shows some info about how PDF was converted.

Stopped working

Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: bluebeam.exporter.exe
Problem Signature 02: 9.0.4241.25966
Problem Signature 03: 4e45aa32
Problem Signature 04: SolidFramework
Problem Signature 05: 7.0.1285.0
Problem Signature 06: 4d06172a
Problem Signature 07: 2be
Problem Signature 08: e1
Problem Signature 09: System.InvalidOperationException
OS Version: 6.1.7601.
Locale ID: 1033

Read our privacy statement online:

If the online privacy statement is not available, please read our privacy statement offline:

05-04-2013, 05:15 PM
Ok. I installed MobiPocket Reader as per your suggestion. I can open it inside it, how do I get an ePub or Mobi from it that I can put into Marvn or so?

05-04-2013, 06:31 PM
Get the latest version of FineReader, OCR it, proofread it, save it as HTML, import into Sigil. Or, I guess that using the latest version (FineReader 11) you could export it directly as an ePub, but the styles will probably be all over the place.

I would export it as DOC/DOCX, run my custom Word macro to "dumb" the text down to its core components (bolds, italics, etc) and then redo the layout either in InDesign, or apply quick styles in Word and then save as a Filtered HTML and then import into Sigil. Hmmm... There are a few routes and software programs that you can use, but just make sure that you proofread the final product. Proofreading is damn important.

Oh, and one last thing, FineReader will OCR the PDFs as a bunch of images, so the images that it saves as "Pictures" are pretty much screenshots of a screenshot, sort of speaking. You're probably better off exporting the images from Adobe Acrobat or something like that, so that you don't lose quality.

05-04-2013, 06:52 PM
I just got PDFtoEpub for free here: and so far it has done very well converting some books I had that even Mobipocket Reader/Creator couldn't handle. The resulting epubs may still need a few corrections in Sigil, however, to fix things like spacing or the infamous "missing" apostrophes, and on occasion, the apostrophes that somehow get switched to reversed quotation marks but to be fair, many programs do that when converting .pdf files, not just this one. So far I like it, you may want to give it a try.

05-04-2013, 08:50 PM
I use PDF converter professional by Nuance to convert PDF to word and then Atlantis can easily convert word to ePub.


05-07-2013, 10:12 AM
pdftoepub does not allow redistribution.

05-07-2013, 01:11 PM
The only way to convert PDF > ePub is to A/B compare the ePub to the PDF. That means every character, every space, every punctuation mark, every graphic, every bold, every italic and anything else in the PDF. There is no way to convert a novel length PDF that won't have any error.

Yes, it will take time to properly A/B. But that's the only way to do it.

05-07-2013, 06:23 PM
Any conversion from columns is especially difficult because it can go along being perfect for 10-20 pages and then jumble things up, putting parts of paragraphs above or below invisible to casual scanning. It gets especially bad near any illustration or small blocks of text.

The removal of extra colors and font sizes not in the original text is another playground of the devil in search and replaces that can go wrong too.