Upload a folder or files to a document library

Upload a folder or files to a document library

You can upload files to a document library in SharePoint Online and SharePoint Server 2019 by just dragging them from your computer and dropping them into the document library. With most browsers, you can also upload folders and the files they contain.

Important: Before you can upload or create files in a document library, your admin must give you permission to contribute to the library.


To upload a folder or files to a document library


  • You can use Microsoft Edge, Mozilla FireFox, or Google Chrome to upload folders from your computer to a SharePoint Online document library. Internet Explorer 11 does not support uploading folders.

  • Classic experience and earlier versions of SharePoint do not support uploading folders to libraries in any browser.

  • To find the version of SharePoint you're using, see Which version of SharePoint am I using?

  1. Open the document library where you want to upload a folder or files.

  2. On your computer, click Start Windows Start button in Windows 8 and Windows 10 , type file explorer, and then click File Explorer. Navigate to the folder or files that you want to upload.

  3. Select files or folders in File Explorer and drag and drop the folder or files onto the document library page. When you upload a folder to a document library, all files contained in the folder are automatically uploaded as well.

  4. You can also select Upload from the main document library menu, and then select Files or if your browser supports it, Folder from the menu.

    Office 365 Upload files or folder to a document library

    If your browser doesn't support folders, when you click Upload, the Choose File to Upload page opens where you can select one or more files.

    SharePoint choose file to upload dialog box.
  5. Select the files or folder that you want to upload, and then click Open if you're uploading files or click Select Folder if you're uploading a folder.

Note: To view or edit the properties for a file or folder after you've uploaded it to a document library, see View and edit information about a file, folder, or link in a document library.

You can also Move or copy a folder, file, or link in a document library after you've added them to a library.

If you are uploading large files--or many files that add up to a large total size--to a document library, you may get errors due to the file size limit in Office 365 and SharePoint Online or timeout errors in your version of Internet Explorer. Steps you can take to get around these errors include:

  • Some file types in the document library are blocked for security reasons. For more details on blocked file types, see Types of files that cannot be added to a list or library.

  • Some document libraries have restrictions that can limit how many files you can upload at a time. For example, if your document library has been set up to require a specific content type, or require a specific field, you can only upload one file at a time.

  • If you don’t see the option to drag and drop files, update your copy of Office.

Sometimes site administrators set up additional requirements in a document library that you might have to work with. These requirements can include:

Require check out:    Site owners can set up a document library to require you to check out files before you edit them (and check them in when you finish). If your document library requires check out, the file is checked out to you when you first upload it. You have to check the file in before other people can edit it. To learn about checkout, see Check out or check in files in a document library.

Track file versions:    You can add replace an existing file with a revised version of a file. If the document library is set up to track versions, you can add the revised file as a new version, which becomes part of the version history of the file. If you are uploading a new version of a file, consider typing comments about what changed in this version so that you can more easily track the history of the file. To learn more about versioning, see How does versioning work in a list or library?

Fill out file properties:    When you add a file, folder, or link to a document library, you may also be required to fill out a form (in the information panel) with information about the item, such as its description, a department name, or a project number. To learn more about editing information about a file, folder, or link, see View and edit information about a file, folder, or link in a document library.

Approve submitted content:    Site owners can set up a library to require approval of the content before it becomes visible to others who use the library. As the author, you can see the file listed and work with it, but nobody else can. For example, a legal department might require approval before documents become public. To learn more, see Require approval of items in a site list or library.

A word about uploading folders and browser versions

SharePoint takes advantage of the ability to upload a folder that is built into a browser. The only browsers that incorporate the ability is Microsoft Edge. Chrome, and Mozilla Firefox. At this time, Internet Explorer doesn't support uploading a folder.

To find the version of SharePoint you're using, see Which version of SharePoint am I using?

To find out the version of Internet Explorer you have, see Information about Internet Explorer versions.

We're Listening!

Updated October 2018.

Was this article helpful? If so, please let us know at the bottom of this page. If it wasn't helpful, let us know what was confusing or missing. We'll use your feedback to double-check the facts, add info, and update this article.

Expand your Office skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.