Free Support Forum - aspose.com

Convert docx to html form

I am brand new to aspose so I’m looking for some guidance on where to start. I have docx with form fields in it. I need to convert this to an html form that can be used by a asp.net mvc application. The docx form fields will all need to become html input fields, that the web user be required to fill in. I’ve found examples of converting docx to html but non that include form fields.


attached is an example document

Hi there,


Thanks for your inquiry. Please use latest version of Aspose.Words for .NET 16.2.0 and use following code example to convert Docx to Html. The output Html will contain the html input fields.

Please let us know if you have any more queries.

Document doc = new Document(MyDir + “orrelease062015.docx”);<o:p></o:p>

doc.Save(MyDir + "Out.html", SaveFormat.Html);

A post was split to a new topic: Transform Rich text Content Controls to HTML Input fields