Delete from OneDrive only by using the web browser

The simplest way to remove a file from OneDrive without deleting it from your PC is to sign into OneDrive through your web browser and delete it there. When you delete a file from the OneDrive website, it removes the file from your cloud storage but leaves the copy on your computer untouched.

Go to onedrive.live.com, sign in with your Microsoft account, and navigate to the file or folder you want to remove. Right-click the file and select Delete. The file disappears from OneDrive but remains in the folder on your PC where it was synced.

This method works because the OneDrive website and the OneDrive app on your PC are separate. Deleting through the website does not trigger the sync process that would remove the file from your computer.

Key Takeaways

  • Delete files through onedrive.live.com in your web browser to remove them from cloud storage without touching your PC copy.
  • Deleting through the OneDrive app on your PC will delete the file from both locations unless you stop syncing first.
  • You can pause syncing on specific folders in the OneDrive app settings, then delete files from those folders without affecting the cloud version.
  • Files deleted from OneDrive go to the recycle bin for 93 days before permanent removal, giving you time to restore them if needed.
  • Moving files out of your OneDrive folder on your PC stops them from syncing to the cloud without deleting either copy.

Stop syncing a folder, then delete from your PC

If you want to keep the file on your computer but remove it from OneDrive, you can pause syncing on that specific folder. Open the OneDrive app on your PC, click the cloud icon in the system tray (bottom right of your screen), and select Settings. Go to the Account tab and click Choose folders.

Uncheck the folder that contains the files you want to remove from OneDrive. OneDrive will stop syncing that folder to the cloud. Once you confirm, the folder stays on your PC but stops uploading to OneDrive. You can then delete the files from that folder on your computer without affecting anything in the cloud.

After you delete the files locally, you can re-enable syncing for that folder if you want OneDrive to resume backing up other files there. The files you deleted will not reappear because they no longer exist on your PC.

Move files out of your OneDrive folder

Another straightforward approach is to move the files you want to keep off your PC but out of the OneDrive folder entirely. Open File Explorer on your PC and navigate to your OneDrive folder (usually C:\Users\[Your Name]\OneDrive). Select the files you want to remove from cloud storage and cut them (Ctrl+X).

Navigate to a different folder on your PC—your Documents folder, Desktop, or any location outside OneDrive—and paste the files there (Ctrl+V). Once the files are outside the OneDrive folder, they stop syncing to the cloud. The files remain on your computer in their new location, and OneDrive will eventually remove them from cloud storage.

This method is useful if you want to keep files on your PC but do not need them backed up to OneDrive anymore. You can move them back into the OneDrive folder later if you change your mind.

Understand what happens when you delete from the OneDrive app

If you delete a file using the OneDrive app on your PC—by right-clicking it in File Explorer and selecting Delete—the file is removed from both your computer and OneDrive. This happens because the app is designed to keep both locations in sync. Deleting on one side automatically deletes on the other.

The deleted file goes to the Windows Recycle Bin on your PC and to the OneDrive recycle bin in the cloud. You have 93 days to restore it from either location before it is permanently removed. If you accidentally delete a file this way, you can recover it by opening the OneDrive recycle bin at onedrive.live.com, clicking the recycle bin icon, and selecting Restore.

Use selective sync to control what syncs to your PC

Selective sync lets you choose which folders from OneDrive actually read to your computer. This is useful if you have files in OneDrive that you want to keep in the cloud but do not need stored locally. Open the OneDrive app, click the cloud icon in the system tray, select Settings, and go to the Account tab.

Click Choose folders and uncheck any folders you do not want synced to your PC. Those folders remain in OneDrive but will not read to your computer. This saves space on your PC and prevents those files from appearing in your local OneDrive folder, so there is nothing to delete locally.

Restore deleted files from the OneDrive recycle bin

If you delete a file and realize you made a mistake, you have 93 days to restore it. Sign into onedrive.live.com, click the recycle bin icon on the left side, and you will see all files deleted in the past 93 days. Select the file you want to restore and click Restore.

The file returns to its original location in OneDrive. If you deleted it from your PC as well, restoring it in OneDrive will not automatically bring it back to your computer—you will need to wait for the sync to complete or manually read it from the web browser.

Frequently Asked Questions

Will deleting a file from the OneDrive website delete it from my computer?

No. Deleting through onedrive.live.com removes the file from cloud storage only. Your copy on the PC stays in place. The file will no longer sync, but it remains in the folder where it was stored locally.

What is the difference between deleting and moving files out of OneDrive?

Deleting removes the file entirely (though you can restore it for 93 days). Moving files out of the OneDrive folder keeps them on your PC but stops them from syncing to the cloud. Moving is safer if you want to preserve the file.

Can I recover a file I deleted from OneDrive?

Yes, for 93 days. Go to onedrive.live.com, click the recycle bin, find the file, and click Restore. After 93 days, the file is permanently removed and cannot be recovered.

If I pause syncing on a folder, what happens to files already in OneDrive?

Files already synced to OneDrive stay there. Pausing syncing stops new changes from uploading, but does not delete what is already in the cloud. You must delete them separately through the OneDrive website.

Does moving files out of OneDrive delete them from the cloud?

No. Moving files out of your OneDrive folder on your PC stops them from syncing, but OneDrive will not delete them when ready. They remain in the cloud until you delete them through the OneDrive website or they are removed by another sync action.