Reads and writes XLSX and related Excel workbook formats from Go programs, including charts, images, formulas, and streaming for large sheets.
Overview
Excelize gives Go developers programmatic control over modern Excel workbook files without requiring Microsoft Office installed on the host. It targets XLAM, XLSM, XLSX, XLTM, and XLTX documents produced by Excel 2007 and later, with XML that follows the ECMA-376 Office Open XML standard.
APIs cover creating blank workbooks, loading existing files, updating cell values, and walking sheet data. Streaming interfaces let programs generate or consume very large worksheets without holding the entire grid in memory.
Higher-level helpers add charts from worksheet data—or without underlying data—and embed pictures in sheets. Companion ports exist for C#, JavaScript, and Python, while the core remains a Go module consumed via normal package import.
The project documents usage through Go’s doc tooling and a multilingual documentation site, and is intended to run on Linux, macOS, and Windows wherever Go 1.26 or newer is available.
Key features
- Read and write XLSX family formats
- Streaming API for large worksheets
- Chart creation from sheet data
- Embedded worksheet pictures
- ECMA-376 compliant OOXML
- Cross-platform Go dependency
- Compatible with Excel 2007+ files
- Formula and table support
Use cases
- Generating Excel reports from Go services
- Importing spreadsheet uploads in APIs
- Building charts in automated exports
- Streaming big data exports to XLSX
- Migrating legacy XLSM macros-free data