Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
E

excelize

> 数据库
Open source

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

20.8K stars0 likes5 views
WebsiteGitHub

About

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

Excelize

Introduction

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 spreadsheet documents generated by Microsoft Excel™ 2007 and later. Supports complex components by high compatibility, and provided streaming API for generating or reading data from a worksheet with huge amounts of data. This library needs Go version 1.25.0 or later. The full docs can be seen using go's built-in documentation tool, or online at go.dev and docs reference.

Basic Usage

Installation

bash
go get github.com/xuri/excelize
  • If your packages are managed using Go Modules, please install with following command.
bash
go get github.com/xuri/excelize/v2

Create spreadsheet

Here is a minimal example usage that will create spreadsheet file.

…

Reading spreadsheet

The following constitutes the bare to read a spreadsheet document.

…

Add chart to spreadsheet file

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 worksheet at all.

…

Add picture to spreadsheet file

…

Contributing

Contributions are welcome! Open a pull request to fix a bug, or open an issue to discuss a new feature or change. XML is compliant with part 1 of the 5th edition of the ECMA-376 Standard for Office Open XML.

Licenses

This program is under the terms of the BSD 3-Clause License. See https://opensource.org/licenses/BSD-3-Clause.

The Excel logo is a trademark of Microsoft Corporation. This artwork is an adaptation.

The Go gopher was created by Renee French. Licensed under the Creative Commons 4.0 Attributions license.

Gold Sponsors

Issues· 147 open

View all issuesOpen on GitHub
  • #2439

    Don't SUM numeric text and logical values from cell references

    Updated Oct 1, 2026
  • #2432

    The minus operator treats an error operand as zero

    Updated Sep 27, 2026
  • #2427

    GO-2026-6452 still reported as unfixed in Excelize v2.11.0

    Updated Sep 27, 2026
  • #2425

    Pivot tables: colFields "data" field always after user specified colFields

    Updated Sep 22, 2026
  • #2417

    INDIRECT ignores the worksheet name, loses the cell type and returns "" for "$A$1"

    Updated Sep 20, 2026
  • #2416

    VALUE of an empty cell returns #VALUE! instead of 0

    Updated Sep 20, 2026
  • #2414

    A negative zero is not equal to zero in = and <> and is not counted by COUNTIF

    Updated Sep 20, 2026
  • #2413

    MINVERSE of a 2x2 matrix returns a matrix of zeros

    Updated Sep 20, 2026
  • #2412

    OR returns the text "TRUE" and drops the arguments after a cell range

    Updated Sep 20, 2026
  • #2411

    VLOOKUP and XLOOKUP match a substring of a cell instead of the whole cell

    Updated Sep 20, 2026

> Tags

Goagentaianalyticschart

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库