A Go library for programmatically reading and writing Microsoft Excel XLAM/XLSM/XLSX/XLTM/XLTX files. It provides a streaming API, chart and image support, and ECMA-376 compliant XML output for Microsoft Excel 2007 and later.
Project overview
It enables direct, programmatic spreadsheet manipulation within applications, supporting read and write operations for multiple standard Excel formats.
Project type
Data Processing · Infrastructure
Use cases
Documents & Office · Data Analysis
Deployment
Refer to project documentation
License
BSD-3-Clause
Best for
Go developers building office automation pipelines who need to programmatically generate, read, or update Microsoft Excel files locally.
Key capabilities
Allows reading from and writing to XLAM, XLSM, XLSX, XLTM, and XLTX files generated by Microsoft Excel 2007 and later.
Enables developers to build charts based on existing worksheet data or generate charts independently without underlying data in the worksheet.
Limitations and risks
Interaction is strictly via library integration, meaning users must write Go code to utilize the functions; there is no user interface or managed service.
Telemetry behavior is currently not documented in the available facts.
Getting started
Installation is classified as easy and requires Go version 1.25.0 or later. It is accomplished by running the standard Go module command 'go get github.com/xuri/excelize/v2'.
Evidence and sources
GitHub project description: Go language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets
README: This library needs Go version 1.25.0 or later.
README: Here is a minimal example usage that will create spreadsheet file.
README: The following constitutes the bare to read a spreadsheet document.
README: With Excelize chart generation and management is as easy as a few lines of code. You can build charts based on data in your worksheet or generate charts without any data in your w…