Skip to main content
ClosedXML package icon

ClosedXML

See release notes https://github.com/ClosedXML/ClosedXML/releases/tag/0.101.0-rc 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
212.0M
211,953,991
Published
Apr 1, 2023
Latest stable version

Install

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

Frameworks

.NETStandard2.0 .NETStandard2.1

Dependencies

DocumentFormat.OpenXml
.NETStandard2.0
[2.16.0, )
ExcelNumberFormat
.NETStandard2.0
[1.1.0, )
SixLabors.Fonts
.NETStandard2.0
[1.0.0-beta19, )
System.Buffers
.NETStandard2.0
[4.5.1, )
System.IO.Packaging
.NETStandard2.0
[6.0.0, )
System.Memory
.NETStandard2.0
[4.5.4, )
XLParser
.NETStandard2.0
[1.5.2, )
DocumentFormat.OpenXml
.NETStandard2.1
[2.16.0, )
ExcelNumberFormat
.NETStandard2.1
[1.1.0, )
SixLabors.Fonts
.NETStandard2.1
[1.0.0-beta19, )
System.IO.Packaging
.NETStandard2.1
[6.0.0, )
XLParser
.NETStandard2.1
[1.5.2, )

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.

This version is marked prerelease. Validate its API and upgrade path before production use.

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

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.