We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

API to convert html to word

Does aspose.word support convert a html file to word?
If support, what API should i use? And can you give me an executable example?

thanks a lot


Yes, you can use Aspose.Words to convert HTML files to Word formats such as DOCX, DOC, RTF, ODT etc. For example, please check following simple C# code of Aspose.Words for .NET API to perform HTML to DOCX conversion:

Document doc = new Document("C:\\temp\\source.html");