

You can download either version, though we recommend the portable version so you can use it right away without having to install it. Step 1: Download “Folder Size” from the official website.

To sort folders by size in Windows 10 using “Folder Size”, follow the steps below. If you only want to be able to sort folders by size, the free version would be sufficient to do it. It also has a paid version with more advanced features such as being able to save or load projects, customized filters, and more. This little software acts similarly to the file explorer in Windows, but with an extra function that allows sorting of folders by size.įolder Size is free to download and use.

Since there is no way to sort folders by size in the default File Explorer, we will have to rely on a third party software called “ Folder Size” by MindGems. In this short tutorial, we will show you how to sort folders by folder size in Windows 10 with the help of a simple file explorer software.Īlso see: How to Compare Two Folders in Windows 11 Sort Folders by Size using “Folder Size” However, when it comes to dealing with folders, there is currently still no way to sort folders by their sizes after decades and many versions of Windows evolution.Ī task as simple as this is still a myth to most Windows users as they probably don’t even know this can’t be done in the default File Explorer in Windows. s=" kMGTEPYZ" ), or add if (x<1000) at the beginning of the human function.ĭisplaying a decimal digit for numbers in the range 1–10 is left as an exercise to the reader.There are often times we need to sort files by size and we can do it just fine in the Windows File Explorer. b or -B 1 - note that this may have the side effect of counting actual file sizes rather than disk usage), add a space to the beginning of s (i.e. If your du has an option to display sizes in bytes (e.g. (Note that that 1000 in the condition is intended, so that you get e.g. multiples of 1000 rather than 1024), change 1024 to 1000 in the while loop body. This has the advantage of working even if your version of du doesn't have the -h flag. If you don't have a recent version of GNU coreutils, you can call du without -h to get sortable output, and produce human-friendly output with a little postprocessing.
