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

Free Support Forum - aspose.com

Save as HMTL

Can the Apose.Excel save the generated excel file as HTML ?
Pls help


Currently Aspose.Excel doesn’t support to export html file. We are thinking of this feature but it may take several months.

Any update on this request? We’d love to be able to write one set of code and be able to dynamically choose between generating a XLS or a HTML file.

Also reading about the future possibility of XLS -> PDF sounds great also, that would nearly fill all our desires if we could do XLS, HTML and PDF all from nearly the same codebase.


Hi Michael,

HTML export is really a complex feature. Our planed date for this feature is some day in October. Thanks for your patience.

Aspose.Excel is discontinued now and no more development is done in this regard. A new product Aspose.Cells is released which supports all the features provided by Aspose.Excel as well as the latest features provided by MS Excel. This new product provides feature to save the Excel file as HTML with the following sample code:

/ /Load sample source file
Workbook workbook = new Workbook(sourceDir + “Book1.xlsx”);

HtmlSaveOptions options = new HtmlSaveOptions();
options.ExportHeadings = true;

// Save the workbook
workbook.Save(outputDir + "PrintHeadings_out.html", options);

Here is a detailed section where working with HTML is explained:

Download the latest product version for trials here:
Aspose.Cells for .NET (Latest Version)

Get a runnable solution where hundreds of example are present here.