Pandoc

Pandoc  a universal document converter. If you need to convert files from one markup format into another, pandoc is your swiss-army knife.