ClosedXML 0.103.0-beta

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
This is a prerelease version of ClosedXML.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package ClosedXML --version 0.103.0-beta
NuGet\Install-Package ClosedXML -Version 0.103.0-beta
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ClosedXML" Version="0.103.0-beta" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ClosedXML --version 0.103.0-beta
#r "nuget: ClosedXML, 0.103.0-beta"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ClosedXML as a Cake Addin
#addin nuget:?package=ClosedXML&version=0.103.0-beta&prerelease

// Install ClosedXML as a Cake Tool
#tool nuget:?package=ClosedXML&version=0.103.0-beta&prerelease

See release notes for 0.103.0-beta: https://github.com/ClosedXML/ClosedXML/releases/tag/0.103.0-beta

Description

ClosedXML is a .NET library for reading, manipulating and writing Excel 2007+ (.xlsx, .xlsm) files. It aims to provide an intuitive and user-friendly interface to dealing with the underlying OpenXML API.

For more information see the documentation or the wiki.

Install ClosedXML via NuGet

If you want to include ClosedXML in your project, you can install it directly from NuGet

To install ClosedXML, run the following command in the Package Manager Console

PM> Install-Package ClosedXML

What can you do with this?

ClosedXML allows you to create Excel files without the Excel application. The typical example is creating Excel reports on a web server.

Example:

using (var workbook = new XLWorkbook())
{
    var worksheet = workbook.Worksheets.Add("Sample Sheet");
    worksheet.Cell("A1").Value = "Hello World!";
    worksheet.Cell("A2").FormulaA1 = "=MID(A1, 7, 5)";
    workbook.SaveAs("HelloWorld.xlsx");
}

Performance

Performance matters mostly for large files. For small files, few ms here or there doesn't matter.

Save

Description Rows Columns Time/Memory to insert data Save workbook Total time/memory
Mixed (text/number) workbook.<br>Gist 250 000 15 1.619 sec / 117 MiB 6.343 sec 7.962 sec / 477 MiB
Text only workbook. Gist 1 000 000 10 6.302 sec / 402 MiB 17.134 sec 23.436 sec / 1880 MiB

Load

Description Rows Columns Time to load data Used memory
Load mixed workbook (10 text/5 number columns). 250 000 15 15.648 sec 236 MiB
Text only workbook. 1 000 000 10 49.046 sec 801 MiB
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (337)

Showing the top 5 NuGet packages that depend on ClosedXML:

Package Downloads
ClosedXML.Report The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

ClosedXML.Report is a tool for report generation and data analysis in .NET applications through the use of Microsoft Excel. ClosedXML.Report is a .NET-library for report generation Microsoft Excel without requiring Excel to be installed on the machine that's running the code.

CsvHelper.Excel.Core

An implementation of ICsvParser and ICsvSerializer from CsvHelper that reads and writes using the ClosedXml library.

ClosedXML.Extensions.Mvc The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

MVC extensions for ClosedXML

CyberEye.Constant.Lib

Package chứa các constant và enum

ClosedXML.Extensions.WebApi The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

WebApi extensions for ClosedXML

GitHub repositories (29)

Showing the top 5 popular GitHub repositories that depend on ClosedXML:

Repository Stars
nopSolutions/nopCommerce
ASP.NET Core eCommerce software. nopCommerce is a free and open-source shopping cart.
fullstackhero/dotnet-webapi-starter-kit
production grade .net 8 webapi starter kit with multitenancy support and clean code. 🔥
mini-software/MiniExcel
Fast, Low-Memory, Easy Excel .NET helper to import/export/template spreadsheet (support Linux, Mac)
YarnSpinnerTool/YarnSpinner
Yarn Spinner is a tool for building interactive dialogue in games!
open-rpa/openrpa
Free Open Source Enterprise Grade RPA
Version Downloads Last updated
0.104.0-preview2 108,185 10/26/2023
0.103.0-beta 14,273 9/28/2023
0.102.2 1,465,731 1/5/2024
0.102.1 2,848,480 8/18/2023
0.102.0 1,289,852 6/24/2023
0.102.0-rc 4,000 6/18/2023
0.101.0 2,047,531 4/9/2023
0.101.0-rc 3,735 4/1/2023
0.100.3 2,882,571 1/12/2023
0.100.2 52,380 1/10/2023
0.100.1 21,078 1/9/2023
0.100.0 104,792 1/9/2023
0.97.0 3,370,863 10/21/2022
0.96.0 4,712,685 6/29/2022
0.95.4 19,078,920 12/16/2020
0.95.3 8,082,681 5/25/2020
0.95.2 667,585 4/26/2020
0.95.1 204,563 4/23/2020
0.95.0 1,002,753 4/15/2020
0.95.0-beta2 91,210 8/21/2019
0.95.0-beta1 42,829 4/4/2019
0.94.2 5,826,193 12/18/2018
0.94.0 64,581 12/12/2018
0.94.0-rc2 5,221 11/29/2018
0.94.0-rc1 8,382 11/11/2018
0.93.1 1,017,371 8/7/2018
0.93.0 474,367 6/25/2018
0.93.0-rc3 8,068 6/7/2018
0.93.0-rc2 4,022 5/31/2018
0.93.0-beta4 4,663 5/14/2018
0.93.0-beta2 5,304 4/26/2018
0.93.0-beta1 2,839 4/19/2018
0.92.1 951,243 4/10/2018
0.92.0-beta1 5,489 3/22/2018
0.91.1 55,398 4/4/2018
0.91.0 285,784 1/31/2018
0.91.0-beta3 4,142 1/23/2018
0.91.0-beta2 14,235 12/8/2017
0.91.0-beta1 2,877 11/29/2017
0.90.0 693,621 10/23/2017
0.90.0-beta2 3,198 10/6/2017
0.89.0 373,224 9/12/2017
0.89.0-beta1 5,114 8/23/2017
0.88.0 211,627 7/24/2017
0.88.0-beta1 10,490 7/10/2017
0.87.1 1,460,439 4/3/2017
0.86.0 399,690 1/6/2017
0.85.0 316,915 12/7/2016
0.80.1 677,426 9/15/2016
0.76.0 1,585,818 12/16/2014
0.75.0 199,572 9/17/2014
0.74.0 36,453 8/10/2014
0.73.0 38,524 6/24/2014
0.72.3 25,557 6/4/2014
0.72.2 3,882 6/4/2014
0.72.1 56,129 6/4/2014
0.72.0 8,818 6/4/2014
0.71.1 15,148 5/26/2014
0.70.0 11,196 5/18/2014
0.69.2 159,825 10/3/2013
0.69.1 76,535 8/15/2013
0.69.0 6,604 8/10/2013
0.68.1 95,993 10/20/2012
0.68.0 5,210 10/12/2012
0.67.2 21,807 8/14/2012
0.67.1 3,905 8/13/2012
0.67.0 4,010 8/12/2012
0.66.1 4,699 7/28/2012
0.66.0 4,245 7/18/2012
0.65.2 9,283 4/21/2012
0.64.0 18,300 2/4/2012