Skip to the content.

.NET Excel Library Performance Benchmarks

Independent performance and memory benchmarks comparing ClosedXML, EPPlus, OpenXML SDK, NPOI, MiniExcel, Sylvan, XLibur, OfficeIMO, IronXL and Telerik.

Independent read/write performance and memory benchmarks comparing popular .NET Excel libraries, run on .NET 10 with BenchmarkDotNet.

πŸ“ˆ Interactive charts β†’

πŸ“Š Latest results (tables + static charts) β†’

πŸ€– CI results (indicative) β†’

Libraries under test

Library Package Version
ClosedXML ClosedXML 0.105.1
EPPlus EPPlus 8.7.3
OpenXML SDK DocumentFormat.OpenXml 3.5.1
NPOI NPOI 2.8.1
MiniExcel MiniExcel 2.0.0
Sylvan Sylvan.Data.Excel 0.5.8
XLibur XLibur.Bundle 0.901.0
OfficeIMO OfficeIMO.Excel 3.6.2
IronXL IronXL.Excel 2026.11.1
Telerik Telerik.Documents.Spreadsheet 2026.4.1127

Library links point at each project’s source repository, except IronXL and Telerik, which are closed source β€” those go to their product pages.

IronXL and Telerik are commercial. IronXL needs a licence key to run at all and is otherwise replayed from a committed snapshot (marked β§—); Telerik runs unlicensed but watermarks every workbook it writes, so it is excluded from keyless runs β€” including the CI page β€” rather than measured. See the README.

Scenarios

Report scenario β€” capability matrix

Not every library can express this scenario; a library that skips a feature is doing strictly less work, so read its timing against this table.

Library Import + grid Conditional formatting Auto-fit column Chart
ClosedXML βœ… βœ… βœ… ❌ no public API
EPPlus βœ… βœ… βœ… βœ…
OpenXML SDK βœ… ⚠️ hand-authored ⚠️ estimated width ⚠️ hand-authored
NPOI βœ… βœ… βœ… ⚠️ titled, invalid XML
MiniExcel βœ… ❌ ❌ ❌ (not benchmarked)
Sylvan ❌ ❌ ❌ ❌ (not benchmarked)
XLibur βœ… βœ… βœ… βœ…
OfficeIMO βœ… βœ… βœ… βœ…
IronXL βœ… ⚠️ font colour only βœ… βœ…
Telerik βœ… βœ… βœ… βœ…

Edit scenario β€” capability matrix

Library Open + edit in place Delete row (shift + reference fixup) Calculation engine
ClosedXML βœ… βœ… IXLRow.Delete() βœ…
EPPlus βœ… βœ… DeleteRow() βœ…
OpenXML SDK ⚠️ hand-authored ⚠️ hand-authored ❌ sums computed by the benchmark
NPOI βœ… ⚠️ RemoveRow + ShiftRows βœ…
MiniExcel ❌ ❌ ❌ (not benchmarked)
Sylvan ❌ ❌ ❌ (not benchmarked)
XLibur βœ… βœ… IXLRow.Delete() βœ…
OfficeIMO βœ… βœ… DeleteRows(), once per row βœ… lightweight engine
IronXL βœ… βœ… RemoveRow() βœ…
Telerik βœ… βœ… RowSelection.Remove() βœ…

Insert scenario β€” capability matrix

Library Open + edit in place Insert columns (shift + reference fixup) Calculation engine
ClosedXML βœ… βœ… IXLColumn.InsertColumnsBefore() βœ…
EPPlus βœ… βœ… InsertColumn(from, count) βœ…
OpenXML SDK ⚠️ hand-authored ⚠️ hand-authored ❌ sums computed by the benchmark
NPOI βœ… βœ… XSSFSheet.ShiftColumns() βœ…
MiniExcel ❌ ❌ ❌ (not benchmarked)
Sylvan ❌ ❌ ❌ (not benchmarked)
XLibur βœ… βœ… IXLColumn.InsertColumnsBefore() βœ…
OfficeIMO βœ… βœ… InsertColumns(first, count) βœ… lightweight engine
IronXL βœ… βœ… InsertColumns(index, count) βœ…
Telerik βœ… βœ… ColumnSelection.Insert() βœ…

All 500 row totals in every saved artifact are checked against the source CSV on each dotnet run -- insert, read out of the package XML rather than through a library.

Calc scenario β€” capability matrix

Library Lookups + IFERROR SUMIFS / COUNTIFS Correct result
ClosedXML βœ… βœ… βœ…
EPPlus βœ… βœ… βœ…
OpenXML SDK ❌ ❌ ❌ (not benchmarked β€” no engine)
NPOI βœ… βœ… βœ…
MiniExcel ❌ ❌ ❌ (not benchmarked β€” no engine)
Sylvan ❌ ❌ ❌ (not benchmarked β€” no engine)
XLibur βœ… βœ… βœ…
OfficeIMO βœ… βœ… βœ…
IronXL ? ? not yet verified
Telerik ❌ no IFERROR ❌ ❌ (not benchmarked)

Template scenario β€” fidelity

The data is the same in every saved file; what differs is how much of the template survives.

Library Fill + grow table Template features kept
ClosedXML βœ… βœ… all
EPPlus βœ… βœ… all (validation/CF ranges grow)
OpenXML SDK ⚠️ hand-authored βœ… all
NPOI βœ… ⚠️ chart rewritten with schema errors
MiniExcel ❌ ❌ (not benchmarked β€” `` templates only)
Sylvan ❌ ❌ (not benchmarked)
XLibur βœ… βœ… all
OfficeIMO βœ… βœ… all
IronXL ⚠️ no table resize not yet run
Telerik ❌ table dropped ❌ structured refs become text

Caveats

Results are produced by running the suite locally and committing the generated markdown β€” see the repository README for how to reproduce.