npm Package Size Checker
FreeCheck the minified + gzipped size and dependency count of any npm package (via Bundlephobia)
Checks a published npm package’s size (via Bundlephobia) — not your own website. To measure a live site, use the PageSpeed Insights tool.
About npm Package Size Checker
A bloated JavaScript bundle is one of the most common causes of a slow front end, and the culprit is usually a dependency that's far larger than you assumed. Bundle Size Analyzer breaks down a bundle's size and its dependencies, so you can see what's actually weighing the page down and where to focus trimming.
Provide your bundle and the tool analyzes its composition and reports the size contributions in your browser. It is free, requires no account, and returns the breakdown instantly. Use it to find the heaviest packages, to decide what to lazy-load or replace, and to confirm a refactor genuinely shrank what ships to users.
Common uses
- Find the heaviest dependencies inflating your JavaScript bundle
- Decide which packages to lazy-load, tree-shake, or swap for lighter alternatives
- Confirm a dependency change actually reduced the shipped bundle size
- Audit a bundle before launch to catch accidental large imports
How to use
- 1
Configure options
Set your preferences using the options panel below.
- 2
Click Generate
Click the process button to generate your result instantly.
- 3
Copy or download
Copy the result to clipboard or download it directly to your device.
Why ToolHub?
- Real-time results
- DNS, IP, speed checks
- No setup required
FAQ
What does it tell me about my bundle?
It reports overall size and the relative contribution of dependencies, so you can identify what's taking up the most space.
Does it suggest replacements for heavy packages?
It surfaces the size data so you can make informed choices; the decision of what to replace stays with you.
Is smaller always better?
Smaller bundles load faster, but balance size against functionality. Use the breakdown to cut waste, not features users need.
Can I use npm Package Size Checker on mobile?
Yes — ToolHub is fully responsive and works on iPhone, Android, tablets and all modern browsers. No app install needed.