How to Manage Duplicate Files in OneDrive?
I have many duplicate files in OneDrive and want to clean them up. Can anyone suggest an easy way to find and remove these files?
Tips and Tricks
I have many duplicate files in OneDrive and want to clean them up. Can anyone suggest an easy way to find and remove these files?
by Greg Gavin Accepted solution
Firstly, make a back up. It will help you if something would go wrong. Secondly, use a duplicate finder that compares actual file contents, not just filenames. You can run it on your locally synced OneDrive folder and review the matches before deleting anything
by Mr. John Accepted solution
Greg is right about backing up first — do that before you delete anything in bulk.
OneDrive doesn't have a built-in duplicate finder, so the easiest way without extra software is to work in File Explorer:
- Pause OneDrive sync first (right-click the OneDrive icon in the taskbar > Pause syncing), so nothing re-uploads or conflicts while you clean up.
- Open your OneDrive folder in File Explorer, switch to Details view, and sort by Name. Duplicates usually sit right next to each other, often with names like "file (1)" or "file - Copy". Sorting by Size helps too — same name and same size is usually the same file.
- Open the two copies and check the Date modified. Keep the newest one, and check inside it before you delete the other — don't just go by the name.
- Delete in small batches, a folder at a time, and check that the files you kept still open. Then empty the Recycle Bin on your PC, and also check the Recycle Bin on the OneDrive website — deleted OneDrive files sit there for 30 days and still count against your storage until they're cleared.
Also check where the duplicates came from, or they'll come back. The usual causes are the same folder being synced from two PCs, a file uploaded twice with a slightly different name, or a conflict copy made when the same file was edited on two devices at once. Once you've cleaned up, resume sync and let it finish before you edit those files on another device.
Posts from new accounts enter the moderation queue before publishing. No advertisements, promotional content, or personal attacks. See the community guidelines.
Sort by Trending