DocumentFormat.OpenXml 2.7.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package DocumentFormat.OpenXml --version 2.7.1
NuGet\Install-Package DocumentFormat.OpenXml -Version 2.7.1
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="DocumentFormat.OpenXml" Version="2.7.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DocumentFormat.OpenXml --version 2.7.1
#r "nuget: DocumentFormat.OpenXml, 2.7.1"
#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 DocumentFormat.OpenXml as a Cake Addin
#addin nuget:?package=DocumentFormat.OpenXml&version=2.7.1

// Install DocumentFormat.OpenXml as a Cake Tool
#tool nuget:?package=DocumentFormat.OpenXml&version=2.7.1

Official NuGet for DocumentFormat.OpenXml

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 netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  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 tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 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 (713)

Showing the top 5 NuGet packages that depend on DocumentFormat.OpenXml:

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

See release notes 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.


Package Description

Microting.eForm The ID prefix of this package has been reserved for one of the owners of this package by

Package Description


The Open XML PowerTools provides guidance and example code for programming with Open XML Documents (DOCX, XLSX, and PPTX). It is based on, and extends the functionality of the Open XML SDK. It supports scenarios such as: •Splitting DOCX/PPTX files into multiple files. •Combining multiple DOCX/PPTX files into a single file. •Populating content in template DOCX files with data from XML. •High-fidelity conversion of DOCX to HTML. •Searching and replacing content in DOCX/PPTX using regular expressions. •Managing tracked-revisions, including detecting tracked revisions, and accepting tracked revisions. •Updating Charts in DOCX/PPTX files, including updating cached data, as well as the embedded XLSX. •Retrieving metrics from DOCX files, including the hierarchy of styles used, the languages used, and the fonts used. •Writing XLSX files using far simpler code than directly writing the markup, including a streaming approach that enables writing XLSX files with millions of rows.


SpreadsheetLight is an open source Open XML spreadsheet .NET library written in C#, and is released under the MIT License. You can create new Open XML spreadsheets, or work with existing Open XML spreadsheets that are compatible with Microsoft Excel 2007/2010/2013 and LibreOffice Calc. No Office/Excel Interop needed. You do not need Microsoft Office/Excel to be installed.

GitHub repositories (62)

Showing the top 5 popular GitHub repositories that depend on DocumentFormat.OpenXml:

Repository Stars
Integrate cutting-edge LLM technology quickly and easily into your apps
Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
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.
Radzen Blazor is a set of 70+ free native Blazor UI components packed with DataGrid, Scheduler, Charts and robust theming including Material design and FluentUI.
Free Open Source Reporting tool for .NET6/.NET Core/.NET Framework that helps your application generate document-like reports
Version Downloads Last updated
3.0.2 234,643 3/14/2024
3.0.1 728,473 1/9/2024
3.0.0 717,274 11/15/2023
3.0.0-beta0003 17,928 9/5/2023
3.0.0-beta0002 17,685 6/14/2023
2.20.0 6,856,675 4/6/2023
2.19.0 3,962,760 12/14/2022
2.18.0 4,631,950 9/7/2022
2.17.1 2,880,708 6/30/2022
2.16.0 20,578,590 3/15/2022
2.15.0 4,484,567 12/17/2021
2.14.0 1,865,925 10/28/2021
2.14.0-beta0001 20,048 9/20/2021
2.13.1 2,947,274 8/18/2021
2.13.0 3,654,321 5/13/2021
2.13.0-beta0002 6,309 4/20/2021
2.13.0-beta0001 13,267 3/10/2021
2.12.3 2,971,486 2/24/2021
2.12.2 339,620 2/17/2021
2.12.1 1,726,238 1/11/2021
2.12.0 1,791,469 12/15/2020
2.11.3 6,830,056 7/17/2020
2.11.2 292,745 7/10/2020
2.11.1 7,091 7/10/2020
2.11.0 2,015,147 5/21/2020
2.11.0-beta0001 46,648 3/25/2020
2.10.1 4,590,775 2/28/2020
2.10.0 1,898,961 1/10/2020
2.10.0-beta0002 234,828 7/11/2019
2.10.0-beta0001 66,108 6/10/2019
2.9.1 9,433,185 3/13/2019
2.9.0 1,097,210 1/25/2019
2.8.1 8,013,618 1/6/2018
2.8.0 148,001 12/30/2017
2.7.2 42,860,975 6/7/2017
2.7.1 499,378 5/1/2017
2.5.0 12,187,673 8/4/2013
1.0.0 1,762,563 6/18/2011