KPF to EPUB
December 7, 2021
2:09 PM
Converting KPF to EPUB format
Posted in topic(s): Formatting
For those people who want to know how to convert from Kindle Create format(kpf) to epub format, here is some information which might help.
I recently managed to successfully convert kpf to epub format using jhowell's KFX conversion plugin for Calibre. Just install the plugin and use drag-and-drop to load your kpf file into Calibre. Then convert the kpf file to epub in the normal way using Calibre. Save your new epub to your desktop and then run Epubcheck on it to ensure that it is a valid epub(it always passes).
Why have I done this conversion?? Because, as far as I'm concerned and despite all the KC doubters and naysayers out there, I did it to learn as many Kindle formatting secrets as possible. I learned the following from this excercise:
How to set themed fonts in an epub using Kindle device system fonts.
How to set permanent title and heading fonts using font fallbacks(which the device user cannot change) that will work on both KF8 and Paperwhite devices(KF7).
How to embed fonts properly in epub format.
I noticed that the kpf-derived epub did not use any 'p' tags at all in the epub version - 'div' tags were used throughout the epub for all styling .
The epub version also did not use any heading styles for any of the main/chapter headings -- 'div ' tags were always used with class styling.
From the testing, like the kpf file, your kpf-derived epub will always have Advanced Typsetting enabled.
This was a very interesting and worthwhile excercise which told me a whole lot more about how to properly format an epub for KDP upload and it also showed me how to improve and enhance the interior styling of any future ebooks in epub format.
So for those who prefer the Way of Epub, converting a KC formatted kpf file to epub and looking at it's inner html secrets and twirly bits will definitely further add to your own understanding of what is required in your epub for a full bore KDP upload.
From <[link]> 
Hello Bill,
I'm encountering a similar issue.
Just prepared my first kdp using kindle create and discovered that calibre will import it as .docx losing all my work in the process...
Calibre version is 5.33.2 Could this be the issue? 
I had both the KFX input and output plugins but removed them both after reading your post.
Also had DeDRM which is now disabled.
But for some reason it still imports the file as DOCX not KDP...
Ummm...
From <[link]> 