DocumentFormat.OpenXml 2.8.1

The Open XML SDK provides tools for working with Office Word, Excel, and PowerPoint documents. It supports scenarios such as:

- High-performance generation of word-processing documents, spreadsheets, and presentations.
- Populating content in Word files from an XML data source.
- Splitting up (shredding) a Word or PowerPoint file into multiple files, and combining multiple Word/PowerPoint files into a single file.
- Extraction of data from Excel documents.
- Searching and replacing content in Word/PowerPoint using regular expressions.
- Updating cached data and embedded spreadsheets for charts in Word/PowerPoint.
- Document modification, such as removing tracked revisions or removing unacceptable content from documents.

There is a newer version of this package available.
See the version list below for details.
Install-Package DocumentFormat.OpenXml -Version 2.8.1
dotnet add package DocumentFormat.OpenXml --version 2.8.1
<PackageReference Include="DocumentFormat.OpenXml" Version="2.8.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DocumentFormat.OpenXml --version 2.8.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](
and this project adheres to [Semantic Versioning](

## Version 2.8.1 - 2018-01-03
### Changed
- Corrected package license file reference to show updated MIT License

## Version 2.8.0 - 2017-12-28
### Added
- Default runtime directive for better .NET Native support.

### Changed
- Fixed exceptions thrown when errors are encountered while opening packages to be consistent across platforms.
- Fixed issue on Mono platforms using System.IO.Packaging NuGet package (Xamarin, etc) when creating a document.
- Fixed manual saving of a package when autosave is false.
- Fixed schema constraint data and standardized serialization across platforms.
- Upgraded to `System.IO.Packaging` version 4.4.0 which fixes some consistency with .NET Framework in opening packages.

## Version 2.7.2 - 2017-06-06
### Added
- Package now supports .NET 3.5 and .NET 4.0 in addition to .NET Standard 1.3 and .NET Framework 4.6

### Changed
- Fixed issue where assembly version wasn't set in assembly.

## Version 2.7.1 - 2017-01-31
### Changed
- Fixed crash when validation is invoked on .NET Framework with strong-naming enforced.

## Version 2.7.0 - 2017-01-24
### Added
- SDK now  supports .NET Standard 1.3

### Changed
- Moved to using System.IO.Packaging from dotnet/corefx for .NET Standard 1.3 and WindowsBase for .NET 4.5.
- Cleaned up project build system to use .NET CLI.

## Version 2.6.1 - 2016-01-15
### Added
- Added hundreds of XUnit tests. There are now a total of 1333 tests. They take about 20 minutes to run, so be patient.

## Version 2.6.0 - 2015-06-29
### Added
- Incorporated a replacement `System.IO.Packaging` that fixes some serious (but exceptional) bugs found in the WindowsBase implementation

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

Repository Stars
Open XML SDK by Microsoft
ZKEACMS for .Net Core (.Net Core CMS)可视化设计在线编辑内容管理系统
SiteServer CMS 基于.NET平台,能够以最低的成本、最少的人力投入在最短的时间内架设一个功能齐全、性能优异、规模庞大并易于维护的网站平台。
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.
This repo contains .NET Portability Analyzer (VSIX and Console) libraries and tools
Manage localization of all ResX-Based resources in one central place.
Pleasanter | Business application platform
Office 365 Dev PnP Core component (.NET) targeted for increasing developer productivity with CSOM based solutions.
Microsoft Document Translator

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
2.10.0 59,494 1/10/2020
2.10.0-beta0002 32,319 7/11/2019
2.10.0-beta0001 7,535 6/10/2019
2.9.1 1,494,608 3/13/2019
2.9.0 337,277 1/25/2019
2.8.1 3,107,583 1/6/2018
2.8.0 43,223 12/30/2017
2.7.2 3,865,466 6/7/2017
2.7.1 201,328 5/1/2017
2.5.0 4,559,989 8/4/2013
1.0.0 666,145 6/18/2011
Show less