Conversion of WORD Document to HTMl format

Hi All, I have RTF in my Form and i am getting an Word document file attachment into a rich text field and by using a import method i am populating the contents into the RTF.Then how do i convert the contents in the RTF into HTML file using a button click.When i try to save the contents in the RTF as a HTML file.All the contents appear in a encoded format.I am bit lost on how to proceed.

Pls help me in this regard.

Thanks in Advance!!!