Free up OneDrive and iCloud Drive space without deleting your files
Files in OneDrive and iCloud Drive can live in the cloud only, or also take space on your computer. You can remove the local copy and keep the file.
OneDrive on Windows
With Files On-Demand (on by default), each file shows its state in File Explorer: a cloud icon means online-only, a green tick means a copy is on this computer.
- Right-click a file or folder in your OneDrive folder and choose Free up space. The file stays in OneDrive and downloads again when you open it.
- Files marked Always keep on this device are pinned on purpose; freeing space leaves them alone until you change that.
- Storage Sense (Settings > System > Storage) can make files online-only automatically when you have not opened them for a while.
iCloud Drive on a Mac
- In Finder, right-click a file or folder in iCloud Drive and choose Remove Download. It stays in iCloud and downloads again when you open it.
- Turning on Optimize Mac Storage in iCloud's settings lets macOS remove downloads of files you have not used recently when space runs low.
Never delete to free space
Deleting a file from a synced folder deletes it from the cloud and from your other devices too. To get the space back while keeping the file, always use Free up space or Remove Download.
How Tessera helps
Tessera reads cloud folders without downloading anything: online-only files are never opened. Its Smart Scan lists the cloud files that do take space on this computer, largest first, and Tessera can free up space for them using the same mechanism as File Explorer, so they stay in the cloud.