A pure Go library for programmatically reading and writing Microsoft Excel spreadsheet files. It supports document and tabular data processing with a streaming API for worksheets containing large volumes of data.
Project overview
A pure Go library for programmatically reading and writing Microsoft Excel spreadsheet files. It supports document and tabular data processing with a streaming API for worksheets containing large volumes of data.
Project type
Data Processing
Use cases
Documents & Office
Deployment
Refer to project documentation
License
BSD-3-Clause
Best for
Go developers building applications that require programmatic reading and writing of Microsoft Excel files.
Applications that must process or generate worksheets containing huge amounts of data.
Key capabilities
Reads and writes XLAM, XLSM, XLSX, XLTM, and XLTX spreadsheet files generated by Microsoft Excel 2007 and later.
Provides streaming API support for generating or reading data from worksheets with huge amounts of data.
Provides a Go API to create a spreadsheet file, add a sheet, set cell values, and save the workbook.
Provides a Go API to read a spreadsheet document.
Limitations and risks
Requires Go version 1.25.0 or later.
Getting started
Installation is documented as easy, requiring a single step to run `go get github.com/xuri/excelize/v2` in a Go project to add the library.
Evidence and sources
GitHub project description: Go language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets
README: Excelize is a library written in pure Go providing a set of functions that allow you to write to and read from XLAM / XLSM / XLSX / XLTM / XLTX files. Supports reading and writing…
README: go get github.com/xuri/excelize/v2
README: Here is a minimal example usage that will create spreadsheet file.
README: The following constitutes the bare to read a spreadsheet document.