SharePoint Online: How to Hide Folders in Document Library and Show All Files?

When you have a complicated deep File-Folder structure, You may want to hide folders from the view and show all files without folders in the SharePoint document library view. Probably, you may want to use Metadata instead of Folders!

hide folder in sharepoint online document library

How to hide folder in SharePoint Online document library?

Here is how to hide folders from SharePoint Online view and get flat files structure:

  • Create a new view, E.g. “All Files” or edit any existing view
  • Under the view settings, scroll down to “Folders” section >>> Set the option “Show all items without folders”
  • Click on “OK” button to save your changes.
sharepoint online hide folder

This suppresses all folders and gets files from all folders and sub-folders in a flat view. Please note, It’s not possible to hide just one folder in the SharePoint Online document library!

Be cautious when using this setting on larger lists and libraries! When you show items without folders, You may end up “Listview threshold issue exceeded!” error.

Salaudeen Rajack

Salaudeen Rajack is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

Leave a Reply