How to Find Large Files on Windows, macOS and Linux
A single file can explain a full drive: a 30 GB virtual disk, a leftover installer, a phone backup, an unedited screen recording. Finding the biggest files is a slightly different job from finding the biggest folders โ folders tell you where, files tell you exactly what to delete. Here are the fastest ways on every platform.
Largest files vs largest folders
The two answers look similar but lead to different actions. The largest folder is usually a system directory (WinSxS, a game library, a cache) you cannot simply delete. The largest file is usually one thing โ an ISO, a VM disk, a video โ you can act on directly. When the goal is reclaiming space now, sort by file, not by folder.
Windows Search (instant, no install)
Windows Search can filter by size directly from Explorer. Click into the search box and type a size query, then sort the results by size:
size:>1GB
size:gigantic
size:gigantic means files over 128 MB; size:>1GB filters to a gigabyte and up. Add a type for precision โ size:>1GB ext:.mp4 finds large videos. The catch: Search only indexes certain locations, so results can be incomplete on folders outside the index.
PowerShell (scriptable, complete)
PowerShell walks the whole drive and misses nothing, at the cost of speed. This lists the 20 largest files under C::
Get-ChildItem 'C:\' -Recurse -File -Force -ErrorAction SilentlyContinue |
Sort-Object Length -Descending |
Select-Object -First 20 FullName,
@{n='GB';e={[math]::Round($_.Length/1GB,2)}}
Run it elevated so protected folders are not skipped, and be patient โ PowerShell visits every file individually. It is the right tool for a one-off report, not for a whole-disk scan you repeat often.
Linux and macOS (find and du)
The terminal is the fastest no-install option on both platforms:
find / -type f -size +1G 2>/dev/null | head -20
du -ah ~ | sort -hr | head -20
The first command lists files over 1 GB anywhere on the system; the second ranks everything in your home directory by size. On macOS the same commands work, and Finder also has a built-in large-files filter via File โ Find โ Size.
The analyzer way (fastest, with filtering)
A disk analyzer lists the largest files as a by-product of one scan, and adds filters the command line does not. DiskRaptor shows the top 50 largest files across the whole drive, with file-type filters (video, images, archives, PDFs) and a sortable age column, so you can answer "what are my 20 biggest videos older than a year" in seconds.
What to do with the big files
- Move, don't delete. An external drive or network share is cheaper than a recovery attempt.
- Delete the copies. Installers you already ran, old backups and files you re-downloaded are usually safe to remove.
- Deduplicate. Before deleting a large file, check it is not one of several copies.
- Re-encode or compress. An 8 GB screen recording becomes a few hundred MB with a modern codec.
Frequently asked questions
What counts as a large file?
It depends on the drive, but as a rule anything over 1 GB is worth a look, and anything over 10 GB usually deserves a decision. Windows Search's size: filters let you start at whatever threshold you like.
Can I find large files by type, not just size?
Yes. Windows Search supports size:>1GB ext:.mp4; PowerShell and find can filter by extension too. A disk analyzer with file-type filters is the fastest way to see, say, every video over a gigabyte in one list.
Is it safe to delete large files I do not recognize?
Not without checking. A 30 GB file with an unfamiliar name is often a virtual disk, a game or a backup that an app still needs. Look at the path and the program that owns it, and move it to the recycle bin rather than deleting permanently.
How do I find large files on an external drive?
Exactly the same way โ point the same tools at the drive letter (or mount point) instead of C:. Windows Search and PowerShell work on any connected drive; a disk analyzer scans external NTFS, exFAT and FAT32 drives the same as internal ones.
Found the files โ now protect the machine
A drive audit is a good moment to check the rest of your setup: a VPN for the networks you join, antivirus for the downloads you keep, and an ad blocker for the pages in between.
Affiliate disclosure: the links below are affiliate links. If you buy through them, we may earn a commission at no extra cost to you โ it helps keep DiskRaptor free.
More about our Surfshark partnership.
Related reading
- How to Find the Largest Folders on Windows
- What Is Taking Up Space on My Hard Drive?
- How to Find Duplicate Files on a PC
- How to Clean Up Your Downloads Folder
Reclaim your disk space
DiskRaptor is free, open source, and runs 100% locally.