Readwyn 0.1.0

What is a MOBI and KF8 combo file?

A combo file is one ebook file with the same book in it twice: once as a MOBI 6 book and once as a KF8 book, with a BOUNDARY record between the two. When you add one to Readwyn, the KF8 part is what gets converted to EPUB 3. If that part is corrupt, Readwyn converts the MOBI 6 part instead.

A standalone MOBI 6 file has only the old book, and an AZW3 only the KF8 one. You don’t need to know which you have: Readwyn takes .mobi, .azw, .azw3 and .prc files the same way and goes by the version field in the MOBI header, not the extension.

What you end up with

The combo file stays as it was, and the reader opens the EPUB 3. That EPUB passes the same checks as any MOBI conversion (see How to convert MOBI to EPUB on a Mac): identical text, every link in place, and images and fonts byte for byte. If neither part converts, the book keeps just the combo file.

How combo files are tested

Ten combo files, downloaded from public ebook sites and left exactly as found, are converted whole. Then each one is cut in two at its BOUNDARY record, and the MOBI 6 half and the KF8 half are converted separately: 20 more runs, and each half has to pass every check by itself.

On top of that come round trips. Between them, the 10 source EPUBs have footnotes, images, tables, poetry and deep tables of contents, and one is in Tamil. Two other tools turn each into a combo file, and Readwyn converts it back. The text, links, table of contents and images have to match the source EPUB, allowing for text the writing tool changed and images it re-encoded.