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

Free Support Forum - aspose.com

Open html/mhtml files

Is there planed any support for opening html/mhtml files like Excel can do?

What I really want to do is to convert a Word document (created with Aspose words) to Excel. Saving to the mhtml format is a hack we use right now, but when the file is opened in Excel there is a warning, also the files get very large since html is an uncompressed format. Would be great if we were able to convert the file on the server.


We have logged your feature request into our issue tracking system with an id: CELLSNET-21710 We might look into the feature in the future versions. Once we have any update, we will let you know about it.

Thank you.


Aspose.Cells supported the feature, i.e., read, write and render HTML/MHTML file format with enhancements. We recommend to use latest version here:
See the sample code on how to read an MHTML file and save it to XLSX for your reference:
Sample code:

 var workbook = new Workbook("e:\\test2\\myfile1.mht", new LoadOptions(LoadFormat.MHtml));

See the up-to-date Docs for your complete reference:

You may download the featured Examples @ Github repos. here: