Backing up your Kindle books in 2024
Backing up your Kindle books is still quite possible as of February 2024. I spent like 3h digging through all the guides online and am documenting my final result. I do not condone piracy in any way and my use case for backing up to EPUB is 1) to keep my purchased content available in case Kindle is ever down and 2) I want to index the book contents for a RAG system so I can go back and ask questions about the book contents for personal recall.
Converting your Kindle book to EPUB
Download Kindle for PC (I used v2.3)
Download the purchased books you want to back up
Find your content folder
Default: C:\Users\YOU\Documents\My Kindle Content
Find in Kindle app: Tools > Options… > Content
Download latest Calibre (I used Windows v7.5.1)
Download the noDRM plugin (I used v10.0.9)
Download the latest KFX-Input plugin from the Calibre Plugin List (I used v2.8.1)
Open Calibre
Open Preferences > Plugins. Click Load plugin from file.
noDRM release is a .zip, unzip it to see DeDRM_plugin.zip inside
The KFX-Input download is the right .zip itself
Restart Calibre
Now you should be able to visit your My Kindle Content folder found in step 1.b and drag the .azw file into Calibre to import it.
Finally, export to .epub without DRM:
Right click the book in Calibre, then Convert books > Convert individually
In the convert window, change Output format to EPUB (or whatever)
Click OK
Selecting the book in Calibre will now show two hyperlinks: KFX and EPUB
Right click EPUB > Copy > Path to File