# go-size-analyzer

> Analyze and visualize the size of compiled Go binaries

Source: https://talira.ai/catalog/go-size-analyzer-wy5e6fa4
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Web app
- Categories: [developer tools / binary / size analysis](https://talira.ai/categories/developer-tools/binary/size-analysis), [languages / go](https://talira.ai/categories/languages/go)
- Platforms: macos, linux, windows, web[^2][^3]
- Licence: AGPL-3.0-only[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- Backed by: [Zxilly](https://talira.ai/orgs/zxilly.md)

go-size-analyzer (`gsa`) breaks down what makes a compiled Go binary large, by package, dependency and section, for ELF, Mach-O and PE binaries and, experimentally, WebAssembly. It prints a table or JSON, renders HTML or SVG treemaps, serves an interactive web report, has a terminal UI, and compares two builds in a diff mode. A WebAssembly version runs the analysis in the browser at gsa.zxilly.dev without uploading the binary, slower and best for binaries under 30 MB.

## Links

- Website: https://gsa.zxilly.dev/
- GitHub: https://github.com/Zxilly/go-size-analyzer

## Problems it solves

- my Go binary is huge and I want to know which dependencies make it so big
- see how much each package contributes to a compiled Go executable
- compare two builds of my Go program to find what made it grow
- an interactive treemap of a Go binary's size I can click through
- check a Go binary's size breakdown in CI and output it as JSON
- analyse a Go binary's size in the browser without uploading it anywhere

## Features

- analyzes ELF, Mach-O, PE and (experimental) WebAssembly binaries
- size breakdown by packages and sections
- text, JSON, HTML and SVG output
- interactive web report and terminal UI
- diff mode to compare two binaries
- in-browser WebAssembly version that doesn't upload the binary

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.32 out of 1.
Signals: backing 0.30, extensibility 0.20.

- backed by Zxilly

Warnings:

- GitHub activity not fetched yet

## Sources

[^1]: https://github.com/Zxilly/go-size-analyzer/blob/master/LICENSE (checked 22 Nov 2026)
[^2]: https://github.com/Zxilly/go-size-analyzer (checked 22 Nov 2026)
[^3]: https://gsa.zxilly.dev/ (checked 22 Nov 2026)
