Big games fill an SSD fast, and deleting them isn't always the answer. Windows 10 and Windows 11 include a little-known form of transparent file compression that can shrink installed games and programs while they keep working normally, and the free, open-source CompactGUI puts a simple interface on top of it. This guide explains how the compression works, how to use CompactGUI step by step, which algorithm to pick, how to do the same with the built-in compact command, and when you shouldn't compress a game at all. It's based on CompactGUI's GitHub documentation and Microsoft Learn's compact and Compact OS pages, checked on 29 November 2026. Results vary a lot from game to game.
What CompactGUI actually does
CompactGUI doesn't create zip or RAR archives. Its developer explains that it uses the filesystem compression exposed by the Windows Overlay Filter (WOF) driver, first introduced in Windows 10, achieving the same thing as Windows' own compact.exe command-line tool. The compression is transparent: files stay where they are, show up in Explorer as normal and launch exactly as before. They stay compressed on disk and are decompressed into RAM when they're read.
This is different from the old "Compress contents to save disk space" tick box in a folder's Properties. CompactGUI's documentation says the newer algorithms introduced with Windows 10 give greater compression ratios with almost no performance impact.
The developer's own examples show what's possible:
The documentation says program folders and games can be shrunk by up to 60%, and that this can even reduce load times, especially on slower hard drives. Some games compress far less than others, though, which is why CompactGUI offers estimates before you start.
Before you start: the DirectStorage caveat
CompactGUI's developer warns that it should not be used on games that use DirectStorage on Windows 11. DirectStorage lets games load assets directly from the SSD, bypassing the CPU; compressed files would need decompressing first, which negates the performance gain. If you're not sure whether a game uses it, see our guide to checking DirectStorage support in Windows 11 and leave those games uncompressed.
It's also worth knowing that compression only works on NTFS. Microsoft's compact documentation notes it can't compress FAT or FAT32 partitions; our NTFS vs exFAT vs FAT32 explainer covers the differences.
Step 1: Install CompactGUI
Download CompactGUI from its GitHub page (it's free and licensed under GPL-3.0), or, as its README suggests, install it with Windows Package Manager by running this in Terminal:
winget install CompactGUI
If you haven't used winget before, our guide to installing apps with winget explains the basics.
Step 2: Pick a game or program folder
Open CompactGUI and select the folder you want to shrink, such as a game's install folder in your Steam library. CompactGUI is intentionally designed to compress folders and files only: you can't compress a whole drive or a Windows installation with it.
For Steam games, CompactGUI can show an estimate of how well the game compresses. The developer says these estimates are built from more than 100,000 community submissions; for non-Steam games, it uses an algorithmic estimate instead. If the estimate is small, it may not be worth the time.
Step 3: Choose a compression algorithm
CompactGUI defaults to XPRESS8K, which its developer describes as a good balance between compression speed and size reduction. Windows' own default is XPRESS4K, which is faster but compresses less. The four options are:
Algorithm | CompactGUI's description | Best for |
|---|
XPRESS4K | Fastest, but weakest | Games with very high read-speed demands |
XPRESS8K | Balance of speed and compression (CompactGUI default) | Most games and apps |
XPRESS16K | Slower, but stronger | Limited space, where loading speed matters less |
LZX | Slowest, but strongest | Archives, backups and rarely used files |
CompactGUI also keeps a configurable list of poorly compressing file types to skip, which you can edit per folder.
Step 4: Compress and check the result
Start compression and CompactGUI gives visual feedback on progress along with compression statistics. You can also use it to analyse folders you compressed earlier.
Step 5: Keep games compressed after updates
Microsoft's compact documentation explains that a folder compressed with the /EXE algorithms isn't marked to compress files added later, so game updates can leave new files uncompressed. CompactGUI's Background Watcher keeps track of folders, monitors them for changes such as Steam game updates, and recompresses them automatically in the background. It can also add entries to Explorer's right-click menu so you can compress a folder without opening the app first.
The built-in alternative: compact.exe
You don't need CompactGUI at all if you're happy with the command line, because it uses the same Windows feature as compact.exe. Microsoft's documentation lists the relevant switches:
/c compresses, /u uncompresses
/s applies the operation to all subfolders
/i carries on past errors
/EXE: picks an algorithm: XPRESS4K (fastest and default), XPRESS8K, XPRESS16K or LZX (most compact)
For example, in Terminal, from inside a game's folder:
compact /c /s /i /exe:xpress8k *
To reverse it:
compact /u /s /exe *
Microsoft's documentation notes that, with /u /EXE, only files compressed as executables are uncompressed. Running compact with no parameters shows the compression state of the current folder.
What about compressing Windows itself?
CompactGUI won't do this, but Windows can. Microsoft's Compact OS feature installs the operating system files as compressed files, and Microsoft lists it among the Windows 10 and Windows 11 tools that help you use less drive space. Microsoft's compact reference says compact /CompactOs:query queries the system's Compact state, compact /CompactOs:always compresses all operating system binaries, and compact /CompactOs:never uncompresses them again. If you're simply short of space, start with freeing up disk space in Windows 11 and Storage Sense.
When compression isn't the right answer
Compression is a good fit for big, rarely updated games on a small SSD. If a game uses DirectStorage, or you're simply out of room, moving it is often better; see our guide to moving Steam games to another drive. And if your drive is ageing as well as full, check your SSD's health before you rely on it.