I am using SPO, I would like to view in the document library all folders and subfolder.

For example: folder A then shows Subfolder B and Subfolder C and so on up to 4 levels (like file explorer view).

Is this possible?

enter image description here


2 Answers 2


Not possible with OOB solutions, but technically you can add a tree-view navigation on the page to display the folder structures.

See the references here:

Classic Experience: Sharepoint 2013 : Tree view structure for Document library and setting permissions.

Modern Experience: Tree view navigation using PnP Treeview control in the SharePoint Framework (SPFx) web part.

  • First part is not quite correct--that aside, good answers will show rather than just link to off-site resources. When those links die (e.g. "link rot") the post loses what value it previously had.
    – TylerH
    Commented Nov 28, 2023 at 20:16

You can open the site in Internet Explorer then select "Open in File Explorer" from the Library ribbon tab. You'll need to make sure you have IE installed, or possibly Edge which allows you to operate in IE mode (e.g. if at work, some organizations disable or control this at an enterprise level via group-policy):

Image pointing to the "Open with Explorer" option, and that option's tooltip displaying

Clicking on it will open the traditional Windows File Explorer view in a new window:

Screenshot of the Windows File Explorer view of the same content.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.