Bulk deletion in SharePoint is straightforward for small batches but becomes impractical at scale. When you need to remove hundreds or thousands of files across multiple libraries and sites, the native browser interface forces you to paginate one page at a time. This guide covers three approaches in order of scale: browser multi-select for small batches, filtered views for targeted categories, and a dedicated desktop tool for large operations.
Permissions required
The permissions needed to delete files in SharePoint depend on the scope:
- Single files in a library: Contribute permission or higher on the library. Members of the site's default Members group have Contribute access and can delete files they have access to.
- Files across the entire site: Site Owner permission or Site Collection Administrator. These roles can delete files in any library, including libraries with unique permissions that exclude regular members.
- Files across multiple sites: You need at least Owner or Full Control access to each site. A SharePoint Administrator role in the Microsoft 365 admin center grants admin access across all sites and is needed for tenant-wide cleanup operations.
Check your permissions before starting a large cleanup. Attempting to delete files you do not have access to will fail silently in some tools and produce errors in others.
Step 1: Browser UI selection (up to ~200 files per page)
The document library interface in SharePoint supports multi-select deletion directly from the list view. This is the right approach when you know which specific files to remove and the total count is manageable.
- Open the document library containing the files.
- Switch to List view using the view selector in the top-right corner. List view shows checkboxes; Tiles and Compact views do not.
- Click the checkbox in the column header to select all visible items on the current page.
- Click Delete in the command bar, or press the Delete key.
- Confirm the deletion in the dialog that appears.
- If the library has more pages, click Next at the bottom of the list to load the next page and repeat.
The browser approach works well for single-library cleanup involving up to a few hundred files. Beyond that, the per-page workflow becomes time-consuming. Use the filtered view approach or the Space Master tool for larger operations.
Step 2: Filtered views for category-based deletion
When you want to delete a defined category of files (for example: all PDFs older than a specific date, all files created by a former employee, or all files under a certain size threshold), a filtered library view lets you surface exactly those items before selecting and deleting them.
- Open the library and click the View options drop-down (the control in the top-right of the library showing the current view name).
- Select Create new view and choose Standard View.
- Scroll to the Filter section in the view settings. Add one or more conditions, for example:
- File Type is equal to pdf
- Modified is less than [date]
- Created By is equal to [name]
- File Size is less than [bytes]
- Save the view and switch to it. Only matching items appear in the list.
- Select all on each page and delete, paginating until the filtered view is empty.
- Delete the custom view once the cleanup is complete.
The filtered view approach works well when you can describe the target files with column conditions and the total count does not run into the tens of thousands. For very large libraries, the pagination is still manual; the Space Master tool below removes that constraint.
Step 3: Space Master Bulk Delete for large-scale operations
For removing thousands of files across multiple libraries or sites in a single operation, ShareMaster's Space Master includes a Bulk Delete Files/Items tool. It calls the SharePoint API directly from the desktop application, bypassing the browser page-size restriction, and can target multiple libraries and sites in a single configured job.
The tool is suited to scenarios such as:
- Pre-migration cleanup where you want to remove obsolete content before transferring a library to a new site.
- Post-project cleanup where a project site's working documents need to be removed in bulk after archiving.
- Storage reclaim operations where a category of large files (videos, archived reports, raw exports) spans many libraries.
- Decommissioning operations where one or more sites are being retired and their content removed before the site itself is deleted.
- Open ShareMaster and connect to your Microsoft 365 tenant using your admin credentials.
- Navigate to Space Master and select Bulk Delete Files/Items.
- Choose the target site or site collection from the site picker.
- Select the libraries or lists to include in the operation. You can include multiple libraries from the same site.
- Configure filters for file type, modification date, size range, or author to narrow the scope of the delete.
- Review the preview: the tool shows the matched file count and a sample of matched items so you can confirm the filter is correct before committing.
- Run the delete. Progress is displayed in real time, including the count of items processed and any items skipped due to checkout or permission restrictions.
- After the delete completes, proceed to the next step to clear the Recycling Bin.
Step 4: Empty the Recycling Bin to reclaim storage
After any bulk delete, the removed files sit in the site's first-stage Recycling Bin. They still count against the site's storage quota and can be restored by site members until the bin is cleared. This is intentional: it gives a recovery window after accidental deletion.
When you are confident the deletion was correct and you need to reclaim the storage:
- Open the first-stage Recycle bin in the affected site (Site contents > Recycle bin).
- Select all items from the deletion and click Delete to permanently remove them, or click Empty recycle bin to clear everything.
For tenant-wide cleanup across many sites, ShareMaster's Recycle Master includes a bulk-clear function that empties bins across all connected sites in a single operation. This avoids the need to visit each site's Recycle bin page individually.
Cleaning up empty folders after a bulk delete
Deleting files often leaves behind the folder structure that contained them. Empty folders do not consume significant storage, but they create confusion in the library and make navigation harder. ShareMaster's Space Master includes an Empty Folder Remover tool that scans a library or site for folders with no remaining content and removes them in a single pass. Run it after a large file delete to leave the library in a clean state.
Bulk deleting entire sites
If the goal is to remove a whole site collection rather than files within a site, that is a separate operation. The SharePoint admin center allows deleting individual site collections from the Active Sites list. Space Master's Bulk Delete Sites tool extends this to multiple sites in a single job, which is useful when decommissioning a set of project sites after a migration or consolidation. See the Space Master overview for details on that workflow.
Verifying the result
After a large cleanup, two checks are worth making:
- Storage report. Run a storage utilisation export with Report Master to confirm the quota reduction. The before-and-after numbers document the outcome for stakeholders and confirm the Recycling Bin has been cleared.
- Permissions review. If the deleted files lived in libraries with unique permissions, review those permissions after cleanup. The Shared Links and Permissions tool in ShareMaster surfaces shared links and unique permission assignments that may no longer be needed once the content is gone.
Summary
For small, specific batches: use the browser library view with multi-select. For files that share a common attribute (type, date, author): build a filtered view first, then select and delete from it. For large-scale or cross-library operations: use Space Master's Bulk Delete Files/Items tool to run the job without browser page-size limits. In all cases, empty the Recycling Bin after the deletion is confirmed to reclaim the storage quota.