Webpack Bundle Analyzer

A precise analyzer for developers to inspect webpack bundles, understand size distribution, and prioritize optimizations to improve build performance.

Tool coming soon!

We're working hard to get this tool ready for you.

Request Feature / Support
936+
Total Calculations Run
< 15ms
Browser Execution Speed
100%
Client-Side Privacy
4.9 / 5.0
User Satisfaction
AI Web Tool Generator

Build Your Own Custom Web Calculator in Seconds

Type what tool or calculator you need below. Our AI will build it instantly for your site.

Popular ideas:
100% FREE • No Credit Card Required

About This Tool

This tool analyzes webpack bundles using stats.json to reveal how a bundle consumes its size budget. By ingesting a stats.json, it computes per-module sizes, entrypoint breakdowns, and a dependency graph to show where most bytes originate. Conceptually it treats a build as a graph where each node is a module and edges represent imports; the tool aggregates sizes along paths to highlight heavy modules. It supports commonJS and ESM modules, dynamic imports, and code-splitting artifacts. The output helps frontend engineers, performance engineers, and platform teams identify optimization opportunities, such as removing large dependencies, adjusting code-splitting ranges, or replacing heavy libraries. Unique value lies in fast, local-only analysis without needing a cloud service, and in-depth visuals of entrypoint composition and module-level trends. Core features include per-entrypoint sizing, top offenders, a breakdown by package and path, and an exportable report for CI. Common use cases include optimizing a single-page app, auditing vendor bundles across micro-frontends, and validating performance budgets during CI pipelines.

How to Use

  1. Provide inputs: point to webpack stats.json or run the instrumented build to generate it.
  2. Choose analysis mode: select per-entrypoint breakdown or full module tree.
  3. Run calculation: trigger the analyzer to compute sizes and dependencies.
  4. Review outputs: inspect top offenders, dependency graph, and size by path.
  5. Export results: save JSON/HTML reports or compare builds over time.
How to use webpack bundle analyzer npm

Frequently Asked Questions

Find Quick Answers

What input data does the tool require?
The tool requires a Webpack stats.json file (or equivalent stat output) that includes module sizes, entrypoints, and dependency information. It does not require any server-side processing and runs locally.
Can I compare two builds?
Yes. You can compare two stats files to identify changes in module sizes and entrypoint composition, helping validate optimizations and CI budget adherence.
Does it support dynamic imports and code splitting?
Yes. It resolves dynamic imports and shows how code-split chunks contribute to the overall bundle, aiding decisions on chunking strategies.
Is it suitable for monorepos?
Yes. It can analyze bundles from multiple packages, aggregating sizes and offering a consolidated view of shared dependencies across the monorepo.

Need to run multiple calculations?

Create a free account today to unlock unlimited daily runs, access advanced parameters, save your history, and request custom features.

Register Free Account

Related Tools

Other useful calculators and utilities you might like

Web & SEO Tools

Spotify to MP3 Converter

Convert Spotify tracks and playlists to MP3 format instantly with our free online converter.

Web & SEO Tools

Road Distance Calculator

Calculate the driving distance and travel time between two addresses with our free online road dista...

Web & SEO Tools

Age Calculator

Calculate your exact age in years, months, and days from any birth date to any target date.

Web & SEO Tools

Currency Converter

Convert currencies instantly with real-time exchange rates and historical data support.

Your Feedback Matters

Help Us to Improve