# Webpack Bundle Analyzer

> A webpack plugin and CLI that shows what's in your bundles as an interactive, zoomable treemap

Source: https://talira.ai/catalog/webpack-bundle-analyzer-1vabzy4f
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool
- Categories: [developer tools / build / bundlers](https://talira.ai/categories/developer-tools/build/bundlers)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]

Webpack Bundle Analyzer is a [webpack](https://talira.ai/catalog/webpack-9pcx44tb.md) plugin and command-line tool that draws the contents of your bundles as an interactive, zoomable treemap, so you can see which modules take up the most space, spot ones that got in by mistake and trim the bundle. It parses minified bundles to get the real size of each module, and shows stat, parsed, gzip, Brotli and Zstandard sizes. As a plugin it can serve the report from a local server, write a static HTML report or JSON, and as a CLI it reads a webpack stats file. It's maintained in the webpack organization on GitHub and installs from npm as a dev dependency.

## Links

- GitHub: https://github.com/webpack/webpack-bundle-analyzer

## Problems it solves

- find out which modules make my webpack bundle so big
- see the gzipped size of each dependency in my JavaScript bundle
- generate a static HTML report of my bundle's contents in CI

## Features

- an interactive zoomable treemap of every bundle's modules
- real module sizes from minified bundles
- stat, parsed, gzip, Brotli and Zstandard sizes
- server, static HTML or JSON reports, as a plugin or a CLI

## Trust

Overall: 0.55 out of 1.
Signals: maintenance 0.71, adoption 0.82, momentum 0.61, community 0.79, backing 0.00, extensibility 0.00.

- last commit 13 days ago
- 17 commits in the last 90 days
- latest release v5.4.3 14 days ago
- 12.7k GitHub stars
- 96 contributors
- accepts sponsorship (Open Collective)

## Related

- Works with [webpack](https://talira.ai/catalog/webpack-9pcx44tb.md)

## Alternatives

- [webpack](https://talira.ai/catalog/webpack-9pcx44tb.md): A bundler for javascript and friends
- [webpack-node-externals](https://talira.ai/catalog/webpack-node-externals-qj9fz0rw.md): Exclude node_modules from webpack bundles for the backend
- [Vite](https://talira.ai/catalog/vite-2kbqmjmm.md): Next Generation Frontend Tooling

## Sources

[^1]: https://github.com/webpack/webpack-bundle-analyzer/blob/main/README.md (checked 30 Nov 2026)
[^2]: https://github.com/webpack/webpack-bundle-analyzer/blob/main/LICENSE (checked 30 Nov 2026)
