We want to move all the documents we have from SharePoint 2010 & Windows server 2012 to SharePoint Online sites. On some cases we will use Power Shell to do the move Or for small folders we will drag-drop those files.

But what i am not sure about is what are the limitations of storing documents inside SharePoint online compared to SharePoint 2010 and File shares, regarding those main areas:-

  1. Single File size

  2. File Path Length

  3. Allowed charterers inside the File name

I think with SharePoint 2010 and File shares we do not have any limitations (or the limitations are less), compared to SharePoint online.. but i am unable to find any documentation which list those limitations so i can know them in advance?



1 Answer 1


This Microsoft Support article lays out the limits. Check back often, because they may change at any time. As of writing they are

  1. Maximum file upload size updated to 250 GB.
  2. The answer is complex, but short: not more than 400 characters
  3. not allowed are " * : < > ? / \ | and leading/trailing spaces

Windows Server (file shares) doesn't have a file size limit. Path length is application dependent (Office apps don't like paths > 256 characters), and special character rules are similar.

You want to do an inventory of your file shares to get a picture of YOUR environment, though, so you can identify problems before migration.

  • thanks a lot .. but my question is; are those limitations applied to SharePoint 2010 and File Shares? if those limitations do apply then i do not have to worry about migrating the documents to SP online.. but if those limitations do not apply then i need to solve those issues.. did you get my main question/concern?
    – John John
    May 19, 2022 at 22:06
  • 2
    I am finding articles with the specifics quite easily with a google search, so why can't you find them? File path: docs.microsoft.com/en-us/windows/win32/fileio/…. -- Invalid characters: docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file -- Windows Server doesn't have a file size limit.
    – teylyn
    May 19, 2022 at 23:29
  • 2
    NTFS has varying file size limits; practically they are meaningless today (16 EiB, though limited to 8 PiB in current implementations of Windows Server with 2048 KiB cluster format; ReFS is 35 PiB). The file size limit entirely depends on what file system the volume is formatted in (i.e., a non-Windows file server using ext4 or ZFS may have different limits) and potentially cluster size used in the format.
    – user6024
    May 20, 2022 at 0:33
  • 1
    SharePoint Online exceeds all limitations of SharePoint 2010 in terms of file paths length, character limitations, and size.
    – user6024
    May 20, 2022 at 2:35
  • 1
    SharePoint Online is more advanced, mature, etc., so I'm not sure what lead you to that thought process. 2010 has far more limitations for all of the categories you've asked about.
    – user6024
    May 20, 2022 at 20:09

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.