# SwiftExcel > SwiftExcel is a lightweight, extremely fast, memory-efficient Excel (.xlsx) output library for .NET and .NET Core. It skips XML serialization and streams data directly to the file, producing reports in a fraction of a second with a near-zero memory footprint. SwiftExcel is distributed in two editions: - **SwiftExcel** (Free / Open Source, MIT-style license): the core streaming Excel writer. Single sheet, simple `Write` API, built-in `Average`/`Count`/`Max`/`Sum` formulas, sheet name, column widths, right-to-left, wrap text, file path or stream output, list-to-Excel extension via attributes. - **SwiftExcel.Pro** (Commercial): adds multiple sheets, full cell styling (fonts, colors, borders, fills, alignment, wrap), number formats (currency, percentage, custom), custom formulas, hyperlinks (via `HYPERLINK` formula), merged cells, auto filters, freeze panes, custom row heights, and an extended `DataType.CustomFormula`. Both editions target `netstandard2.0` and run on .NET Framework 4.6.1+, .NET Core 2.0+, .NET 5/6/7/8/9. They produce Open XML `.xlsx` files. They do **not** produce legacy `.xls` files and they do **not** read existing Excel files -- SwiftExcel is write-only by design, which is what makes it so fast. ## Site map - [Home](https://swiftexcel.pro/): overview, live code samples, performance benchmark, pricing. - [Documentation hub](https://swiftexcel.pro/docs): "What is SwiftExcel?", Free vs Pro feature comparison, NuGet install instructions, links to per-edition docs. - [Free edition documentation](https://swiftexcel.pro/docs/free): full API reference, code examples, FAQ for the open-source `SwiftExcel` package. - [Pro edition documentation](https://swiftexcel.pro/docs/pro): full API reference, code examples, FAQ for the commercial `SwiftExcel.Pro` package. ## NuGet packages - Free: `dotnet add package SwiftExcel` -- https://www.nuget.org/packages/SwiftExcel/ - Pro: `dotnet add package SwiftExcel.Pro` -- https://www.nuget.org/packages/SwiftExcel.Pro/ Source for the free edition: https://github.com/RomanPavelko/SwiftExcel ## Key API surface ### Free (`namespace SwiftExcel`) - `class ExcelWriter : IDisposable` - `ExcelWriter(string filePath, Sheet sheet = null)` - `ExcelWriter(Stream stream, Sheet sheet = null)` -- for direct cloud upload (e.g. Azure Blob) - `void Write(string value, int col, int row, DataType dataType = DataType.Text)` - `void WriteFormula(FormulaType type, int col, int row, int sourceCol, int sourceRowStart, int sourceRowEnd)` - `void Save()` -- optional; `Dispose()` (via `using`) finalizes automatically. - `enum DataType { Text, Number }` - `enum FormulaType { Average, Count, Max, Sum }` - `class Sheet { string Name; bool RightToLeft; bool WrapText; IList ColumnsWidth; }` - `static class Configuration { bool UseEnchancedXmlEscaping = true; }` - `[ExcelExport]` attribute and `IList.ExportToExcel(filePath, sheetName)` extension for one-line collection export. ### Pro (`namespace SwiftExcel.Pro`) - `class ExcelWriter : IDisposable` -- multiple constructor overloads accepting `Sheet` / `IList` and `Style` / `IList