Upload files and folders to a library

Upload files and folders to a library

You can drag files and folders from your computer to upload them to your OneDrive library or SharePoint team site with the modern experience. You can also browse and upload your files using the classic version.  For information, see Differences between the new and classic experiences for lists and libraries.

Notes: 

  • To create and upload files and folders in a library, you must have contributor permissions to the library. If you're not sure what permissions you have, contact your SharePoint Admin. For more information, see Types of files that cannot be added to a list or library.

  • SharePoint has the ability to upload folders that are built into Microsoft Edge, Google Chrome, and Mozilla Firefox. Internet Explorer doesn't support uploading folders.

See how to copy files and folders from your computer

Watch this video to see how to copy files and folders to OneDrive and your team site.

  • Your browser does not support video.

Drag files to your OneDrive or SharePoint site library

Notes: 

  • Drag and drop works best with Google Chrome.  For other browsers, you can use the Upload command as an alternative method. 

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

  1. Open the OneDrive or SharePoint site library.

    SharePoint Site Library

  2. On your computer select Start Windows Start button and then type File Explorer.

    Drag files to SharePoint library

  3. Navigate to the folder with the documents that you want to upload.

  4. Drag the files to the space in the SharePoint library where it says drag files here. The library should display "Drop here" when you hover the file over it.

    Drop files in SharePoint

  5. You should see your files appear in the Document library.

Upload files from Explorer to your OneDrive or SharePoint sites library

  1. Open the OneDrive or SharePoint site library.

    SharePoint site library

  2. Select Upload at the top of the Documents library.

    Upload document

  3. In the Add a document dialog box, select Browse to upload an individual file. Depending on the version of OneDrive or SharePoint that you're using, you may also be able to upload multiple files by holding down either the CTRL or Shift key, and selecting more than one file.

  4. When you've selected the file or files to upload, select OK.

If you are uploading large files, or many files that add up to a large total size to a library, you may get errors due to the file size limit in SharePoint or timeout errors in your version of Internet Explorer. For information, see Manage large lists and libraries in SharePoint.

When uploading files and folders, you need to be aware of path and file name length. SharePoint and OneDrive support up to 400 characters for the total file and path length. SharePoint Server versions support up to 260 characters for the total file and path length. For information, see Invalid file names and file types in OneDrive and SharePoint.

Site owners can set up a library to require you to check out files before you edit them (and check them in when you finish). If your 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. For information, see Check out, check in, or discard changes to files in a library.

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. For information, see Require approval of items in a site list or library.

You can add a file to replace an existing file with a revised version of a file. If the library is set up to track versions, when you add a file, it becomes the latest version and the older file becomes part of the version history. When 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. For information, see How does versioning work in a list or library?

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.

×