Excel .Net

Excel .Net

.NET library designed for creating and editing Excel files (.xlsx and .xls).

  • Create and edit Excel files (XLS, XLSX) on the fly or based on existing documents.
  • Formula support: Add, modify, and calculate complex formulas.
  • Formatting options: Customize styles, fonts, colors, borders, merge cells, and more.
  • Data handling: Work with large datasets, including adding, deleting, and updating rows and columns.
  • Multimedia integration: Insert images, charts, and graphs.
  • Compatibility: Read and write Excel files created with various versions of Microsoft Excel.
  • Cross-platform support: Compatible with Windows, macOS, and Linux.
NET 8, 7, 6, 5, Standard 2, Core 2x & 3x, Framework 4.6.2+
AWS (EC2, Lambda) Kubernetes (All Versions) Azure (WebApps, Functions v3) Docker (All Versions)
Download (2025.02.6)

Latest Release Info

What's New in Excel .Net

Overview

«Excel .Net» is 100% written in C# (.NET Framework and .NET Core) assembly which provides a wide set of API for developers. It provides developers with effective tools for working with spreadsheets, offering a wide range of features:

Excel .Net offers a set of options for creating and editing Excel files, making it a powerful and flexible solution for developers.

  • Cell and Range Operations: Easily manage individual cells, ranges, and their properties.
  • Rich Formatting Options: Customize styles, fonts, borders, colors, and more.
  • Formula Handling: Add, edit, and calculate formulas dynamically.
  • Support for Charts and Graphs: Create and modify charts with various types and layouts.
  • Data Management: Efficiently work with large datasets, sorting, filtering, and merging cells.
  • Template-Based Generation: Use templates to quickly generate complex Excel documents.
  • Data Import/Export: Import data from various sources or export to Excel formats.

Excel .Net is perfect for applications that require seamless Excel file management, whether it’s generating reports, processing data, or automating workflows. Its performance, functionality, and ease of use make it a top choice for developers working with Excel in .NET environments.

Why choose SautinSoft.Excel?

Fast and Efficient

Fast and Efficient

Save memory and time with the lightweight API architecture. The bigger the document, the faster our API generates complex documents.

Convert Excel to PDF and Word documents

Comprehensive Excel Functionality

Create, edit, and manipulate Excel files (.xlsx, .xls) programmatically. Full support for formulas, charts, tables, pivot tables, and more. Apply advanced formatting to cells, rows, and columns.

Standalone & Independent

Performance and Scalability

Optimized for handling large datasets and complex Excel files. Designed to deliver fast performance in high-demand applications.

Full .NET Support for Windows, Linux, and Mac

Full .NET Support for Windows, Linux, and Mac

Develop for any .NET platform or major operating systems with a single code base. Use in your apps for .NET Framework, Mono, Xamarin.iOS, and Xamarin.Android.

Useful conversion settings

Ease of Integration

Intuitive API with detailed documentation and code examples. Easy to integrate into existing .NET projects for quick implementation.

Deploy Apps to the Cloud

Deploy Apps to the Cloud

Be everywhere with cloud-based deployment. With help of Nuget, SautinSoft.Excel can be easily deployed to Azure, AWS, and AWS Lambda.

Simple API for creating Excel documents on the fly

The following is a list of examples that show how you can create different workbook elements:
  • Charts.
  • Comments.
  • Headers and Footers.
  • Hyperlinks.
  • Images.
  • Pivot Tables.
  • Formulas.
  • Tables.
  • TextBoxes
You can find a complete element hierarchy (parent / child relationships) of SautinSoft.Excel’s in-memory representation of an Excel file on the Content Model help page.

Let us say, to convert a spreadsheet from Excel document to PDF within C# application:

// Set a path to our Document
 string outFile = @"..\..\..\Result.xlsx";

 // Create a new document
 ExcelDocument excelDocument = new ExcelDocument();

 // Add firstr worksheet
 excelDocument.Worksheets.Add("The main worksheet");

 // Create a variable to address
 var worksheet = excelDocument.Worksheets["The main worksheet"];

 // Add plain text
 worksheet.Cells["A1"].Value = "This is common string";
 worksheet.Cells["B1"].Value = "Hello, World! 12345";

 // Add the result of  the expression
 worksheet.Cells["A2"].Value = "This is the result of a mathematical expression in C#";
 worksheet.Cells["B2"].Value = 5 + 5;

 // Add the formula
 worksheet.Cells["A3"].Value = "This is the formula";
 worksheet.Cells["B3"].Formula = "=RAND()";

 // Add external and internal links
 worksheet.Cells["A4"].Value = "These are hyperlinks";
 worksheet.Cells["B4"].Value = "External link";
 worksheet.Cells["B4"].Hyperlink = new ExcelHyperlink { Location = "https://sautinsoft.com" };

 // Add a large composite text with formatting
 // Create a container of strings
 RichText text = new RichText();
 var part = new RichTextString("This is a very long string... ", new RichTextFormat { Italic = true, Bold = true, FontColor = SKColors.Blue });
 // Add the following lines to the container
 text.Add(part);

 // Save the document
 excelDocument.Save(outFile, new XlsxSaveOptions());

Feature Highlights

Create & Edit Excel Files

Generate, modify, and manage Excel (.XLS, .XLSX) workbooks programmatically.

Advanced Formatting

Customize fonts, colors, borders, cell merging, alignment, and more.

Formula & Data Processing

Add and calculate formulas, sort, filter, and manage large datasets.

Convert Excel to PDF, DOCX

Here we've prepared for you a collection of examples to convert Excel to PDF, DOCX and RTF using C# and VB.Net.

Continuous Updates & Support

Regular updates with new features, improvements, and dedicated technical support to ensure smooth development and integration.

Cross-Platform & Cloud-Ready

Works on Windows, macOS, Linux and supports Azure & AWS deployment.

Explore the Advanced Features

Excel .Net code-examples

Excel .Net provides extensive functionality for creating, editing, and managing Excel files programmatically. It supports advanced features such as rich formatting, formula handling, charts, data management, and template-based generation. With more than 50 code examples included in the Developer Guide, developers can quickly learn how to implement both simple and complex solutions.

Easy Licensing and Distribution

Trusted by the World's Leading Companies

IBM
Intel
Cisco
Microsoft
Siemens
Uber
Indiana University – Purdue University Indianapolis
The University of Manchester
New York State
University of Pittsburgh
Western Standard - Translation and Library Technologies
United Graphic Expression Corporation
FoxyUtils
Talent management software
PROS
World Wrestling Entertainment
Moody's Investors Service
Nuance Communications