Free Support Forum - aspose.com

How to convert doc to html

how to convert doc to html

Hi Nadeem,


Thanks for your interest in Aspose.Words.

With Aspose.Words, you can convert any Word document (doc/docx/rtf etc) to HTML format by using the following two liner code:

Document doc = new Document(@“C:\temp\input.docx”);
doc.Save(@“C:\temp\output.html”, SaveFormat.Html);

Please let us know if you need more information, we are always glad to help you.

Best regards,