***ATTENTION***
If you have ebooks on amazon, you have 5 days to download them before the option is removed, and they are forever locked behind the paywall forever.
Go to "Manage Your Content and Devices". for each book click the "More actions" dropdown, and select "Download and transfer via USB". This will download a DRM locked AZW file. But you can then use Calibre to import and convert those books.