Skip to content
Follow
Windows

How to Exclude Specific File Extensions from Backing up to OneDrive in Windows 11

Richard
Written by
Richard
Apr 14, 2026 Updated Jul 13, 2026 1 min read
How to Turn On or Off Mobile Hotspot Power Saving in Windows 11
How to Turn On or Off Mobile Hotspot Power Saving in Windows 11

Do you use OneDrive to keep your files safe? Sometimes, you might have specific types of files that you do not want clogging up your cloud storage. This guide will show you how to tell OneDrive to ignore certain file types so they stay only on your computer.

⚡ Quick Answer

Right-click the OneDrive icon, go to Settings, then Sync and backup. Under Advanced settings, find Excluded file extensions and click Exclude to add file types you don’t want to sync. This stops OneDrive from uploading new files of the specified types.

Why exclude files from OneDrive?

You might have large files or temporary files that you do not need to access from your phone or other computers. By excluding them, you save space in your cloud storage and keep your synced folders clean.

What happens when you are done?

Once you add an extension to the exclusion list, OneDrive will stop uploading new files of that type to the cloud. Please note that files already in your cloud storage will not be removed automatically; this setting only stops new ones from being added.

How to exclude file types

  1. Click the OneDrive icon in your taskbar .
  2. Select the Help & Settings (gear) icon and choose Settings.
  3. Click Sync and backup on the left side, then click the Advanced settings link.
  4. Find the Excluded file extensions section and click Exclude.
  5. Type the file extension you want to block (for example: “png”) into the box and click Exclude.
OneDrive settings menu accessed via the gear icon in Windows 11.
Click the OneDrive settings gear icon to access options.
OneDrive advanced settings showing the exclude file extensions option.
OneDrive advanced settings showing the exclude file extensions option.
Adding a file extension to OneDrive's exclusion list in Windows 11.
Adding a file extension to OneDrive's exclusion list in Windows 11.

How to stop excluding file types

  1. Follow the steps above to return to the Excluded file extensions section.
  2. Look for the extension you want to allow again.
  3. Click the X button next to that extension.
  4. Click Ok to save your changes.
Removing a file extension from OneDrive's exclusion list in Windows 11.
Removing a file extension from OneDrive's exclusion list in Windows 11.

Summary

By default, OneDrive syncs everything in your folders to the cloud. If you want to keep certain files local only, you can use the Excluded file extensions menu in the OneDrive settings. This keeps your cloud storage organized and prevents unwanted files from syncing across your devices.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Unlink OneDrive Windows 11: A Complete Guide
Windows How to Unlink OneDrive Windows 11: A Complete Guide
How to Free Up Disk Space with OneDrive in Windows 11
Windows How to Free Up Disk Space with OneDrive in Windows 11
How to Sync Only Essential OneDrive Folders in Windows 11
Windows How to Sync Only Essential OneDrive Folders in Windows 11
How to Add or Remove OneDrive Icon on Windows 11 Desktop
Windows How to Add or Remove OneDrive Icon on Windows 11 Desktop

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *