[!IMPORTANT] To ensure the long-term sustainability of this project, a monthly maintenance fee has been introduced. This fee is required to be paid by all organizations or users of any library from this project who generate revenue. You can pay the fee via GitHub Sponsors.
To enact this, an EULA on binary releases is added to the repo and nuget packages since 2.8.0 that requires payment of the maintenance fee.
For more information on who must pay the fee and other frequently asked questions, please see the Open Source Maintenance Fee organisation page.
What's NPOI
This project is the .NET version of Apache POI project. With NPOI, you can read/write Office 2003/2007 files very easily.
Donation
If you profits/benefits from NPOI, please sponsor me via Github Sponsor or donate this project. Thank you!
Documentation
Advantage of NPOI
a. It's totally free to use
b. Cover most features of Excel (cell style, data format, formula and so on)
c. Supported formats: xls, xlsx, docx.
d. Designed to be interface-oriented (take a look at NPOI.SS namespace)
e. Support not only export but also import
f. Real successful cases all over the world
g. Works on both Windows and Linux
System Requirement
.NET 8
.NET Standard 2.1 (.NET Core 3.x, .NET 5, .NET 6)
.NET Standard 2.0 (.NET Core 2.x)
.NET Framework 4.0 and above