OneDrive File Issues

How to Bulk Delete Only PNG Files from a OneDrive Photos Folder

Amos GikundaAmos Gikunda Oct 13, 2026 869 views

Question details

The user needs an efficient method to bulk delete thousands of unwanted PNG files from a OneDrive Photos folder without accidentally deleting other image formats they want to keep.

How to Bulk Delete Only PNG Files from a OneDrive Photos Folder
Product
OneDrive
Device & OS
not provided
Scenario
Cleaning up a large OneDrive Photos folder that has been cluttered with unwanted PNG files, likely caused by automatic device backups.
Observed behavior
Deleting files individually is highly time-consuming, and unwanted PNG files continue to upload due to automatic synchronization settings.
Before you start

Ensure you are logged into the OneDrive website via a desktop browser, as the web interface provides the most robust search and bulk-selection tools for managing large volumes of files.

Solution 1Recommended

Search and Bulk Delete PNG Files via OneDrive Web

Use the built-in search functionality on the OneDrive website to filter out all other file types, allowing you to quickly select and remove only the PNG images.

By leveraging the search bar specifically within your Photos or My Files view, you can isolate files by their .png extension. This eliminates the need to manually scroll and pick out individual files among JPEGs or other formats.

1
Open the Target Folder

Navigate to the OneDrive website, log in with your Microsoft account, and open the 'Photos' or specific folder where your images are stored.

2
Search for the PNG Extension

Click the search bar at the top of the screen and type '.png' to filter the current folder's contents, displaying only PNG files.

3
Select the Unwanted Files

Hover over the first PNG file and click the circular checkmark that appears. Then, hold down the 'Shift' key on your keyboard and click the last file in the list to select all unwanted PNGs at once.

4
Delete the Selection

Review the selected files to ensure no important images are included, then click the 'Delete' button on the top toolbar to move them to the Recycle Bin.

Search and Bulk Delete PNG Files via OneDrive Web
Missing Search Bar in Photos View?: If the search bar is missing in the dedicated 'Photos' tab, switch to the 'My files' view from the left sidebar, navigate to your Pictures or Camera Roll folder manually, and use the search bar located at the top of the screen.
Free Microsoft Office alternative

Enhance Your Document Workflow with WPS Office

While managing your cloud storage is important, having a reliable, fast, and highly compatible office suite is essential for opening the documents you store. WPS Office is a lightweight, fully-featured alternative to Microsoft Office that integrates perfectly with your existing cloud storage accounts.

  1. 1. Download and Install: Visit the official WPS Office website to download and install the free suite on your PC or Mac.
  2. 2. Connect Your Cloud Storage: Open WPS Office, navigate to the 'Open' tab on the homepage, and select 'Add Cloud Storage' to link your OneDrive account.
  3. 3. Access Files Seamlessly: Browse, open, and edit your OneDrive documents directly from within the WPS Office interface without needing to download them manually.
Completely free, lightweight, and fast to installHighly compatible with Microsoft Office formats including DOCX, XLSX, and PPTXBuilt-in PDF editor for viewing, editing, and converting PDF filesSeamless integration with popular cloud storage services like OneDrive, Google Drive, and Dropbox
microsoft office alternative - wps office

Frequently Asked Questions

Can I recover the deleted PNG files if I accidentally delete the wrong ones?

Yes, deleted files are moved to the OneDrive Recycle Bin. You can restore them within 30 days (or 93 days for work or school accounts) by navigating to the Recycle Bin on the left sidebar, selecting the files, and clicking 'Restore'.

Why are screenshots automatically saving as PNGs to my OneDrive?

The OneDrive desktop client has a feature that automatically saves screenshots to the cloud. You can disable this by opening OneDrive Settings on your PC, navigating to the 'Sync and backup' tab, and turning off the 'Save screenshots I capture to OneDrive' option.

Is there a way to exclude PNG files from syncing altogether?

OneDrive does not currently offer a native feature to exclude specific file extensions (like .png) from syncing in personal accounts. The best workaround is to isolate PNGs in folders that are excluded from your backup settings.