Skip to main content
ClosedXml package icon

ClosedXml

See release notes https://github.com/ClosedXML/ClosedXML/releases/tag/0.104.1 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.

Total Downloads
201.1M
201,106,498
Published
Sep 30, 2024
Latest stable version

Install

.NET CLI
dotnet add package ClosedXml --version 0.104.1
Package Manager Console
Install-Package ClosedXml -Version 0.104.1
PackageReference
<PackageReference Include="ClosedXml" Version="0.104.1" />

Frameworks

.NETStandard2.0 .NETStandard2.1

Dependencies

ClosedXML.Parser
.NETStandard2.0
[1.2.0, 2.0.0)
DocumentFormat.OpenXml
.NETStandard2.0
[3.0.1, 4.0.0)
ExcelNumberFormat
.NETStandard2.0
[1.1.0, )
Microsoft.Bcl.HashCode
.NETStandard2.0
[1.1.1, )
RBush
.NETStandard2.0
[3.2.0, )
SixLabors.Fonts
.NETStandard2.0
[1.0.0, )
System.Buffers
.NETStandard2.0
[4.5.1, )
System.IO.Packaging
.NETStandard2.0
[8.0.0, )
System.Memory
.NETStandard2.0
[4.5.4, )
ClosedXML.Parser
.NETStandard2.1
[1.2.0, 2.0.0)
DocumentFormat.OpenXml
.NETStandard2.1
[3.0.1, 4.0.0)
ExcelNumberFormat
.NETStandard2.1
[1.1.0, )
RBush
.NETStandard2.1
[3.2.0, )
SixLabors.Fonts
.NETStandard2.1
[1.0.0, )
System.IO.Packaging
.NETStandard2.1
[8.0.0, )

Adoption guide

Business reporting and spreadsheet workflows where productivity and readable code are primary goals.

Office guide
Why it appears in the guide: Developer-friendly API over Open XML focused on Excel workbook generation and editing. Trade-off: Advanced or niche spreadsheet features may still require direct Open XML workarounds.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

The published metadata declares 15 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.