Your Mac's disk, explained.
System Settings calls 108 GB of your Mac System Data
and leaves it at that. Grain opens it up, tells you what each thing is, and only ever moves things to the Trash, so you can always put them back.
an example Mac
Your Mac is full. System Settings shrugs.
Every piece, named and explained.
Grain walks the whole disk, 190 GB in about 25 seconds on an M1, and tells you what each thing is, which app it belongs to, and what happens if you remove it. Nothing is marked safe just because it's old.
Xcode build data
27 GBDerivedData and old archives. Xcode rebuilds what it needs the next time you build, so this is safe to clear.
Docker's virtual disk
21 GBEvery container image and volume lives in one big file. Old images you no longer run can be cleared from inside Docker.
Time Machine snapshots
14 GBLocal copies macOS keeps between backups. They count as "used" but macOS removes them on its own when space runs low.
iOS simulators
9.4 GBThree simulator runtimes for iOS versions you haven't opened in a year.
Slack's cache
2.6 GBComes back as you use Slack. Grain notices when a cache keeps returning and tells you, so you don't clean it every week.
Three ways to look at the same disk.
click any block to zoom in. ⌘K finds any file. try it below ↓
Xcode DerivedData · 17 GB
- What it is
- build files Xcode makes while compiling
- If you remove it
- Xcode rebuilds it on the next build
- Comes back
- yes, as you build
- How sure
- Sure
never guesses on age alone
Suggestions that show their working.
Every suggestion says what the item is, what happens if it goes, whether it comes back and how sure Grain is. When you press Keep or Not now, Grain learns what matters to you and leaves it be. Nothing is marked safe just because it's old.
open a real one ↓Go on, open it up.
A working copy of Grain's window, on the example Mac from the top of the page. Open System Data, switch the lens, move something to the Trash and put it back. Nothing here touches your files.
The live demo needs JavaScript. The screenshots below show the real app.
Grain never deletes anything.
When you clean something up, Grain moves it to the Trash, the same way Finder does. So Put Back works, and nothing is really gone until you empty the Trash yourself.
Every cleanup is written down in a history you can undo. Your documents, photos and anything personal are never ticked for you.
And Grain never talks to the internet. There's no account and nothing that tracks you. What it learns about your disk stays on your Mac.
This is what it looks like.
Taken on a made-up demo Mac, so the numbers are invented and nobody's files are in them.
Docker grew much faster than usual
Docker grew 16 GB since Wednesday. It usually grows about 1 GB a week.
It notices when something's off.
Grain watches the disk quietly, learns how it usually grows, and tells you when something jumps, like a runaway cache or a build folder that keeps piling up.
see it in the demo ↑It stays out of the way.
Close the window and Grain keeps going in the menu bar, using about 1.8% of your CPU. A small gauge there shows how full the disk is, with an amber dot when space runs low or something looks unusual. Notifications come only if you ask for them, and Grain asks once, never at launch.
88 GB free
Grew this week +16 GB, mostly Docker
1 thing looks unusual
- Xcode DerivedData17 GB
- Docker images not in use5.8 GB
- App caches4.5 GB
Open Grain
Fast enough to forget it's there.
yes, the 8 GB oneMedians from Grain's own test suite and from the app on a real disk. The scan uses about 280 MB of memory at its peak. How these were measured is written up in the repository, numbers that didn't flatter us included.
And a command line, for scripts.
The grain tool runs the same engine as the app, so a script sees exactly what you'd see. Try grain scan, grain junk, grain dupes, grain suggestions or grain health, and add --json to any of them.
$ grain health
1 thing looks unusual
Docker grew 16 GB since Wednesday
It usually grows about 1 GB a week.
Grew: 16 GB (since Wednesday)
Usually: 1 GB a week (over 6 weeks)
Not filling up soon
Every line of it is on GitHub.
Grain is MIT licensed and built with Rust and SwiftUI. Contributions are welcome, from a better cleanup rule to a whole feature.
[[rule]]id = "caches.app_caches"title = "App caches"safety = "safe"you can read exactly whyexplanation = "Files apps keep to start and load faster; each app makes them again as it needs them."consequence = "Apps may open a little slower the first time, while they rebuild their caches."comes_back = "automatically"evidence = ["rule"]stays = "The apps themselves, your settings, your documents and your sign-ins"action = "trash"match = { path_glob = "~/Library/Caches/*", not_macos = true }
- core/ the engine
- app/ the Mac app
- rules/ every cleanup rule
Getting Grain.
Grain isn't notarized by Apple yet. It's made by a student, and Apple's developer account costs $99 a year, which isn't in the budget yet. So macOS asks you to confirm once, in System Settings.
Open the .dmg and drag Grain to Applications
Like any other Mac app.
Open it once, then allow it
macOS says it can't check the app. Open System Settings › Privacy & Security, scroll down, and click Open Anyway. You only do this once. Every screen, step by step.
Give it Full Disk Access
So it can see the whole disk, including Mail and Messages. Grain shows you where, and starts scanning by itself.
Or build it yourself
You need macOS 15, the Command Line Tools (xcode-select --install) and Rust (from rustup.rs). Then git clone https://github.com/ajayuhjain89/grain, cd grain, make doctor and make app. Xcode isn't needed. make doctor tells you if anything is missing, and every step is in the README.
Fair questions.
Is it safe to let Grain clean things?
It only moves things to the Trash, so Put Back works, and every cleanup can be undone from its history. Personal files are never selected for you, and protected places like your Photos library are refused. The four checks before anything moves.
Why does it want Full Disk Access?
Without it, macOS hides folders like Mail, Messages and parts of your Library, and the totals wouldn't add up. With it, Grain still sends nothing anywhere. What it reads, and what it never does.
Why don't its numbers match System Settings exactly?
They're close, and where they differ Grain shows why: purgeable space, local snapshots, files shared between APFS clones. It never hides a difference.
Why not the Mac App Store?
App Store apps can't see the whole disk, which is the whole point. Grain comes as a download from GitHub instead.
Why isn't it notarized by Apple?
Notarization needs Apple's developer account, which costs $99 a year, and Grain is made by a student with no budget for it yet. It changes nothing about what Grain does: it only means macOS asks you to confirm once. All the code is public, so you can read it, check the download or build it yourself. And if Grain helps you, you can buy me a coffee toward the $99. Once it's covered, the warning goes away for everyone.
Will Grain stay free?
Yes. I'm a student, and I'd rather Grain be free for everyone than locked behind a price. There's no paid version, no subscription and no ads, and the code is MIT licensed, so it stays open whatever happens. If Grain saves you time, you can buy me a coffee. It pays for Apple notarization first, then the time to keep Grain working as macOS changes: new cleanup rules, fixes for what people report, and support for the next macOS.
Intel Macs?
Yes. Apple Silicon and Intel, on macOS 15 or later.
What's on yours?
See every byte on your Mac, explained, in about 25 seconds.
it only ever moves things to the Trash