pyhtmlhelp is a cross-platform tool written in Python for converting among CHM, HTB, and DevHelp formats. Hopefully, more formats will follow.