← Back to main site

EPPlus

EPPlus is one of the most widely used libraries for reading and writing Excel .xlsx files in .NET — worksheets, formulas and a calculation engine, pivot tables, charts, conditional formatting, and import/export from data tables and collections. It works directly on the Open XML format, with no dependency on Excel or interop.

EPPlus was LGPL for its first decade. With version 5 — first stable release 8 March 2020 — it moved to a dual license: Polyform Noncommercial 1.0.0 as the community license, plus a paid commercial license for any business use. This is the oldest change tracked on this site, and the one most likely to already be sitting undetected in a legacy codebase.

What Changed

Free use under Polyform Noncommercial covers personal use for research, experiment, personal study and hobby projects, and noncommercial organizations such as charities, education, and public research, safety or health bodies. Anything done by or for a business — including internal line-of-business tools that are never sold — requires a commercial license.

The license must be declared in code

EPPlus is one of the few libraries here with a runtime gate: if you do not declare a license, it throws a LicenseException.

Who Pays and How Much

Commercial licensing is per developer, with unlimited deployment. Published USD prices:

Model1–4 devs5–910–2425–4950+
Subscription, 1 year$569$515$465$419$329
Subscription, 2 years$1,079$979$885$795$624

Perpetual licenses start at $899 per developer with one year of support and upgrades ($1,339 for two years), keeping permanent rights to every version released during the support period. Bulk license packages run from $6,395 (up to 10 developers, 1 year) to $15,145 (up to 25 developers, 2 years). Prices are per developer per year and exclude local tax — check the official page before budgeting.

What This Means For You

Caution: unofficial repackages of the last LGPL release circulate on NuGet under names like EPPlusFree and EPPlus-LGPL. They are not published by EPPlus Software; treat them with the scrutiny you would give any third-party republish of someone else's library.

Alternatives

  1. Pin EPPlus 4.5.3.3:

    • The last LGPL release, free for commercial use under LGPL terms.
    • Pros: no code change, no fee, well understood.
    • Cons: unmaintained since January 2020 — no security fixes, no new Excel features, no new .NET target support. LGPL also brings its own obligations if you modify it.
  2. ClosedXML:

    • MIT, the most common escape route from EPPlus. A friendly wrapper over the Open XML SDK with a similar mental model (workbooks, worksheets, cells, styles) and a formula engine.
    • Pros: free for any use, active, large community, closest API ergonomics to EPPlus.
    • Cons: higher memory use on large workbooks; pivot table and chart support is narrower than EPPlus.
  3. MiniExcel:

    • Apache-2.0, streaming-first. Reads and writes without loading the whole document into memory.
    • Pros: free, dramatically lower memory and faster on large files, simple query/insert API.
    • Cons: deliberately minimal — little styling, no charts, no calculation engine. A data-pipeline tool, not a spreadsheet-authoring one.
  4. Open XML SDK (DocumentFormat.OpenXml):

    • MIT, maintained by Microsoft — the first-party foundation the others build on.
    • Pros: free, authoritative, complete format coverage, no third-party risk.
    • Cons: very low-level; simple tasks take a lot of code. Best when you need guarantees rather than convenience.
  5. NPOI:

    • Apache-2.0 source, and historically the standard free alternative — but as of 2.8.0 its binary releases carry an Open Source Maintenance Fee. Swapping EPPlus for NPOI to avoid a fee no longer works cleanly; read the NPOI page first.

For write-only reporting workloads, SpreadCheetah (MIT) and LargeXlsx (BSD) are fast, low-allocation options.

Conclusion

EPPlus 5+ is not open source: it is Polyform Noncommercial plus a per-developer commercial license, from $329–$569 per developer per year, and EPPlus 8 enforces it with a license key and a LicenseException if you say nothing. The last free-for-business release is 4.5.3.3 from January 2020. Teams needing a permissive, maintained Excel library generally land on ClosedXML (closest ergonomics), MiniExcel (large files), or the Open XML SDK (first-party, low-level) — and should note that NPOI, the traditional fallback, now carries a maintenance fee of its own.

Links and References

Related News

  • 2025-03-28

    EPPlus 8 replaces LicenseContext with license keys

    EPPlus 8 removed the LicenseContext property in favour of an explicit license API - License.SetNonCommercialPersonal, SetNonCommercialOrganization, or SetCommercial with a license key - and throws a LicenseException when nothing is declared. It is a breaking change for every project upgrading from 7, commercial or not.

  • 2020-03-08

    EPPlus 5 moves from LGPL to Polyform Noncommercial

    EPPlus 5 changed the licence from LGPL to a dual model: Polyform Noncommercial 1.0.0 for personal, hobby, charity, education and public-research use, and a paid commercial licence for any business use. Version 4.5.3.3 (30 January 2020) is the last LGPL release. Commercial pricing is per developer, currently $329-$569 per year depending on team size.