# Dropbox online-only files and the space they still use

> Dropbox can keep files in the cloud and show them locally, but the placeholders, the cache and the old-version store all cost real disk. Where each lives, how to make files online-only in bulk, and what the hidden cache holds.

Canonical: https://bytesweep.app/blog/dropbox-smart-sync-disk.html
Last updated: 2026-10-16

## Dropbox says online-only, so why is the folder still large?

Making files online-only in Dropbox works: the file stays in the Finder and its bytes leave the disk until you open it. It only acts on one of the things Dropbox keeps locally, though. The sync cache and the client’s own databases are untouched by it, and on a busy account those can add up to tens of gigabytes.

- By [Shajeen Ahamed](https://bytesweep.app/about.html#author)
- Published 6 October 2026
- Last updated 16 October 2026
- 3 min read
- Part of [Disk space analyzer for Mac](https://bytesweep.app/mac-disk-space-analyzer.html)
- [How we write](https://bytesweep.app/about.html#how-we-write)

A note on paths first. Current Dropbox for macOS runs on Apple’s File Provider, and its folder lives at `~/Library/CloudStorage/Dropbox`. Older installs used `~/Dropbox`, which is the path in the commands below. If yours is the newer layout, substitute it.

*Online-only only shrinks the first branch. The cache and the databases stay whatever size they are.*

### The cache that online-only doesn’t touch

`.dropbox.cache` sits hidden at the top of the Dropbox folder. It holds recently downloaded content and copies of files you deleted or changed, kept so a re-sync doesn’t have to download them again. Dropbox clears entries older than three days by itself, but on a machine that moves a lot of large files it can hold many gigabytes at any given moment.

```
du -sh ~/Dropbox/.dropbox.cache ~/.dropbox \
       ~/Library/Application\ Support/Dropbox 2>/dev/null
```

Deleting what’s inside the cache is safe. It’s a cache in the real sense and Dropbox rebuilds it, at the cost of some re-downloading for files you touch soon after. Quit Dropbox first, or it will recreate files while you delete them.

If the cache is small and the total is still large, look at `~/Library/Application Support/Dropbox`. It holds the sync database, which grows with the number of files in the account rather than their size, so an account with hundreds of thousands of small files can have a large one. Don’t delete that one; it’s what Dropbox uses to know what’s synced.

### Online-only or Selective Sync

For a large tree, clicking “Make online-only” folder by folder gets tedious. The two features answer different questions:

- Online-only keeps the file in the Finder. Double-click and it downloads. Right for things you open now and then.
- Selective Sync removes the folder from this Mac entirely. Nothing downloads on demand; you’d go to the website. Right for a decade of archives you never touch from this machine.

Selective Sync is reversible. Tick the folder again and it downloads; nothing is removed from the account by unsyncing it here. On a Mac it’s under Preferences, Sync, “Select folders to sync to this Mac”.

### When the folder doesn’t shrink

In rough order of likelihood:

1. The eviction is queued. Dropbox works through it in the background, and a big tree takes a while.
2. The Finder is showing a cached size. `du -sh ~/Dropbox` is the honest figure.
3. Something has the files open. A search indexer, a backup tool or an app with a document open all block eviction. Quit them and try again.
4. The space came back as purgeable rather than free, so the Finder’s figure moved and `df` didn’t. [Purgeable space](https://bytesweep.app/blog/purgeable-space-mac.html) covers how to force it back.

To see what’s actually local, compare each file’s logical size with its allocated blocks. A file with a size and zero blocks is online-only:

```
find ~/Dropbox -type f -exec stat -f '%z %b %N' {} + 2>/dev/null | awk '$1 > 0 && $2 == 0' | head
```

If you run Dropbox alongside OneDrive or Google Drive, [the same check across every sync client](https://bytesweep.app/blog/cloud-files-online-only.html) is worth running once. The Finder presents them almost identically, and they each [behave a little differently](https://bytesweep.app/blog/google-drive-onedrive-mac.html), which is also true of [iCloud’s version](https://bytesweep.app/blog/icloud-optimise-storage.html).

### Old versions aren’t on your disk

Dropbox keeps file version history on its servers, not locally. Clearing the cache doesn’t lose versions, and a large Dropbox folder is never explained by old versions. If the folder is large after the checks above, the files really are there.

Online-only files aren’t in your Time Machine backup. Time Machine copies what’s on the disk, and there’s nothing on the disk. If Dropbox holds the only copy, that’s the only copy.

Rather than chasing the folder size, it’s more useful to decide which files should exist somewhere besides Dropbox. What to back up before any cleanup sets that out.

On an external drive, online-only works the same way where Dropbox allows the folder there at all. Current File Provider builds support only APFS (Encrypted) drives on macOS 15.4 or later, and Dropbox can’t sync while the drive is unplugged, so it suits a drive that never leaves the desk.

### Let Bytesweep clear this for you

Skip the commands. Bytesweep finds this for you, rates every item safe, review first or keep, and clears what you choose. Most of what it removes can be put back for seven days. See what it finds on your own disk, free for 3 days, then pay once with no subscription.

[Try it free for 3 days](https://bytesweep.app/download.html) [Buy · $29.99](https://bytesweep.app/pricing.html)

### Keep reading

- [**Telling online-only files from local ones, on any sync client** iCloud, Dropbox, OneDrive and Google Drive all show a placeholder that looks like a file. One command distinguishes them across every client at once, and the distinction decides what is in your backup.](https://bytesweep.app/blog/cloud-files-online-only.html)
- [**Google Drive and OneDrive on a Mac: where the local copies hide** Both use macOS file providers now, and both keep caches outside the folder you can see. The real paths, how to force files online-only, and why the sync folder's size never matches the account's.](https://bytesweep.app/blog/google-drive-onedrive-mac.html)
- [**What “Optimise Mac Storage” really does to your files** The iCloud setting that quietly evicts your files to the cloud, the rules macOS uses to choose them, why it often frees nothing when you need it to, and how to tell what is actually on your disk.](https://bytesweep.app/blog/icloud-optimise-storage.html)
