2

I got a question from our customer about how many sub-folders levels we can have inside sharepoint online document library. now based on my knowledge there is not any limit. now i am not discussing if we should have many levels of sub-folders, but my question if we really have a limit.

Based on my test i was able to create 7 levels of sub-folders, and i uploaded a word document inside the last level, and the word document URL is consists of 264 characters which seems it is also acceptable.

so my question is if there are a limitation about the number of sub-folders we can have inside SharePoint online document library ? or limitation of the url length (where the url length will be increasing as we add more sub-folders)?

Thanks

11
  • Absolutly, it should be right about zero ;-) Commented Nov 26, 2018 at 17:30
  • @KasperBoLarsen can you advice what do you mean by Absolutly, it should be right about zero ;-)??
    – John John
    Commented Nov 26, 2018 at 23:09
  • Sure :-) This sums it up pretty good : sharepointeurope.com/15-reasons-not-use-folders-sharepoint Commented Nov 27, 2018 at 7:06
  • @KasperBoLarsen ok i got your point now... so u r trying to say not to use them... anyway end users like to group their files using folders and sub-folders, they feel comfortable doing so,,, now on every topic on sharepoint you will find articles saying not to use this option,, but at the end it is the end users preferences and any contributor have the permission to add folders.. now if SP think folders are bad, then let them have the courage and remove this option from document libraries,, i know there is an option within each lib to disable folders, but it is set to yes by default..
    – John John
    Commented Nov 27, 2018 at 11:04
  • @KasperBoLarsen in addition to my above reply.. SP uses folders heavily inside their built-in components, try to add a new modern page>>inset an image inside the page>>check the site assets folders>> you will see that there is a folder created (with the same name as the modern page title) and this folder stores the images and other assets for the modern page,, why SP did not implement this using managed metadata for example !!
    – John John
    Commented Nov 27, 2018 at 11:06

1 Answer 1

1

See SharePoint Online Limits:

  • A list can have up to 30 million items and a library can have up to 30 million files and folders.
  • SharePoint Online supports URL paths up to 400 characters (SharePoint Server OnPremise only 260)
  • You have a list view limit of 5000 items (might get changed, they are working on that), which means that you should not have 5000 or more subfolders within a single folder.
2
  • The last bullet point in your answer is currently misleading. Maybe something changed, but the link you shared does not say anywhere that there's a list view limit of 5000 items. The only mention of the number 5,000 is that you can't have more than 5,000 groups in a site collection, users in a group, or unique security scopes per list or library. Commented Jul 6, 2023 at 17:20
  • 1
    Hi Dale, it has been almost 5 years, quite a few things changed since then. But have a look at the page that is linked on the limits article called “Manage large lists and libraries”: support.microsoft.com/en-us/office/… - at the start there the list view threshold is mentioned already.
    – Anon
    Commented Jul 8, 2023 at 18:53

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.