View Single Post
Old 04-04-2025, 11:27 AM   #4
madelonw
Connoisseur
madelonw began at the beginning.
 
madelonw's Avatar
 
Posts: 55
Karma: 10
Join Date: May 2009
Location: FL
Device: Kindle 2, Kindle with Special Offers, iPad 2
Post Importing KFX Files into Calibre without Kindle for PC

Quote:
Originally Posted by jhowell View Post
calibre does not currently support importing KFX format. The easiest way to accomplish this is to copy the book from the original calibre library to the one where you want it using calibre's "Copy to library" function.

As an alternative you can use the "Add books" function and manually select the "documents" folder on your Kindle and set the file type to "All files" instead of "Books". But doing it this way will not import any of the book metadata.
I hope my experience getting KFX books into Calibre without using Kindle for PC will be helpful.

This method is for books purchased after February 26, 2025. I "purchase" freebies daily, so I had quite a few books in Content and Devices to deal with. This works once you have installed DeDRM 10.0.9 in Calibre. This method does not use any version of Kindle for PC.

1. Send books to your Kindle device (I can't say whether this works if you don't have a device)
2. Once the books appear as downloaded on the device, plug the device into your computer
3. When the File Explorer window opens, navigate to documents > Downloads > Items01
4. Select all the books with the KFX extension. (If you are reading a book in the list, deselect it - [Ctrl + click])
5. Open Calibre and drag and drop the selected books to Calibre. The new entries should have a KFX format.
a. If you see a KFX.ZIP format, you need to delete that item and resend it to your device.

At this point, I delete the books from my device that I just dropped into Calibre. Your Kindle device needs to be plugged into your computer otherwise you will need to delete them from the device one by one. If you are playing catch up, as I am, you might want to delete these books as well. If you delete the books, you should also delete their corresponding folders. Once you have made these deletions, eject the Kindle device. I use Eject this device from the Device dropdown in Calibre.

You must copy (drag and drop) books from your Kindle device directly into Calibre or this method will not work. If you copy them into a folder on your computer, they will import as KFX.ZIP. You cannot convert or open these files.

If you use the Count Pages plugin, it doesn't (yet) work with the KFX format. However, you can convert KFX books to MOBI (or EPUB) to use Count Pages.

I have used this method to add 395 books to Calibre. Once added I was able to convert all but 3 to MOBI format and Count Pages. Of the 3, only 1 produced an error message during the attempted conversion. I was able to open 2 of the 3 in the Calibre built-in ebook reader.

My Environment
Calibre 8.1.1
Windows 11 PC
Kindle 11th Generation (Firmware: 5.17.1.0.3 (4351890007)
DeDRM 10.0.9

For those of a more technical bent than I, here's the error message on that 1 book:

Calibre Convert Books Error
calibre, version 8.1.1
ERROR: KFX conversion failed: <p><b>Cannot convert The Murder of Mary Takahashi: A Shocking True Crime Story</b><br><br>Exception('section c17G, $269 987, story l17J, $269 991 has invalid text content: All rights reserved\\n\\nWhile every precaution has been taken in the preparation of this book, the publisher assumes no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein. \\n\\nTHE MURDER OF MARY TAKAHASHI \\n\\nFirst edition. November 2020. \\nCopyright \\xa9 2020 Rod Kackley. Written by Rod Kackley. \\n\\n\\nSome aspects of The Murder of Mary Takahashi, some scenes and dialogue, names, and characters, have been fictionalized. \\n\\nHowever, there should be no doubt that the events detailed in the story you read in this book did occur. This is a shocking true crime story.\\n\\nCover Design: SelfPubBookCovers.com/Joetherasakdhi\\x0c')</p>
madelonw is offline   Reply With Quote