機能と技術概要

EPPlus、Excelワークブック用の.NETエンジン

100%マネージドされた.NETコードでExcelワークブックを作成、閲覧、修正、計算できます。多様な形式でデータのインポート・エクスポートが可能です。Microsoft Excelは不要です。

// EPPlus 8: set the license once at startup
ExcelPackage.License.SetNonCommercialPersonal("Your name");

using var package = new ExcelPackage();
var sheet = package.Workbook.Worksheets.Add("Sales");

sheet.Cells["A1"].LoadFromCollection(
    orders, true, TableStyles.Medium2);
sheet.Cells["F2"].Formula = "SUM(D2:D100)";
package.Workbook.Calculate();

package.SaveAs("sales.xlsx");
478
組み込みの計算エンジンにおけるExcel関数
760,000
秒間に書かれるセル数
私たちが測定した方法
72
EPPlusの顧客を持つ国々
17
2009年からオープンソース、2020年から商用化した活発な開発

サポートされる機能

EPPlusは、 Office Open XML スプレッドシートを管理するための.NET Framework/.NET Coreライブラリで、 Nuget を通じて配布されています。サポートされている.NETフレームワークについては、 当社のソフトウェアBill Of Materialページ をご覧ください。EPPlusは完全にマネージドコードで書かれており、Microsoft Excelなど他のライブラリに依存していません。

このライブラリは開発者を念頭に置いて設計されています。私たちの目標は常に、Excelやその他のスプレッドシートライブラリの知識を持つ開発者がAPIに簡単に慣れるようにすることでした。あるいは、誰かが言ったように、インテリセンスで勝利を掴むのです!

Formulas & filters

A built-in calculation engine with no dependency on Excel or any other library, plus filters and slicers.

すべての機能を表示する表示を減らす
ガイドを読んでみてください: Formulas & filters

Worksheets & ranges

Rows, columns and cells, and everything you do with them.

すべての機能を表示する表示を減らす
  • Add, remove, reorder, rename and hide worksheets
  • Print areas, page breaks, document and printer settings
  • Headers and footers
  • Worksheet properties such as gridlines and tab colors
  • Named ranges
  • Used range and taking and skipping rows and columns
  • Sort top to bottom or left to right, with custom lists, and the sort state is updated
  • FillNumber, FillDateTime and FillList
  • Copy styles only, or exclude cell properties when copying
  • Row and column access via EntireRow and EntireColumn
  • Hyperlinks
  • Notes with rich text, and threaded comments with mentions and resolve/re-open
  • Query cells and ranges with LINQ
  • Validation types: integer, decimal, list, date, time, any and custom
ガイドを読んでみてください: Worksheets & ranges

Tables & pivot tables

Formatted tables and pivot tables, including pivot table calculation.

すべての機能を表示する表示を減らす
ガイドを読んでみてください: Tables & pivot tables

Charts & drawing objects

Charts, shapes, pictures, form controls and other drawing objects.

すべての機能を表示する表示を減らす
ガイドを読んでみてください: Charts & drawing objects

Styling

Cell styles, conditional formatting and themes.

すべての機能を表示する表示を減らす
ガイドを読んでみてください: Styling

Import & export data

Move data in and out of worksheets with one line of code.

  • Import from collections, arrays, DataTables, DataReaders and dictionaries
  • Export to CSV, JSON, DataTable or IEnumerable<T>
  • Load and save files, streams and byte arrays, with async/await
  • Read and write CSV and other text files via LoadFromText and SaveToText, also fixed-width
すべての機能を表示する表示を減らす
  • Attributes on your classes control styling, number formats and formulas when loading collections
  • Fixed-width text files, via LoadFromText and ToText
  • Write to a web response stream without file access
  • Templates
  • Reads and writes xlsx and xlsm. The xlsx Strict format is not supported.
  • Reads xltx, crtx and thmx
  • External connections and query tables: Power Query, database, OLAP, web and text connections, and pivot tables with an external connection as source
ガイドを読んでみてください: Import & export data

Output formats

Render worksheet content as HTML for web pages, with PDF on the way.

すべての機能を表示する表示を減らす
ガイドを読んでみてください: Output formats

VBA & protection

Protection, encryption, signatures, sensitivity labels and macros.

すべての機能を表示する表示を減らす
  • Sensitivity labels via Microsoft Information Protection
  • Open password protected workbooks
  • Standard encryption for older Office versions, Agile for Office 2010 and later
  • VBA signatures: Legacy, Agile and V3, with five hash algorithms
ガイドを読んでみてください: VBA & protection

大きなワークブックでのパフォーマンス

63MBのワークブックで、200列、100,000行、セルの半分は整数、残りの半分は36文字の文字列で構成されています。

EPPlus 8.7.2, Intel Core i9-12900HK (14 cores, 2.5 GHz), 64 GB RAM, NVMe SSD, Windows 11, .NET 10

テストのソースコードを見る
26.2 s
ワークブックを作成し、ディスクに保存します
15.7 s
ディスクからワークブックを読み込む

始める準備はできていますか?

A battle-hardened codebase after many years as the world's most downloaded .NET library for spreadsheets, with quality ensured by thousands of unit tests.

The source code for EPPlus is openly available on GitHub , distributed under the Polyform Noncommercial license.

バージョン5以降のライブラリに追加された機能については 、このページ をご覧ください。