RepositoryC#CHThụy Sĩ
rabanti-github

rabanti-github/PicoXLSX

PicoXLSX is a small .NET / C# library to create XLSX files (Microsoft Excel 2007 or newer) in an easy and native way

57sao
15fork
6issue
1lượt xem

📊 PicoXLSX — Tạo file Excel XLSX bằng C# mà không cần cài Office

Tạo file XLSX chuẩn Microsoft Excel chỉ với vài dòng code C#, không phụ thuộc Office hay SDK nào khác.

PicoXLSX là một thư viện .NET nhỏ bằng C#, cho phép tạo file định dạng XLSX (Microsoft Excel 2007 trở lên) một cách dễ dàng và trực tiếp. Không cần cài đặt Microsoft Office, không dùng thư viện interop, cũng không cần cài đặt Microsoft Open XML SDK. Chỉ cần .NET 4.5 trở lên hoặc .NET Standard 2.0 là đủ để biên dịch và sử dụng.

✨ Điểm nổi bật

  • Ít phụ thuộc nhất: Chỉ cần .NET và hai assembly chuẩn WindowsBase + System.IO.Compression.
  • Không cần cài Office: Tạo file XLSX mà không cần cài bất kỳ phần mềm Microsoft nào.
  • Kiến trúc mô-đun v4: Tách thành các gói NuGet riêng biệt như Core, Writer, Reader, Formatting.
  • Hệ thống màu mới: Lớp Color hỗ trợ RGB, ARGB, indexed, theme và màu hệ thống.
  • Định dạng phong phú: Hỗ trợ định dạng văn bản in-line (rich text) qua module NanoXLSX.Formatting.
  • Tên gọi chuẩn C#: Tất cả enum và hằng số đều theo chuẩn PascalCase.
  • Giá trị bất biến: Các struct Address và Range hiện là bất biến.
  • Gói meta PicoXLSX: Gói NuGet tổng hợp tất cả module, phù hợp cho hầu hết người dùng.

💡 Vì sao đáng chú ý

Khác với cách sử dụng Office Interop phức tạp và nặheavy, PicoXLSX cung cấp một giải pháp nhẹ và nhanh chóng để sinh file Excel chỉ bằng C#. Đặc biệt phù hợp cho các ứng dụng backend, dịch vụ web hoặc công cụ tự động hóa cần xuất báo cáo dạng bảng tính mà không muốn phụ thuộc vào môi trường Windows hay cài đặt phần mềm thương mại.


#CSharp #Excel #XLSX #OpenSource #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

Repository
SheetJS/sheetjs

📗 SheetJS Spreadsheet Data Toolkit -- New home https://git.sheetjs.com/SheetJS/sheetjs

36.3k
Apr 18, 2024
RepositoryTypeScript
dream-num/univer

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

32.4k
Dec 2, 2026
RepositoryC#
JanKallman/EPPlus

Create advanced Excel spreadsheets using .NET

3.8k
Aug 29, 2020
RepositoryC#
rabanti-github/NanoXLSX

NanoXLSX is a small .NET library written in C#, to create and read Microsoft Excel files in the XLSX format (Microsoft Excel 2007 or newer) in an easy and native way

165
Nov 22, 2026
RepositoryGo
qax-os/excelize

Go language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets

21.2k
Nov 25, 2026
RepositoryJavaScript
dream-num/Luckysheet

Luckysheet upgraded to Univer

16.6k
Aug 19, 2025
RepositoryPHP
PHPOffice/PhpSpreadsheet

A pure PHP library for reading and writing spreadsheet files

14.0k
Nov 26, 2026
RepositoryTypeScript
genspark-ai/genoffice

Free, open-source AI Office suite: Docs, Sheets, Slides, PDF, Markdown and HTML editors with a built-in AI agent, plus a `genoffice` CLI and agent skill so Claude Code, Codex and Cursor can create and edit real .docx/.xlsx/.pptx files locally. Bring your own key. macOS, Windows & Linux.

13.3k
Dec 2, 2026
RepositoryShell
ONLYOFFICE/DocumentServer

ONLYOFFICE Docs is a free collaborative online office suite comprising viewers and editors for texts, spreadsheets and presentations, forms and PDF, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.

7.2k
Nov 13, 2026