excelize
Go language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets
What is excelize?
Go language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets
Overview of excelize
What it is
Excelize is a library written in pure Go that provides functions for reading and writing XLAM, XLSM, XLSX, XLTM, and XLTX spreadsheet files. It supports documents generated by Microsoft Excel™ 2007 and later. The library requires Go version 1.26.0 or later.
Key features
- Read and write spreadsheet files in XLAM / XLSM / XLSX / XLTM / XLTX formats
- High compatibility with complex spreadsheet components
- Streaming API for generating or reading data from worksheets with large amounts of data
- Create charts based on worksheet data or without data
- Insert pictures into worksheets with scaling, offset, and printing options
- Manage sheets, cells, rows, and columns programmatically
Use cases
- Programmatically create and save new Excel spreadsheets
- Read cell values and rows from existing Excel files
- Add charts (e.g., 3D clustered column chart) to spreadsheets
- Insert images into worksheets with custom positioning and scaling
- Automate generation of reports or data exports in Excel format
Getting started
Install the library using Go Modules:
go get github.com/xuri/excelize
For the v2 version:
go get github.com/xuri/excelize/v2
See the repository README for full usage examples.
License and pricing
This program is licensed under the BSD 3-Clause License. It is open source and free to use.
Based on the project's public README and repository metadata.