Documentation: all pages
Junk Files
Junk Files measures what apps and developer tools keep for themselves and rebuild when they need it: caches, logs, build data, package downloads and installers you have finished with. It also lists, in groups of their own, the downloads you have not used for three months, virtual machines and games. Only what nobody will miss starts ticked, and everything goes to the Trash.
What it measures
The search starts by itself when Strata opens, on the free version too, since it moves nothing. It reads your own home folder, and outside it only the Applications folder, for macOS installers and Xcode, and the Epic Games folder in Shared; with Xcode, it also asks Xcode which simulators can no longer run. It groups what it finds by kind, biggest first:
- App Caches
- Copies apps keep to open faster, one entry per folder in
~/Library/Caches. Browsers and apps built on Chromium (Arc, Chrome, Brave, Edge, Slack, Discord, VS Code, Claude and others) keep theirs beside their settings in~/Library/Application Support, and those are listed too, profile by profile. With Full Disk Access, so are the caches sandboxed apps keep in their own containers and in the ones they share. Each app rebuilds its own when it next needs it. - Logs and Crash Reports
- Records apps and macOS wrote about what they did and how they failed, from
~/Library/Logs. - Developer Build Data
- What Xcode, the simulators and your projects' tools build and download again as needed:
DerivedData for each project, the module cache, device support for each iOS, watchOS, tvOS
and visionOS version, simulator caches, SwiftUI preview data, and simulators for a version of
iOS (or watchOS, tvOS, visionOS) no longer installed. Xcode's archives are listed here too,
though nothing makes them again. And in each project in your home folder, up to six folders
down: its
node_modules, and what its tools build or install, found by the project file beside it: Flutter'sbuildand.dart_tool, Rust'starget, Swift's.build, Gradle'sbuildand.gradle, CocoaPods'Pods, Python's.venvandvenv, the caches of Next.js, Nuxt, SvelteKit, Turborepo, Parcel and Angular, and Unity'sLibrary. A folder of one of those names without its project file is left alone. Library, Applications, Movies, Music, Pictures, Public and hidden folders are not searched for projects. - Package Caches
- Downloads that Homebrew, npm, pip, Yarn, CocoaPods, node-gyp, Go, Gradle, Cargo, Bun and
the Android SDK keep in case they are needed again, and the folders tools keep in
~/.cache. AI models kept there are left to the AI Data Sweeper. - Downloaded Installers
- Disk images, installer packages and iPhone and iPad updates (.dmg, .pkg, .mpkg, .xip, .ipsw) in Downloads and one folder down, the iPhone and iPad updates Finder keeps, and macOS installers in the Applications folders. What they installed stays installed.
- Old Downloads
- Anything else in Downloads that has not been used for three months: not changed, not added, and not opened, as far as Spotlight records it. A folder counts as used when anything directly inside it was changed or added. These are your own files, listed with when each was last used and, from 1.0.41, where it came from, when the app that downloaded it recorded that.
- Virtual Machines
- Whole computers kept as files: UTM, Parallels and VMware machines in the folders searched for projects, VirtualBox's, and, with Full Disk Access, UTM's own and Docker's disk, which holds every image, container and volume Docker keeps. Each is listed with when it last changed; running a machine changes it. A machine is best deleted in its own app, which keeps its list of machines right, and Docker's images, containers and volumes in Docker, one at a time; moved to the Trash, Docker's disk takes all of them with it, and the confirmation sheet says so.
- Games
- Games Steam installed, and those Epic Games keeps in the Shared folder, one each, with when each last changed. Remove one in its store, which keeps the store's list right: moved only to the Trash, a game can still count as installed there, and download again.
Anything under a megabyte is left out, and old downloads under 10 MB: they are not worth a
decision. Something that sits inside another item on the list, such as a project's
node_modules in an old download, is counted once, with the item outside it.
Whatever the AI Data Sweeper lists, such as the models
llama.cpp keeps in ~/Library/Caches, is left to it and not listed here.
Old downloads, by where they came from
From 1.0.41 each old download's row says where it came from, such as From Gmail, when the app that downloaded it recorded that. Show by Source, on the Old Downloads heading while the group is open, puts them under a heading for each place, such as Slack, 22 files, 41.6 MB, the most space first, each with a tick box for all of its downloads. Those whose record does not say come last, under Source not known. Show as One List puts them back together, and Strata remembers which you chose. Either way, nothing is ticked for you.
A place is named by the service whose site the file came from, such as Gmail, Outlook,
Google Drive, ChatGPT, Claude, Slack, WhatsApp, GitHub, Dropbox, WeTransfer or iCloud; any
other site by its own domain, such as example.co.uk; or else by the app that brought the file
in, such as Safari, Mail, Messages or AirDrop. An app that only saved a file, such as Preview
or Word, is never named, and nothing is guessed. All of it is read on your Mac from the
records the downloading app leaves with a file, with nothing looked up online. Some apps, and
command-line tools such as curl, leave no such record, so not every download can
say.
Lists give the place's name alone, never the address, which can hold a link that opens the
file to whoever has it. Click a row and its details say Downloaded
from, such as Gmail (mail.google.com), and, where it differs,
the app it came by, with Copy Download Address when the record holds
the address. That copies the file's own address for you to paste, kept to this Mac's clipboard,
and Strata never opens it. Large Files and the Space Map's inspector say where downloads came
from too, and Search
finds files by where they came from, as pdfs from gmail; see
Large Files and
Search.
Games, virtual machines and Docker, in their own app
From 1.0.45, a game, a virtual machine and Docker's disk have a button in their row, before Reveal, that opens the app which removes them properly:
| Row | Button | What it does |
|---|---|---|
| A game Steam installed | Uninstall in Steam | Hands the game to Steam's own Uninstall, which asks you first, then removes it and takes it off Steam's library. When Strata cannot tell which of Steam's games the folder is, the button is Open Steam instead. |
| A game from the Epic Games Launcher | Open Epic Games | Opens the launcher, to uninstall the game from its library. |
| Docker's disk | Open Docker | Opens Docker, to remove the images, containers and volumes you no longer need and keep the rest. |
| A virtual machine | Open in UTM, Open in Parallels Desktop, Open in VMware Fusion or Open in VirtualBox | Opens the app that keeps it, to delete the machine there. |
A button shows only when its app is on this Mac. It opens that app, and for Uninstall in Steam hands Steam the game to uninstall: Strata itself moves nothing and asks nothing of the internet, and what the app does next is its own. The tick box stays the second way, and none of these is ticked for you.
What starts ticked, and why
Everything starts ticked except:
- macOS's own caches, tagged macOS. macOS rebuilds them too, but they are its business.
- The caches and logs of apps that are open, tagged Running, including a browser's caches in its own folder. An app may be using them right now. Quit it first, or let Optimize do it.
- Build data and package caches while the tool that makes them is running, tagged In use: a project's build output while its own tools run, Xcode's build data while Xcode does, and npx's cache while node does. The tool may be writing into it.
- A cache shared by a family of apps that Strata cannot name, or an iPhone app's container that does not say which app it is, because it then cannot know whether one of them is open.
- An app's cache that holds AI models, which can take long to download again.
- A project's build output and
node_modules, unless nothing in the project has changed for three months. Installed packages (node_modules,Pods, a Python environment) also need the project's lockfile, which means installing again brings back the same versions. For build output,Podsand Python environments, the project is the outermost one around the folder: an Android app's build counts with the Flutter project it is in. Fornode_modules, it is the folder that holds it. A commit counts as a change; changes inside build output ornode_modulesdo not. A project too big to check is left unticked. node_modulesthat pnpm or Bun installed, which clone or link each package from a store every project shares, so moving it frees far less than its size, perhaps almost nothing.- Xcode's archives, which hold the symbols needed to read the crash reports of the versions they archived.
- Device support files, which Xcode needs again if you plug that device in to debug.
- Installers, which you may want to keep.
- Old downloads, virtual machines and games, which are yours. Strata never ticks them for you.
- Anything only an administrator can move, tagged Password, or Admin while Strata's administrator helper is on.
Point at any row to read why it is or is not ticked, and where it is. Select Recommended puts the ticks back to exactly this, after you have changed them; Select All and Select None do what they say, and a group's own tick box ticks the whole group, while a click on its heading folds it away or opens it again. Select All ticks old downloads, virtual machines and games too, as does each of those groups' own tick box, so look before you press either.
Clearing it
-
Look down the list
Each row says when it last changed; an old download's says when it was last used and, when its record says, where it came from. Click a row to see it in depth, or Reveal to show it in Finder.
-
Adjust the ticks
The defaults are safe to take as they are. Untick anything you would rather keep, such as the cache of an app you use offline. Tick an old download only once you are sure you no longer need it.
-
Press Move to Trash
The footer shows how many items and how much space are ticked. Move to Trash… opens a confirmation sheet listing every item. Confirm, and they go to the Trash; Put Back in Strata can return them.
Caches come back. That is what a cache is for: apps rebuild what they
need, a little slower the first time, and sites save their offline copies again on the next
visit. Clearing caches is worth doing when they have grown large or when a disk is nearly
full, not as a daily habit. Old installers, Xcode's archives, old downloads, virtual
machines and games stay gone once the Trash is emptied; build output comes back only for
projects you build again, and installed packages (node_modules,
Pods, a Python environment) only once you install again.
Good to know
- Look Again at the top measures afresh, for example after quitting an app whose cache was held back.
- Optimize uses this room's judgement. It clears exactly what this room
would tick by itself, less the caches of open apps, and the build data and package caches
of tools that are running: a project's build output waits while its own tools run (a
Flutter project's while flutter, dart, Java, Gradle or xcodebuild does), and its
node_moduleswhile node, npm, Yarn, pnpm, Bun or Deno does. It never moves installers, old downloads, virtual machines or games. - Without Full Disk Access the caches in sandboxed apps' containers, and in the containers they share, are not read, nor are Docker's disk and the machines UTM keeps in its own container, because macOS would ask you about each app in turn. The room says so, with Open Settings. See how to give Full Disk Access.
- On the Overview, the Junk Files figure is what this room ticks by itself, marked Safe to clean; the rest, such as installers, macOS's caches and Xcode's archives, shows beside it as to review. Old downloads, virtual machines and games are in neither, since they are yours; old downloads have a line of their own under Cleanup Recommendations.
- Without Strata Pro or the trial the room is locked, but the search still runs, since it moves nothing: the Overview's Junk Files figure is marked Safe to clean, with Strata Pro, and the locked room says how much Strata found, when it finds any.