Upload files to a library

You can upload files, to your OneDrive for Business or to your team site, by just dragging them from your computer. First, open OneDrive or the site library. Then find the documents that you want to upload in File Explorer and drag them to the space in the library where it says drag files here. For a demonstration, see Video: Adding documents to a library. Not sure where to add the files? See Should I save my documents to OneDrive for Business or a team site?

Drag and drop to upload files to OneDrive

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

Instead of dragging files, you can select Upload.

Upload button on Quick Command Bar in OneDrive

In the Add a document dialog box, you can click Browse to upload an individual file or click Upload files using Windows Explorer insteadto upload multiple files. If you choose the Explorer option, you can drag files from your computer into the File Explorer window. This option is easier to use if you open File Explorer first.

Tip    Some libraries have restrictions that can limit how many files you can upload at a time. For example, if the library requires a specific content type, or requires a specific field, you can only upload one file at a time.

For a demonstration, see Video: Copy or move library files by using Open with Explorer. To troubleshoot issues, see Troubleshoot the 'Open with Explorer' command in Microsoft SharePoint Online in Microsoft Office 365.

You can also create and manage documents, spreadsheets, presentations, and other types of files in a library. To learn more, see these articles:

Create a document

Sync OneDrive for Business or SharePoint site libraries to your computer

Share documents or folders in OneDrive for Business

Important    Before you can upload or create files in a library, you need to have permission to contribute to the library. Also, some file types in the library are blocked for security reasons.

More information in this article

Upload large files or many files to a library

More about uploading files

Upload large files or many files to a library

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. Steps you can take to get around these errors include:

  • Upload 100 or fewer files. You cannot upload more than 100 files at a time.

  • If you are an Office 365 customer, avoid uploading files larger than 2 GB, which is the maximum file size by default.

  • If your organization maintains an on-premises deployment of SharePoint, ask the server administrator to verify or increase the maximum file size limit to accommodate the size of the files you are uploading. The default size limit is 250 MB, but it can be increased up to a maximum of 2GB.

  • For file sizes exceeding 2 GB, if you see a "Working on it" message that never goes away, follow the instructions in Microsoft Support: Internet Explorer error "connection timed out" when server does not respond.

  • If you have the OneDrive for Business sync client available, use it to upload large files or multiple files. The 100-file limit still applies, but sync will automatically upload them in the background when you’re online. For more information, see Sync a library to your computer.

Top of Page

More about uploading files

Your experience with adding files to a library might differ a little, depending on the version of Office or on the browser that you use. In addition, sometimes site administrators set up additional requirements in a library that you might have to work with.

Note    In a wiki page library, you can create new wiki pages, but you cannot upload existing files.

Save a file    Before you can save a file for the first time, you may need to add the site as a trusted site in your browser settings. For example, in Internet Explorer, click Tools > Internet options > Security > Trusted Sites > Sites.

Require check out    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. To learn about checkout, see Check out, check in, or discard changes to files in a library

Track file versions    You can add replace an existing file with a revised version of a file. If the 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 to a library, you may also be required to fill out a form (on the document information panel) with information about the file, such as its description, a department name, or a project number.

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.

Top of Page

Applies To: SharePoint Online, Office 365, Office 365 Admin, Office 365 Small Business Admin, Office 365 operated by 21Vianet, SharePoint Foundation 2013, Office 365 operated by 21Vianet - Small Business Admin, Office 365 operated by 21Vianet - Admin, SharePoint Server 2013 Enterprise, SharePoint Server 2013 Standard, SharePoint Server 2016 Standard, SharePoint Server 2016 Enterprise, SharePoint Online operated by 21Vianet

Was this information helpful?

Yes No

How can we improve it?

255 characters remaining

To protect your privacy, please do not include contact information in your feedback. Review our privacy policy.

Thank you for your feedback!

Change language