XDoc.Excel
Features
Tech Specs
How-to C#
Pricing

C# Excel Library
C# Excel - Convert Excel to HTML web pages in C#.NET


How to Convert Excel to HTML Webpage with C# Excel Conversion SDK





Our Excel to HTML converter library control is a 100% clean .NET document image solution, which is designed to help .NET developers convert Excel to HTML webpage using simple C# code.

This Visual C#.NET Excel to HTML conversion control component makes it extremely easy for C# developers to convert and transform a multi-page Excel document and save each Excel page as a separate HTML file in .NET class application.

The HTML document file, converted by C#.NET Excel to HTML converter toolkit SDK, preserves all the original anchors, links, bookmarks and font style that are included in target Excel document file. Besides, the converted HTML webpage will have original formatting and interrelation of text and graphical elements of the Excel.

This C#.NET Excel to HTML conversion library can eliminate the crashing issue of web browser when it is trying to display a Excel document file inside a browser window. Besides, this Excel converting library also makes Excel document visible and searchable on the Internet by converting Excel document file into HTML webpage.


C#: Convert Excel document to HTML5 files



This is a C# programming example for converting Excel to HTML5.

//load excel document
XLSXDocument docx = new XLSXDocument(@"C:\demoInput\demo.docx");

//convert to html5 files
docx.ConvertToVectorImages(ContextType.HTML, @"C:\htmlOutput\", "test", RelativeType.HTML);

//convert to svg files
docx.ConvertToVectorImages(ContextType.SVG, @"C:\svgOutput\", "test", RelativeType.SVG);