Open XML SDK
Open XML SDK by Microsoft (by dotnet)
NPOI
a .NET library that can read/write Office formats without Microsoft Office installed. No COM+, no interop. (by nissl-lab)
| Open XML SDK | NPOI | |
|---|---|---|
| 26 | 16 | |
| 4,529 | 6,180 | |
| 1.0% | 0.2% | |
| 8.3 | 9.4 | |
| 14 days ago | 19 days ago | |
| C# | C# | |
| MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Open XML SDK
Posts with mentions or reviews of Open XML SDK.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2026-05-28.
-
Ruby vs. Java vs. TypeScript: my experience on building a Cowork DOCX plugin
That is the source of DocumentFormat.OpenXml, you're talking about the same package, https://github.com/dotnet/Open-XML-SDK#packages
Microsoft are incapable of:
1. naming things well -
Top 5 C# PPT Libraries .NET Developers Should Be Familiar With
Open XML SDK is an open-source PowerPoint Interop Library that provides a low-level API for working with Microsoft PowerPoint files. It enables modifying existing PowerPoint files, making it a good option for applications that require direct XML manipulation of PowerPoint documents.
-
Libcurl
While it doesn't appear to have been updated in many years, Microsoft built a similarly useful tool[1] that lets you browse the structure of a given Office document and see C# code that generates various components of it.
[1] https://github.com/dotnet/Open-XML-SDK/releases/tag/v2.5
-
Is it possible to use Microsoft Word features programatically?
If you use this check out the productivity tool, it will convert a word doc to csharp for you. https://github.com/dotnet/Open-XML-SDK/releases/tag/v2.5
-
Go library that supports extraction and generation of word documents with complex formulae, equations, tables and images.
You’re looking for OpenXML handling. C# probably has the best support, since there’s a Microsoft supported SDK - https://github.com/dotnet/Open-XML-SDK
-
If you had to pick a library from another language (Rust, JS, etc.) that isn’t currently available in Python and have it instantly converted into Python for you to use, what would it be?
https://github.com/dotnet/Open-XML-SDK Yeah, it can be kind of wrapped with pythonnet and stuff. But having it totally pyhtonized would be sooooo great.
- Creating a Web App using Excel
-
Count lines, words, and characters of a MS Word file? ( i.e. Test1.docx )
As an alternative, you could use the Powershell module Open-XML-SDK or PSwriteWord, or PSWriteOffice
-
OpenXml throws a different exception given identical code and similar build configuration for two distinct solutions. Why?
PackageLoader was introduced in https://github.com/OfficeDev/Open-XML-SDK/commit/522200f65b9182f65a112130f830403467f54936
-
Programatically replacing text in docx
In the official GitHub repository you will find similar tools listed, if you have a very particular requirement not fulfilled by OpenXML SDK.
NPOI
Posts with mentions or reviews of NPOI.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-14.
- Hola, problema con un crud
-
Is it possible to use Microsoft Word features programatically?
NPOI (Open source, MIT)
-
Is MS Word interop dead now on .NET core?
For .NET Core you can use - https://github.com/nissl-lab/npoi - https://github.com/Jetro223/DocXNETCore
-
What's the best way to read an Excel file into a DataGrid in WinUi 3?
I use NPOI https://github.com/nissl-lab/npoi its a popular package for reading Excel. It is both faster than interop and free (open source).
-
Help needed with .xlsb files
Have you tried NPOI?
-
NPOI Alternative Spreadsheet API Performance Test in C# .NET
Competitor#2 (NPOI - v2.5.6)
- Calling Java from C#
-
cannot create an instance of the abstract type or interface. how to solve this ???
If you are trying to *create* Excel files, then you might take a look at [NPOI](https://github.com/nissl-lab/npoi) which is also open source with a permissive license. There is also [ClosedXml](https://github.com/ClosedXML/ClosedXML), which has these capabilities.
-
Read Data from a Column of an Excel File
I'd like to use NPOI to deal with Excel files. It's open source and you don't have to install Microsoft Office.
-
Read uploaded excel file
EPPlus ExcelDataReader NPOI
What are some alternatives?
When comparing Open XML SDK and NPOI you can also consider the following projects:
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.
EPPlus
DocX - Fast and easy to use .NET library that creates or modifies Microsoft Word files without installing Word.
MiniExcel - Lightweight, fast and simple cross-platform .NET processing tool for importing and exporting spreadsheet documents