1. Products
  2.   Conholdate.Total
  3.   .NET
  4.   XLSX to XLS Conversion

Convert XLSX File to XLS in C#

The native XLSX file conversion API makes it easy to convert XLSX to XLS in C#, VB.NET, and ASP.NET applications. It supports highly-accurate conversion of popular Excel worksheet formats to and from Word documents (DOC, DOCX), PowerPoint presentations (PPT,PPTX), PDF, Photoshop (PSD, PSB), eBook (EPUB), web (HTML, XML, JSON) and image file formats (JPG, PNG, BMP, PNG) without using any external tool or a third party API. The advanced XLSX document manipulation and conversion features allow you to programmatically add watermarks, select different page numbers or ranges in the source XLSX document that you want to convert; customize the appearance of it and save it as XLS document using a few lines of C# code. The online XLSX to XLS converter tool is free to use and efficiently showcases the conversion functionality inherited in Conholdate.Total for .NET APIs. No registration required – just upload your XLSX file and get your XLS file in seconds.

Download

Convert XLSX to XLS in .NET

Follow these simple steps to convert XLSX files to XLS in .NET. You can view the converted files as they are, or render and display them as HTML without using any external software.

Get the respective assembly files from the downloads or fetch the whole package from NuGet to add Conholdate.Total for .NET directly in your workspace.

  • Create Converter object to convert XLSX document
  • Set the convert options for XLS format
  • Call Convert method of Converter class instance for conversion to XLS
  • Set options for HTML viewer
  • Create Viewer object to view converted XLS as HTML

Free App for XLSX to XLS Conversion



// Supports converting documents between Word, Excel, PowerPoint, Project, Images, Web, Email, Metafiles and Diagram file formats.
// Supported file formats: https://docs.groupdocs.com/conversion/net/supported-document-formats/
using (Converter converter = new Converter("input.xlsx"))
{
var convertOptions = converter.GetPossibleConversions()["pdf"].ConvertOptions;
converter.Convert("output.pdf", convertOptions);
}
HtmlViewOptions viewOptions = HtmlViewOptions.ForEmbeddedResources("output{0}.html");
using (Viewer viewer = new Viewer("output.pdf"))
{
viewer.View(viewOptions);
}

Convert XLSX to PDF/Word/HTML/PPTX in C#

Convert your XLSX files to other popular documents formats such as PDF, HTML, PowerPoint presentations and Word processing documents using C# .NET code. Load the source XLSX file and save it as a converted document in some other document format such as PDF, DOCX, HTML or PPTX.

  • Create Converter object and pass source XLSX file to it
  • Instantiate the proper ConvertOptions class e.g. (PdfConvertOptions for conversion to PDF, WordProcessingConvertOptions for conversion to Word formats, MarkupConvertOptions for conversion to HTML, PresentationConvertOptions for conversion to PowerPoint formats)
  • Call Convert method of Converter class instance for conversion to PDF/HTML/PPTX or Word document format

Auto-Cache Converted XLS Document

In certain situations, the converted document may have a larger file size and require additional time for conversion. By default, the cached converted documents are stored locally. However, with Conholdate.Total for .NET, you can take advantage of the custom cache implementation feature using the iCache interface. This allows you to efficiently manage and customize the storage of conversion results according to your specific requirements. By implementing this feature, you can significantly improve the repetitive conversion process.

The .NET Excel conversion library offers comprehensive support for converting to and from password protected archives. Additionally, it provides the ability to compress the conversion results into various archive formats, including ZIP, RAR, 7Z, TAR, GZ, and BZ2.


// Supports converting documents between Word, Excel, PowerPoint, Project, Images, Web, Email, Metafiles and Diagram file formats.
// Supported file formats: https://docs.groupdocs.com/conversion/net/supported-document-formats/
//For Excel to PDF conversion in .NET
// Instantiate PdfConvertOptions class and call Convert method for Excel Workbook to PDF conversion
using (var converter = new GroupDocs.Conversion.Converter("sample.xlsx"))
{
var options = new PdfConvertOptions();
converter.Convert("converted.pdf", options);
}
//For Excel to HTML conversion in .NET
// Instantiate MarkupConvertOptions class and call Convert method for Excel Workbook to HTML conversion
using (var converter = new GroupDocs.Conversion.Converter("sample.xlsx"))
{
var options = new MarkupConvertOptions();
converter.Convert("converted.html", options);
}
//For Excel to Word documents conversion in .NET
// Instantiate WordProcessingConvertOptions class and call Convert method for Excel Workbook to Word conversion
using (var converter = new GroupDocs.Conversion.Converter("sample.xlsx"))
{
var options = new WordProcessingConvertOptions();
converter.Convert("converted.docx", options);
}
//For Excel to PowerPoint Conversion in .NET
// Instantiate PresentationConvertOptions class and call Convert method for Excel Workbook to PowerPoint conversion
using (var converter = new GroupDocs.Conversion.Converter("sample.xlsx"))
{
var options = new PresentationConvertOptions();
converter.Convert("converted.pptx", options);
}

Convert XLSX to XLS with Watermarks

Accurately convert XLSX to XLS exactly as the original source file and apply text or image watermarks to XLS pages using C# .NET.

  • Create Converter object to convert XLSX document
  • Create new instance of WatermarkOptions class
  • Specify watermark properties (color, width, text, image etc)
  • Instantiate the proper ConvertOptions class
  • Set Watermark property of the ConvertOptions instance
  • Call Convert method of Converter class instance for conversion to XLS

Extract XLSX Document Information

Discover valuable file-format specific information using the document information extraction feature. Obtain basic details from the source document file (XLSX) and extract additional data, including project start and end dates from Microsoft Project files, printing restrictions from PDF documents, and a list of enclosed folders from Outlook data files.

Easily convert popular document file formats across various operating systems including Windows, Linux, and macOS. Seamlessly utilize platforms such as Windows Azure, Mono, and Xamarin for efficient document conversions.


// Supports converting documents and adding watermarks to 100+ file formats including Word, Excel, PowerPoint, Project, Images, Web, Email, Metafiles and Diagrams
// Supported file formats: https://docs.groupdocs.com/conversion/net/supported-document-formats/
using (Converter converter = new Converter("input.docx"))
{
WatermarkOptions watermark = new WatermarkOptions
{
Text = "Sample watermark",
Color = Color.Red,
Width = 100,
Height = 100,
Background = true
};
PdfConvertOptions options = new PdfConvertOptions
{
Watermark = watermark
};
converter.Convert("output.pdf", options);
}

Convert JSON File to XLSX in .NET

Converting a JSON file to XLSX in .NET is now easier with Conholdate.Total for .NET APIs. Easily leverage JSON files as data sources and precisely convert them to Excel spreadsheet format (XLSX) using just a few lines of C# code, all without the need for external software.

  • Create Converter object to convert JSON file
  • Instantiate SpreadsheetConvertOptions class
  • Call Convert method of Converter class instance for conversion to XLSX

Remote XLSX Conversion Simplified

With Conholdate.Total for .NET, developers can follow a simple method to load and convert XLSX documents from remote locations and cloud-based document storage resources. Supported sources include Amazon S3, Microsoft Azure Blob, FTP, local disk, stream, and simple URLs. By specifying the appropriate method to obtain the remotely located document stream, programmers can easily pass it on to the Converter class as a constructor, enabling seamless conversion capabilities.

The Conholdate.Total for .NET APIs seamlessly integrate with various application types based on the .NET Framework 2.0 or later, including Windows Forms, ASP.NET, WPF, and WCF. Enjoy the native compatibility and leverage the APIs’ functionality within your preferred .NET application environment.


// Supports converting documents between Word, Excel, PowerPoint, Project, Images, Web, Email, Metafiles and Diagram file formats.
// Supported file formats: https://docs.groupdocs.com/conversion/net/supported-document-formats/
using (Converter converter = new Converter("data.json"))
{
SpreadsheetConvertOptions options = new SpreadsheetConvertOptions();
converter.Convert("converted.xlsx", options);
}

Frequently Asked Questions (FAQs)

Can I convert XLSX files to XLS online without paying anything?

Yes. You can easily convert XLSX files to XLS online using our completely free converter. It requires no software installation or user registration—just upload your file, convert and download your XLS.

How do I convert XLSX files to XLS using C# code?

Converting XLSX files to XLS using C# is straightforward with the Conholdate.Total for .NET APIs. We provide practical, ready-to-use code samples and clear documentation to simplify the integration into your applications.

Do I need to have Microsoft XLSX installed to perform XLSX-to-XLS conversions with C#?

No. you don’t need Microsoft XLSX installed. Conholdate.Total APIs operate independently, allowing you to convert XLSX documents directly to XLS format within your .NET applications without XLSX itself.

How quickly does your online XLSX-to-XLS converter work?

Our online converter is built for speed and efficiency. Most conversions take just a few seconds—even when dealing with larger or more complex XLSX files.

Will the online converter preserve formulas and hyperlinks from my XLSX files?

Our online XLSX-to-XLS converter keeps all your hyperlinks, images, charts and formatting intact. However, XLSX formulas are converted into their resulting values in the final XLS, ensuring an accurate and readable document.

Can I automate the XLSX-to-XLS conversion on my own servers?

Definitely! You can automate the XLSX-to-XLS conversion process using Conholdate.Total for .NET. It’s perfect for handling batch jobs, scheduled conversions, or integrating seamlessly into your backend workflows.

Is it safe to upload my XLSX files for online XLS conversion?

Your security and privacy are extremely important to us. Uploaded files are securely processed and automatically deleted from our servers shortly afterward, ensuring your data remains confidential.

Can I convert several XLSX sheets into a single XLS using C#?

Yes. you can. Conholdate.Total allows you to select and combine multiple sheets from your XLSX workbook into a single XLS document effortlessly.

Does Conholdate.Total for .NET support batch XLSX files conversion to other formats?

Yes. Conholdate.Total for .NET supports batch conversion of XLSX documents, allowing developers to convert multiple files at once.

Does the XLSX to XLS API work with .NET Core, .NET 5 and newer versions?

Absolutely. Our XLSX-to-XLS conversion API supports all modern .NET frameworks, including .NET Core, .NET 5, .NET 6, and even .NET 7. This gives you flexibility regardless of your project environment.

Can I add watermarks or passwords to XLSs created from XLSX files?

Yes. Conholdate.Total provides convenient features to enhance your XLS documents. You can add watermarks for branding or confidentiality, apply password protection, and even customize other XLS security settings easily during the conversion process.

What file formats for documents and images are supported by Conholdate.Total for .NET?

Conholdate.Total for .NET integrates APIs from Aspose and GroupDocs to enable .NET programmers to perform various document manipulation actions on a wide range of file formats including Word, Excel, PDF, PowerPoint, Visio, HTML and images in .NET, C#, ASP.NET and VB.NET applications.

Can I convert password-protected XLSX files to XLS in .NET?

Yes. Conholdate.Total for .NET supports the conversion of password-protected XLSX files. With built-in methods to handle encrypted documents, you can securely convert sensitive files to XLS while preserving their confidentiality and integrity.

What are the licensing costs for Conholdate.Total’s XLSX to XLS conversion API?

Conholdate.Total for .NET offers a fully functional free trial version for 30 days. Paid plans are available for higher usage levels. Developers should carefully review the pricing and licensing terms before using the document conversion API.

What is XLSX file format?

The XLSX file format is a widely used file format for storing spreadsheet data. It was introduced by Microsoft as part of their Microsoft Office suite, specifically for the Excel application. XLSX stands for Excel Open XML Spreadsheet. Unlike its predecessor, the XLS format, which was based on a proprietary binary file structure, XLSX is based on the Open XML file format.

XLSX files are structured as a collection of XML files compressed into a single ZIP archive. This XML-based structure allows for more efficient storage and faster data processing. XLSX files store data in a tabular format, with rows and columns that can contain text, numbers, formulas, and other types of data. They also support formatting options such as cell styles, fonts, colors, and conditional formatting.

One of the advantages of the XLSX format is its compatibility across different platforms and software applications. Many spreadsheet programs, including Microsoft Excel, Google Sheets, and LibreOffice Calc, can open and edit XLSX files. This makes it easy to share and collaborate on spreadsheet data with others, regardless of the software they are using.

XLSX files also offer features like data validation, filtering, sorting, and the ability to create charts and graphs based on the data. Additionally, XLSX files can contain multiple sheets within a single file, allowing users to organize and manage different sets of data within a single document.

Learn

What is XLS file format?

The XLS file format is a file format used by Microsoft Excel, an application for spreadsheet and graphing. It is an updated version of the XLS file format that was introduced in Excel 97. The XLS file format is a spreadsheet format and can be used to store data in cells arranged in a tabular format. It can be used to create charts and graphs, along with other features such as formulas, variables and macros.

XLS files can be protected with passwords and encryption, allowing users to protect sensitive data. They also support multiple sheets, so they can contain large amounts of data. XLS files can be opened and read by a wide variety of software, including Microsoft Excel and other spreadsheet applications.

XLS files are compatible with a variety of operating systems and devices, making them a popular choice for storing, sharing and transferring data. They are usually used for data analysis, report-building, simulations and other business operations.

XLS files are also used for statistical analysis. They are used to visually display data in the form of charts, graphs and tables. They can also be used to store and analyze large amounts of data.

Overall, the XLS file format is an important file format used for storing and sharing data. It is used for data storage, analysis and report-building. It is compatible with a variety of different operating systems and devices, making it a popular choice for businesses.

Learn

Popular XLSX Conversion Options with .NET

Convert XLSX to PDF

(Portable Document Format)

Convert XLSX to WORD

(Word Processing Files)

Convert XLSX to IMAGE

(Digital Image Files)

Convert XLSX to DOC

(Microsoft Word Binary Format)

Convert XLSX to DOCX

(Office 2007+ Word Document)

Convert XLSX to DOCM

(Microsoft Word 2007 Marco File)

Convert XLSX to DOT

(Microsoft Word Template Files)

Convert XLSX to DOTX

(Microsoft Word Template File )

Convert XLSX to DOTM

(Microsoft Word 2007+ Template File)

Convert XLSX to TXT

(Text Document)

Convert XLSX to RTF

(Rich Text Format)

Convert XLSX to HTML

(Hyper Text Markup Language)

Convert XLSX to HTM

(Hypertext Markup Language File)

Convert XLSX to MHTML

(Web Page Archive Format)

Convert XLSX to MHT

(MHTML Web Archive)

Convert XLSX to XLS

(Microsoft Excel Spreadsheet (Legacy))

Convert XLSX to XLSX

(Open XML Workbook)

Convert XLSX to XLSM

(Macro-enabled Spreadsheet)

Convert XLSX to XLSB

(Excel Binary Workbook)

Convert XLSX to XLT

(Excel 97 - 2003 Template)

Convert XLSX to XLTX

(Excel Template)

Convert XLSX to XLTM

(Excel Macro-Enabled Template)

Convert XLSX to XLAM

(Excel Macro-Enabled Add-In)

Convert XLSX to CSV

(Comma Seperated Values)

Convert XLSX to TSV

(Tab Seperated Values)

Convert XLSX to DIF

(Data Interchange Format)

Convert XLSX to SXC

(StarOffice Calc Spreadsheet)

Convert XLSX to FODS

(OpenDocument Flat XML Spreadsheet)

Convert XLSX to PPT

(Microsoft PowerPoint 97-2003)

Convert XLSX to PPTX

(Open XML presentation Format)

Convert XLSX to PPS

(PowerPoint Slide Show)

Convert XLSX to PPSX

(PowerPoint Slide Show)

Convert XLSX to PPSM

(Macro-enabled Slide Show)

Convert XLSX to POT

(Microsoft PowerPoint Template Files)

Convert XLSX to POTX

(Microsoft PowerPoint Template Presentation)

Convert XLSX to PPTM

(Macro-enabled Presentation File)

Convert XLSX to POTM

(Microsoft PowerPoint Template File)

Convert XLSX to ODT

(OpenDocument Text File Format)

Convert XLSX to OTT

(OpenDocument Standard Format)

Convert XLSX to OTP

(OpenDocument Standard Format)

Convert XLSX to ODP

(OpenDocument Presentation Format)

Convert XLSX to ODS

(OpenDocument Spreadsheet)

Convert XLSX to EMZ

(Windows Compressed Enhanced Metafile)

Convert XLSX to WMZ

(Compressed Windows Metafile)

Convert XLSX to SVG

(Scalar Vector Graphics)

Convert XLSX to SVGZ

(Compressed Scalable Vector Graphics)

Convert XLSX to XPS

(XML Paper Specifications)

Convert XLSX to TEX

(LaTeX Source Document)

Convert XLSX to DCM

(DICOM Image)

Convert XLSX to WMF

(Windows Metafile)

Convert XLSX to EMF

(Enhanced Metafile Format)

Convert XLSX to BMP

(Bitmap Image File)

Convert XLSX to PNG

(Portable Network Graphic)

Convert XLSX to GIF

(Graphical Interchange Format)

Convert XLSX to JPEG

(Joint Photographic Expert Group Image)

Convert XLSX to JPG

(Joint Photographic Expert Group Image)

Convert XLSX to TIFF

(Tagged Image File Format)

Convert XLSX to WEBP

(Raster Web Image Format)

Convert XLSX to JP2

(JPEG 2000 Core Image)

Convert XLSX to TGA

(Truevision Graphics Adapter)

Convert XLSX to PSB

(Photoshop Large Document Format)

Convert XLSX to PSD

(Photoshop Document)

Convert XLSX to EPUB

(Open eBook File)

Convert XLSX to MD

(Markdown Language)

Convert XLSX to JSON

(JavaScript Object Notation File)

Convert XLSX to FODP

(Formula One for Data Presentation)

 English