Delete Files from Computer but Keep Them on Google Drive
In this article
Yes—you can delete a file from your computer while keeping it safely stored in Google Drive by confirming it has fully synced and then using the appropriate removal option.
Removing local copies frees up disk space without losing access to the files from any device that can reach your Drive. The process works with Google Drive for Desktop (formerly Backup and Sync) on Windows and macOS, as well as with the web interface for occasional clean‑ups. Below is a complete guide that walks you through preparation, the actual deletion, and how to avoid common pitfalls.
What You'll Need
- A computer running Windows 10/11 or macOS 10.14 or later.
- Google Drive for Desktop installed and signed in with the account that holds the files.
- An active internet connection so the client can verify that the cloud copy is up‑to‑date.
- Enough free space on the Drive web interface (or the Drive quota) to store the files you intend to keep.
Step‑by‑Step
- Confirm the file is fully synced. Open the Google Drive folder on your computer. A green check‑mark overlay on the file icon means the cloud copy is current. If you see a blue syncing circle, wait until the upload finishes.
- Open the Drive for Desktop preferences. Click the Drive icon in the system tray (Windows) or menu bar (macOS), then select the gear icon and choose Preferences. This screen shows which folders are being mirrored and whether they are set to “Stream files” or “Mirror files.”
- Choose the appropriate sync mode. For easy local deletion, set the folder containing the target file to “Stream files.” In streaming mode only placeholders reside on disk; the real file lives in the cloud until you open it.
- Locate the file in the local Drive folder. Navigate to the file using File Explorer (Windows) or Finder (macOS). Even in streaming mode, you will see the file name with a cloud‑only icon.
- Use the “Free up space” option. Right‑click the file and select Free up space. This command removes the local copy while preserving the cloud version. The file remains visible in the Drive folder but will download again if you double‑click it.
- If you prefer a traditional delete, use the web interface. Open drive.google.com, locate the same file, right‑click and choose Remove. This moves the file to the Drive trash but does not affect the local copy. After confirming the cloud copy exists, you can delete the local file on your computer as you would any other file (Shift+Delete on Windows, Command+Delete on macOS).
- Empty the local recycle bin. Deleting a file moves it to the system Recycle Bin (Windows) or Trash (macOS). Empty it to reclaim the space permanently.
- Verify the cloud copy. Return to the Drive web interface and ensure the file still appears. You can also check the file’s “Details” pane for the “Location” field, which should read “My Drive” and not “Trash.”
- Repeat for additional files or folders. For bulk operations, select multiple items in the Drive folder, right‑click, and choose Free up space to clear them all at once.
- Maintain sync health. Periodically open the Drive preferences and click Check for updates to keep the client current. Updated clients handle placeholder files more reliably, reducing the risk of accidental data loss.
Common Mistakes
- Deleting before sync completes. Removing a file that is still uploading can cause the cloud copy to be incomplete, resulting in data loss.
- Using “Delete permanently” in the web UI. This removes the file from both cloud and any synced local copies, which defeats the purpose of keeping a backup.
- Confusing “Free up space” with “Remove.” “Free up space” only clears the local placeholder; “Remove” only clears the cloud version. Mixing them up can lead to unexpected deletions.
- Changing sync mode after deletion. If you switch a folder from “Stream” back to “Mirror” after freeing space, Drive will automatically re‑download the files you just cleared.
Tips
- Set large media folders (Photos, Videos) to “Stream” by default; this keeps them in the cloud and saves gigabytes on your SSD.
- Use the Drive web interface’s Storage view to see which files occupy the most space and prioritize them for local removal.
- Enable “Offline” for only the files you need to edit without internet. All others stay cloud‑only.
- Rename files before deletion if you want a quick visual cue that the local copy is gone (e.g., add “_cloud‑only” to the name).
Troubleshooting
If the file does not show a green check‑mark: Restart Google Drive for Desktop, ensure your internet connection is stable, and verify you have enough Drive quota. A paused sync (click the Drive icon > Pause syncing) will also prevent the check‑mark from appearing.
If “Free up space” is greyed out: The folder may be set to “Mirror” rather than “Stream.” Switch the folder’s sync mode in Preferences, apply the change, and wait for Drive to re‑index the folder.
If the file disappears from the Drive web UI after you delete it locally: You likely used “Delete permanently” instead of “Free up space.” Check the Drive trash; if the file is there, restore it, then repeat the correct steps.
If the local placeholder reappears after you emptied the Recycle Bin: Drive automatically recreates placeholders for streamed files. This is normal and does not consume significant space; the placeholder is only a few kilobytes.
When in doubt, make a manual backup. Right‑click the file, select “Download,” and store it on an external drive before performing any deletion.
Frequently Asked Questions
Does “Free up space” delete the file from Google Drive?
No. It only removes the local copy while leaving the full file in your Drive cloud storage.
Can I recover a file I accidentally freed up?
Yes. Simply double‑click the placeholder in the Drive folder; Drive will download the cloud version back to your computer.
Is there a way to batch‑delete local copies?
Yes. Select multiple files or an entire folder, right‑click, and choose Free up space. All selected items will be cleared locally at once.
What happens if I uninstall Google Drive for Desktop?
The local placeholders are removed, but the cloud files remain untouched. After reinstalling, the client will recreate placeholders according to your sync settings.
Will freeing up space affect shared files?
No. Shared files behave the same as personal files; the cloud copy stays shared with the same permissions.
Can I schedule automatic freeing of space?
Google Drive for Desktop does not include a built‑in scheduler. You can use third‑party scripts that call the Drive command‑line tool, but those are outside the scope of the official client.