IronXL.Excel
2023.2.5
dotnet add package IronXL.Excel --version 2023.2.5
NuGet\Install-Package IronXL.Excel -Version 2023.2.5
<PackageReference Include="IronXL.Excel" Version="2023.2.5" />
paket add IronXL.Excel --version 2023.2.5
#r "nuget: IronXL.Excel, 2023.2.5"
// Install IronXL.Excel as a Cake Addin
#addin nuget:?package=IronXL.Excel&version=2023.2.5
// Install IronXL.Excel as a Cake Tool
#tool nuget:?package=IronXL.Excel&version=2023.2.5
IronXL - The C# Excel Library
Get Started | Features | Code Examples | Licensing | Free Trial
IronXL is a library developed and maintained by Iron Software that helps C# Software Engineers to read, generate and edit Excel (and other Spreadsheet files) in .NET applications & websites.
IronXL is a fast and natural approach to work with Excel and Other Spreadsheet files in C# within .NET. With no utilization of Office Excel Interopm IronXL works well with .NET Framework, .NET Core and Azure. All without extra dependencies or the need to install MS Office.
IronXL excels at:
- Import Data from XLS/XLSX/CSV/TSV.
- Export Work Sheets to XLS/XLSX/CSV/TSV/JSON.
- Encrypt and decrypt XLSX/XLSM/XLTX files with passwords.
- Work with Spreadsheets as System.Data.DataSet and System.Data.DataTable objects.
- Excel Formulas recalculated every time a sheet it edited.
- Intuitive Ranges setting with a WorkSheet["A1:B10"] syntax.
- Sort Ranges, Columns and Rows.
- Style Cells - Font, Size, Background pattern, Border, Alignment and Number formats.
Document Formats
- Load, Read and Edit Data: XLS, XLSX, XLST, XLSM, CSV and TSV
- Saving and Exporting: XLS, XLSX, XLST, XLSM, CSV, TSV and JSON
- System.Data Objects: Work with Excel Spreadsheets as System.Data.DataSet and System.Data.DataTable
Sheet Functions
- Formulas: Works with Excel formulas and formulas recalculated every time a sheet it edited
- Cell Data Formats: Text, Number, Formulas, Dates, Currency, Percentage, Scientific, Time and Custom Formats
- Sorting: Ranges, Columns and Rows
- Cell Styling: Font, Size, Background pattern, Border and Alignment
IronXL has cross platform support compatibility with:
- .NET 6 and .NET 5, .NET Core, Standard, and Framework
- Windows, macOS, Linux, Docker, Azure, and AWS
Additionally, our API reference and full licensing information can easily be found on our website.
Using IronXL
Installing the IronXL NuGet package is quick and easy, please install the package like this:
PM> Install-Package IronXL.Excel
Once installed, you can get started by adding using IronXL
to the top of your C# code. Here is an example to get started:
using IronXL;
using System.Linq;
//Supported spreadsheet formats for reading include: XLSX, XLS, CSV and TSV
WorkBook workbook = WorkBook.Load("test.xlsx");
WorkSheet sheet = workbook.WorkSheets.First();
//Select cells easily in Excel notation and return the calculated value
int cellValue = sheet["A2"].IntValue;
// Read from Ranges of cells elegantly.
foreach (var cell in sheet["A2:A10"])
{
Console.WriteLine("Cell {0} has value '{1}'", cell.AddressString, cell.Text);
}
//Calculate aggregate values such as Min, Max and Sum
decimal sum = sheet["A2:A10"].Sum();
//Linq compatible
decimal max = sheet["A2:A10"].Max(c => c.DecimalValue);
Features Table
Licensing & Support available
For code examples, tutorials and documentation visit https://ironsoftware.com/csharp/excel/
For support please email us at developers@ironsoftware.com
Documentation Links
- Code Examples : (https://ironsoftware.com/csharp/excel/examples/
- API Reference : https://ironsoftware.com/csharp/excel/object-reference/api/
- Tutorials : https://ironsoftware.com/csharp/excel/tutorials/how-to-read-excel-file-csharp/
- Licensing : https://ironsoftware.com/csharp/excel/licensing/
- Live Chat Support : https://ironsoftware.com/csharp/excel/#helpscout-support
You can email us at developers@ironsoftware.com for support directly from our code team. We offer licensing and extensive support for commercial deployment projects.
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
- IronSoftware.System.Drawing (>= 2023.2.12)
- Microsoft.Extensions.Logging.Abstractions (>= 2.1.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on IronXL.Excel:
Package | Downloads |
---|---|
Usabit.Framework.Data
Framework to manage database connections and develop repositories pattern. |
|
MepApps.Svr.Internal
Mep Apps Inc. Cloud Internals |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2023.2.5 | 4,886 | 2/27/2023 |
2023.1.14 | 6,069 | 1/31/2023 |
2022.12.11262 | 7,242 | 12/29/2022 |
2022.12.10926 | 6,431 | 12/8/2022 |
2022.11.10251 | 17,816 | 11/2/2022 |
2022.9.9454 | 15,145 | 9/29/2022 |
2022.8.8357 | 4,907 | 8/23/2022 |
2022.7.7362 | 24,378 | 7/13/2022 |
2022.6.6825 | 7,328 | 6/23/2022 |
2022.3.0 | 61,428 | 3/10/2022 |
2021.12.0 | 22,513 | 12/21/2021 |
2021.11.0 | 10,273 | 10/29/2021 |
2021.9.0 | 18,688 | 8/24/2021 |
2020.12.2 | 73,168 | 12/8/2020 |
2020.9.1 | 12,920 | 9/21/2020 |
2020.9.0 | 4,593 | 9/3/2020 |
2020.6.0 | 15,652 | 6/2/2020 |
2020.5.0 | 2,179 | 5/1/2020 |
2019.5.2 | 25,130 | 9/10/2019 |
2019.5.0 | 2,447 | 7/22/2019 |
2019.3.2.1 | 1,180 | 5/21/2019 |
* Agreement to EULA terms is now required before installing the nuget package
* Improves intellisense descriptions for Range class
* Fixes a bug, where WorkSheet.PhysicalColumnCount property would throw an exception when accessed while no columns exist on the worksheet
* Improves intellisense descriptions for Cell.Hyperlink property
* Fixes a bug, when setting Cell.Hyperlink property would in some cases detect the wrong hyperlink type
* Improves the description of an exception that occures when AutoSizeRow/AutoSizeColumn methods are used while no fonts are found in the system
* Updates dependensies