Hacky, ohmygawd it's so tacky and less than a days work, but does what i need it to do.
Introducing stckrbin - a little web based convertor