Skip to main content
ClosedXML package icon

ClosedXML

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
211.3M
211,326,143
Published
Apr 26, 2020
Latest stable version

Install

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

Frameworks

.NETFramework4.0 .NETFramework4.6 .NETStandard2.0

Dependencies

DocumentFormat.OpenXml
.NETFramework4.0
[2.7.2, )
ExcelNumberFormat
.NETFramework4.0
[1.0.10, )
DocumentFormat.OpenXml
.NETFramework4.6
[2.7.2, )
ExcelNumberFormat
.NETFramework4.6
[1.0.10, )
Microsoft.CSharp
.NETFramework4.6
[4.7.0, )
DocumentFormat.OpenXml
.NETStandard2.0
[2.7.2, )
ExcelNumberFormat
.NETStandard2.0
[1.0.10, )
Microsoft.CSharp
.NETStandard2.0
[4.7.0, )
System.Drawing.Common
.NETStandard2.0
[4.5.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 3 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.