Skip to content

About

See where your disk space went. A fast, zoomable treemap of your drives for Windows: filter in plain language, fly into folders, and clean up right from the map. Portable single exe or installer.

Topics

Resources

Code of conduct

Contributing

Security policy

Accessibility

Stars

9 stars

Watchers

0 watching

Forks

SpaceSharp: see where your disk space went

See where your disk space went.
A fast, zoomable treemap of your drives for Windows, in the spirit of SpaceMonger.

Version 2.1.0 Test status MIT License Windows 10 and 11 .NET 10

Download SpaceSharp-win-x64.exe Website

SpaceSharp showing a drive as a treemap, with sample data
Every file and folder is a box sized by the space it uses. Sample data.

Scan a drive, and the whole thing fills the window: folders are frames with a title bar, files are boxes inside them, and the biggest boxes are where your space went. Zoom into any folder, filter in plain words, see what changed since last time, and send what you do not need to the Recycle Bin without leaving the map.

One portable .exe, or an installer that updates itself. Free and open source.

What it does

Scans a whole drive in seconds Reads the NTFS file table directly (asks for administrator rights once); a parallel folder walk covers everything else. Hidden and system files included, junctions skipped.
One map, shaded your way Folders are frames, files are cushioned boxes. Shading depth, light direction, title bars, text colors and grid are sliders in Settings with a live preview.
Filter in plain words videos over 500MB older than 1 year dims everything else and keeps the layout, so you see where the matches are. A drawer with checkboxes and sliders writes the same filter for you.
Insights view One click swaps the map for the numbers: what is scanned, free and safe to clear; space by file type with its biggest extensions; places that are usually safe to empty (Windows.old, caches, the Recycle Bin, old Downloads) with a checkbox per row and one Recycle button; a histogram of when files were last changed with the oldest big files; the largest folders and files; what grew, shrank and appeared since last scan; and the biggest extensions and where they live. Every row is a click back to the map, filtered to it.
Remembers every scan Opens with yesterday's map on screen. Color by change shows what grew, shrank or appeared since last time.
Inspect anything Size and share, where the space is inside, donuts by type and by age, and a callout when one thing holds most of a folder.
Fifteen palettes, and your own Eight for the dark theme, seven for the light one, twelve hues each. A palette creator makes new ones: generate twelve hues from a base color or set each one by hex or sliders, see them on a sample map as you go, and save.
Cleans up safely Everything goes to the Recycle Bin and the map updates without a rescan.
The Insights view: totals, by type, safe to clear, when changed, largest folders and files
Insights. The map swapped for the numbers, every row a click back to it.
The filter drawer with matches lit and everything else dimmed
Filter. Check types, set size and age, and the map dims to the matches.
Color by change: what grew, shrank or appeared since the last scan
What changed. Grew warm, shrank cool, new in amber.
The Inspect window for a folder
Inspect. Where the space is, by type and by age.
Settings, Treemap page with the preview map
Shading. Every slider shows in the preview as you drag it.
The right-click menu on a file
Right-click. Inspect, open, filter to this type, or send it to the Recycle Bin.

Download

For 64-bit Windows 10 and 11 (Windows on ARM runs them through x64 emulation). Get them from the latest release.

File Best for
SpaceSharp-win-x64.exe One portable file. Nothing to install; you download new versions yourself.
SpaceSharp-win-x64-Setup.exe One-click install to your profile, no admin rights, updates itself. --installto "D:\Apps\SpaceSharp" picks another folder.
SpaceSharp-win-x64.msi A regular installer where you choose the folder and whether it is for you or everyone. Updates itself.

32-bit Windows gets the same three with x86 in the name: SpaceSharp-win-x86.exe, SpaceSharp-win-x86-Setup.exe and SpaceSharp-win-x86.msi. They update from their own channel, so an x86 install never pulls an x64 package. A 32-bit process has less memory to work with, so a drive with several million files is better scanned with the x64 build.

Note

Free code signing for releases is provided by SignPath.io and a certificate by the SignPath Foundation. For a release that is not yet signed, SmartScreen may show "Windows protected your PC" the first time; click More info, then Run anyway.

SpaceSharp collects no data. The only network requests it makes are the update check and What's new, which read the public release list on GitHub; the portable exe makes neither, and the check can be switched off in Settings.

Using it

  1. Click a drive in the Drives list, or Scan folder for one folder. Windows asks for administrator rights for a drive scan; without them, protected folders are skipped and marked.
  2. The biggest boxes are the biggest space users. Hover for the path and size, double-click a folder to zoom in, Backspace or the mouse back button to go up.
  3. Right-click a box for Inspect, Open, Show in Explorer, Properties, copy, filter to its type, select its folder, or Recycle Bin.
  4. Press B to switch between the map and Insights, Ctrl+F for the filter, L for the side panel with your drives and the largest files, and the gear or Ctrl+, for Settings.

The filter

The drawer (Ctrl+F) has file types as rows with a share bar, size and age controls, Files or Folders, and presets such as Large files and Untouched for 2 years. Its name box also takes the full syntax, and anything you type becomes checked rows and set controls. Settings › Map › Filter layout switches to a one-row rail of dropdown pills instead.

You can type Meaning
*.mp4 *.mkv, .iso, report Name patterns (OR-ed), an extension, or text the name contains
videos, photos, music, archives, programs, documents, code, type:video,audio File type
>1GB, over 500 MB, at least 100MB Minimum size (a bare number means MB)
<10MB, under 1 GB Maximum size
older than 2 years, not modified in 6 months, unused for 1 year Not changed for that long
newer than 30 days, last 2 months Changed recently
files, folders, is:file, is:folder Only files or only folders

Terms combine. Select matches (Ctrl+A) selects all of them; Del sends them to the Recycle Bin in one go.

Settings

Everything applies at once and is saved. The pages:

  • General: language, update check, confirm before the Recycle Bin, "Scan with SpaceSharp" in Explorer's right-click menu, and the command-line options.
  • Appearance: theme (match Windows, light, dark).
  • Treemap: a preview map of sample data pinned at the top, then Colors (palette per theme, Color by, custom palettes), Shading (cushion on or off, presets, Depth, Spread, Tone, Fade, Light from), Text and title bars (label size, font, folder and file text colors, outlined labels, title bar padding and tint), Grid and highlight, and Layout (density, bias, padding).
  • Map: size measure (file size or size on disk), free space, merge single-folder chains, hover details, filter layout, side panel, animated zoom.
  • Scanning: fast NTFS scan, names to leave out, reopen the last scan, how long saved scans are kept, hidden and system files, hard links counted once.

Color by is Top folder (one hue per top-level folder, lighter at each level), Depth (one color per level, like SpaceMonger), File type (with a legend), or Change (since the last scan). Palettes, dark: Graphite, Ocean, Sunset, Forest, Vivid, Aurora, Monochrome, Color-blind safe; light: Pastel, Paper, Candy, Nordic, Earth, Retro, Color-blind safe (light). Your own come from Settings › Treemap › Custom palettes › New palette (or Start from the current one): a window with the twelve folder colors, the file tint and the fourteen type colors as swatches, each set by hex or hue, saturation and lightness sliders, with the sample map beside them and checks for labels that would be hard to read and folders too alike. It saves a JSON file in %LocalAppData%\SpaceSharp\palettes, where hand-written ones go too; Open folder writes an example and a README there.

{ "name": "Mine", "theme": "dark", "folders": ["#5B8DEF", "#49B86B", "#E8C547", "#E8864A"] }

Command line

SpaceSharp.exe D:\ Scan a drive or folder right away
SpaceSharp.exe scan.sscan Open a saved scan
SpaceSharp.exe --compare old.sscan D:\ Scan D:\ and compare it with a saved scan
SpaceSharp.exe --help All options

Only one SpaceSharp runs at a time; starting it again hands the request to the open window.

Keyboard and mouse

Input Action
Double-click, Enter Zoom to a folder
Mouse wheel, + / − Zoom in or out
Left or middle drag Pan
Backspace, mouse back button Up one folder
Home, Ctrl+0 Whole map
F5 Rescan
Ctrl+F Filter
Ctrl+A Select every file matching the filter
Del Move the selection to the Recycle Bin
Ctrl+I Inspect
Ctrl+C Copy the selected paths
Ctrl+S, Ctrl+O Save or open a scan file
Alt+Enter Windows Properties
Ctrl+click, Shift+click Select several
K Next color mode
B Map or Insights
L Side panel
G Density: Everything (no grouping) and back
Ctrl+, Settings
Esc Cancel a scan, close the filter
F1 About and shortcuts

Where things are stored

What Where
Settings %AppData%\SpaceSharp\settings.json
Saved scans %LocalAppData%\SpaceSharp\scans\*.sscan
Custom palettes %LocalAppData%\SpaceSharp\palettes\*.json
The installed app %LocalAppData%\SpaceSharp\

Nothing leaves the machine except the update check against GitHub Releases, which only installed copies make.

Building

Windows 10 or 11 and the .NET 10 SDK. Open SpaceSharp.sln in Rider or Visual Studio, or:

dotnet run --project .\SpaceSharp\SpaceSharp.csproj
dotnet test

The only NuGet dependency is Velopack, for the installer and updates. SpaceSharp.Tests covers what does not need a screen: layout and grouping, the filter parser, the panel's numbers, formatting, and the tree operations behind delete and free space. Every push runs them on GitHub Actions. A release is a tag: push the bare version number (git tag 2.1.0 && git push --tags) and the release workflow runs the tests, publishes the builds, has them code-signed through SignPath, packs the installers and MSIs, signs those too, and drafts the GitHub release with every asset; you read the draft and press Publish. installer\release.ps1 is the same build for your own PC, unsigned, when you want files to try on another machine. Portable, Portable-x86 and Small (needs the .NET Desktop Runtime) exes come from the publish profiles in SpaceSharp/Properties/PublishProfiles; the script builds the x64 and x86 channels side by side (-NoX86 skips the second).

How the scanner, layout, renderer, filter and updater work, and where to add a palette, a file type or a translation, is in DEVELOPING.md.

Known limitations

  • Windows only; it is WPF.
  • Size on disk is an estimate for files stored inside the MFT and leaves out alternate data streams.
  • Hard links count once per name unless "Count hard links once" is on, so WinSxS can look bigger than it is.
  • Junctions and symbolic links are not followed; the target counts where it lives.
  • Online-only cloud files show their full size in file-size mode; size on disk shows the local footprint.

Feedback

Report a bug (About › Report a bug fills in your version and Windows details; after an unexpected error, the dialog's Report on GitHub does the same with the error, and the log it points to is in %LocalAppData%\SpaceSharp\logs), suggest a feature, or open a blank issue. Code, palettes and translations: CONTRIBUTING.md. Screen readers, keyboard and low vision: ACCESSIBILITY.md. Releases: CHANGELOG.md.

Credits and license

Squarified treemaps by Bruls, Huizing and van Wijk (2000). Inspired by SpaceMonger. Interface icons are Lucide (ISC license; see THIRD-PARTY.md). The color-blind safe palette is Okabe and Ito's.

MIT License. Made by ClearanceClarence.

About

See where your disk space went. A fast, zoomable treemap of your drives for Windows: filter in plain language, fly into folders, and clean up right from the map. Portable single exe or installer.

Topics

Resources

Code of conduct

Contributing

Security policy

Accessibility

Stars

9 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages