Files & Cloud / Article
Duplicate Files Wasting Cloud Storage? How to Find and Remove Them
Photo by Growtika on Unsplash

Duplicate Files Wasting Cloud Storage? How to Find and Remove Them

If your cloud storage is nearly full and you suspect the same files are saved several times, you're probably right. Duplicates build up through repeated uploads, sync conflicts, and old backup folders. Most cloud services don't include a duplicate finder, so cleanup takes a bit of method.

This guide covers how to find duplicates in Google Drive, OneDrive, Dropbox, and iCloud Photos, how to delete them without removing the only good copy, and what to check if your storage doesn't drop afterward.

The short version

  1. Find out what is actually using your space. Large files are often a bigger problem than duplicates.
  2. Look for obvious duplicates by name, size, and "copy" or "conflicted" labels.
  3. For bigger libraries, scan a synced local folder with a duplicate finder that compares file contents, not just names.
  4. Delete the extra copies, then empty the cloud trash, because deleted files often still count against your quota.

Why cloud storage fills up with duplicates

Most duplicates are not created by the cloud service being careless. They come from ordinary habits and sync behavior:

  • Sync conflicts. If a file changes on two devices before they sync, services typically keep both. Dropbox adds "conflicted copy" to the name, and OneDrive often appends the device name.
  • Manual copies. "Copy of Budget.xlsx" or "Report (1).pdf" are usually left behind by someone making a quick backup.
  • Re-uploading folders. Dragging a folder into the web interface a second time, often after a failed upload, can leave two versions of everything.
  • Photo and backup overlap. The same photos may exist in a phone backup, a manual upload, and an old laptop archive.

Google Drive also allows two files with the same name in one folder. That is why you can end up with truly identical files sitting side by side.

Check what is really using your space first

Before hunting for duplicates, see where the space is going. One 8 GB video file you forgot about can matter more than hundreds of duplicate documents.

  • Google Drive: Open the Storage page from the left sidebar in Drive on the web. It lists files by size, so the biggest items are easy to review. Google One's storage tools can also flag large files, trash, and spam. Note that Drive, Gmail, and Google Photos share the same quota.
  • OneDrive: Open Settings on the OneDrive website and choose the storage management option to see what is taking space, including the recycle bin.
  • Dropbox: Sort your files by size in the web interface, or use the account storage details in your settings.
  • iCloud: On an iPhone, go to Settings, tap your name, then iCloud, and check the storage breakdown. Photos and device backups are usually the biggest items.

Menu names change from time to time, so if an option has moved, look for "Storage" or "Manage storage" in your account settings.

Finding duplicates manually

For a modest amount of data, manual checking is the safest approach because you see every file before it disappears.

Google Drive, OneDrive, and Dropbox

Switch to list view and sort by name. Duplicates then sit next to each other, and you can compare size and modified date. If two files have the same name, size, and date, they are almost certainly identical. If the sizes differ, open both before deleting, since one may contain newer edits.

You can also search for common clues, such as copy, (1), or conflicted copy in Dropbox. Conflicted copies deserve extra care: they exist because two different versions were saved, so the "extra" file may hold changes you want to keep.

iCloud Photos

Apple's Photos app has a built-in tool. On an iPhone or iPad running a recent iOS version, open Photos, go to Albums, and look under Utilities for Duplicates. On a Mac, it's in the Photos sidebar under Utilities.

Tap Merge to combine a set. Photos keeps the highest-quality version and moves the others to Recently Deleted. Because iCloud Photos syncs across your devices, this removes them everywhere, so confirm your library looks right before you empty Recently Deleted.

Using a duplicate finder for larger libraries

When you have thousands of files, a dedicated tool is more practical. The usual approach is to scan the folder that your cloud service syncs to your computer. Look for a tool that matches files by content (a checksum or hash) rather than only by filename. Free options include dupeGuru and Czkawka, and there are paid ones with friendlier interfaces. Check that any tool you choose comes from its official site.

Keep these points in mind before you delete anything:

  • Deleting a local synced file deletes it from the cloud too. That is how sync works, so you aren't just cleaning up your computer.
  • Scan only folders you own and understand. Skip application folders, system folders, and photo library packages like the Photos library on a Mac. Deleting from inside them can corrupt the library.
  • Online-only files may be downloaded during a scan. If your cloud folder uses placeholders (Files On-Demand in OneDrive, for example), a scan that reads file contents may pull files down and fill your disk. Check how your tool handles this, or scan a smaller folder at a time.
  • Review before bulk deleting. Automatic "keep the newest" rules can remove the wrong copy if a file was edited in a different location.

It is also worth making a backup of anything important first. A copy on an external drive is enough for a one-time cleanup.

For Google Drive power users: rclone

If you are comfortable with the command line, the free tool rclone includes a dedupe command that handles Drive's same-name duplicates. Use the --dry-run option first so it shows what it would do without changing anything. This is the more advanced route and isn't necessary for most people.

Empty the trash, or nothing will change

This is the step people most often miss. Deleting a file usually moves it to a trash or recycle bin, and in several services that trash still counts toward your storage until it is emptied or the retention period ends. Google Drive and OneDrive both behave this way, and iCloud's Recently Deleted album holds photos for a limited period.

Once you're sure you don't need the deleted files, empty the trash in the web interface. This permanently removes them, so do it only after you've checked that you kept the right copies.

If your storage doesn't go down

  • Wait a few minutes and refresh. Usage figures can lag behind deletions, sometimes longer on big cleanups.
  • Check other services on the same account. With Google, Gmail attachments and Google Photos count too, so Drive may not be the problem.
  • Make sure you own the files. In Google Drive, files shared with you generally don't count toward your quota unless you copy them. Deleting them won't free anything.
  • Look at old device backups. In iCloud especially, backups from phones you no longer use can take up several gigabytes.
  • Check for hidden or synced-elsewhere folders. Old project folders and archives sometimes sync from a second computer you forgot about.

What to do next

Start with the largest files and the obvious "copy" and "conflicted" files, because that is where cleanup is both safest and most effective. Use a content-based duplicate finder only on folders you understand, review its results rather than accepting automatic deletions, and empty the trash at the end. If you're still short on space after that, the answer is likely a larger plan or moving old archives to an external drive, not more hunting for duplicates.