MOBI libraries for C/C++
- libmobi is the most complete open-source MOBI library: it parses MOBI 6, KF8 (AZW3), hybrid files and Print Replica (AZW4), reconstructs the HTML, CSS, images and table of contents, edits metadata and writes the file back. Its
mobitoolexports EPUB. LGPL-3.0. - MuPDF opens MOBI files like any other document: it lays out the text into pages, renders them, extracts text and converts to PDF. It decodes only uncompressed and PalmDOC-compressed files, not HUFF/CDIC. AGPL-3.0 or commercial.
Pick libmobi to get at the structure and metadata of Kindle files, and MuPDF to show or convert them as pages.
- libmobi libmobi is a C library for Mobipocket and Kindle e-books (MOBI, AZW, AZW3/KF8, AZW4). How to install it, read metadata, extract the cover and HTML.
- MuPDF MuPDF opens MOBI e-books in C: lay out pages, extract text, render pages to PNG and convert MOBI to PDF. Installation, supported MOBI variants.