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.
Install
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard | |
| Other |
README
DocumentFormat.OpenXml.Framework
Low-level infrastructure and shared primitives used by the Open XML SDK libraries.
Most consumers should reference DocumentFormat.OpenXml (and optionally DocumentFormat.OpenXml.Linq) directly. This package is intended primarily for advanced scenarios and library authors extending the SDK.
Getting started
Typical usage is indirect, via DocumentFormat.OpenXml types such as OpenXmlElement, OpenXmlPart, and related infrastructure.
Documentation and feedback
- Official SDK docs: https://learn.microsoft.com/en-us/office/open-xml/open-xml-sdk
- Source and infrastructure details: https://github.com/dotnet/Open-XML-SDK
- Issues and feedback: https://github.com/dotnet/Open-XML-SDK/issues
Changes from Previous Version
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.