Sizes read in your browser · nothing is uploaded or changed

Folder Size Analyzer

See what is taking the space in a folder. Drop it in and get a treemap you can click into, a breakdown by kind of file, and the biggest files first. The folder is only read for names and sizes; no file contents are opened.

Folder

Drop a folder here

Sub-folders are included. Up to 200,000 files.

Folder Size Analyzer

Operator: Abdulla Al Fahad. How tools are built and checked

When a disk fills up, a list of folders sorted by name tells you nothing. What helps is a picture in which the big things look big, and a treemap is that picture: every folder or file becomes a rectangle whose area matches its size. Drop a folder here and the page builds one, lets you click into any folder to zoom in, and adds a breakdown by kind of file and a list of the 25 biggest files in the folder you are viewing.

Key features

  • A clickable treemap with a breadcrumb trail and an Up one level button
  • Lists of the items in the current folder with size bars, the breakdown by kind, and the 25 largest files
  • A CSV of every file, largest first

Treemaps and size breakdowns

A folder can be dropped, chosen with the folder picker, or opened with the read-only picker in browsers that support it, and up to 200,000 files are read per run, after which the page says totals are partial. The treemap shows the 48 biggest items of the current folder and rolls the rest into one gray block labeled with how many smaller items it holds. Folders are blue, and files are colored by kind from their extension: pictures, video, audio, documents, archives and disk images, code and data, and everything else. Sizes are each file's byte count as the browser reports it, not the space it takes on disk. The export is a CSV of every file with its path, size in bytes and kind, largest first.

How it works

The paths of all files are split at the slashes and merged into a tree. Each file carries its own size, and each folder's size is the total of everything below it, along with a count of the files.

The layout is the squarified treemap method. Items are placed in rows along the shorter side of the remaining rectangle, and a row keeps growing only while adding the next item makes its worst rectangle closer to a square. That keeps blocks easy to see and click while the areas stay in exact proportion to size. Clicking a folder block makes it the current folder and re-runs the layout for just that folder.

When this helps

  • A 256 GB laptop that is 97 percent full, with about 7.7 GB free. At the top level one block takes more than half the area, and two clicks into it the largest files list names the individual files to move off.
  • A 40 GB Projects folder before archiving. The largest files list shows three video exports at 21.5 GB together, which can go to a drive of their own.

Opening a file

  1. Drop a folder onto the page, or choose one.
  2. Look for the biggest blocks and click into them. A blue block is a folder you can open.
  3. Check the breakdown by kind and the largest files for what to remove.
  4. Export the CSV if you want the full list in a spreadsheet.

Example

A Projects folder of 40 GB with three sub-folders, on a 640 x 397 px treemap

video-exports   21.5 GB
photos          14.1 GB
documents        4.4 GB

The blocks the layout draws

video-exports   344 x 397 px, 53.8% of the area
photos          296 x 303 px, 35.3%
documents       296 x 94 px, 11.0%

Limits

Sizes are file sizes, not disk usage. Block rounding means a folder of many small files can occupy more disk than shown here.

Hidden and system files are only included if the browser hands them over, and some browsers skip them. A total can therefore be lower than your operating system reports.

The page cannot delete anything. Use the largest files list or the CSV to decide, then delete in your file manager.

  • The percentage in the hover text is relative to the folder you are inside, not the whole drive. After you click into a folder, a block that says 20 percent may be 5 percent of the total.
  • Red blocks are archives and disk images: zip, rar, 7z, tar, iso, dmg and similar. Old installers and backups tend to be the easiest space to win back.

Common errors and how to fix them

Only the first 200,000 files were read, so totals are partial
Pick a smaller folder, or analyze its sub-folders one at a time.

Frequently asked questions

Does the page open my files?

No. It reads each file's name and size, which the browser provides without reading any content. Photos, documents and videos in the folder are never opened.

Why does the total differ from my operating system?

Operating systems report space on disk, which includes block rounding, metadata and sometimes hidden files. This page adds up the files' own byte sizes.

What does "smaller items" mean on the treemap?

Only the 48 biggest items of a folder get their own block. The rest are rolled into one gray block, so a folder with 120 children shows 48 blocks plus a block labeled 72 smaller items. Click into the folder list on the right to see them.

How big a folder can it handle?

Up to 200,000 files per run. Only metadata is read, so a large folder is mostly a wait while the browser lists it; the treemap redraws as soon as you click into a folder.