SharePoint Document Issues

SharePoint Online File Upload Size and Name Limits

Chanuka GeekiyanageChanuka Geekiyanage Nov 22, 2026 868 views

Question details

Find the maximum SharePoint Online upload size and understand the separate limits for file names, folder names, and paths.

SharePoint Online File Upload Size and Name Limits
Product
SharePoint Online
Device & OS
not provided
Scenario
A user wants to upload files to a SharePoint Online document library without exceeding size or naming limits.
Observed behavior
The user needs to distinguish the file size limit from character limits for names and paths.
Before you start

Check the file's size and its intended name before uploading. Identify the destination library and any nested folders so you can assess the full path.

Solution 1Recommended

Check SharePoint Online upload and path limits

Use these limits to prepare files and folder structures for a SharePoint Online document library.

SharePoint Online supports individual files up to 250 GB. The 15 GB figure in older guidance reflects an earlier limit, not the current standard limit.

The entire decoded file path, including the file name, is limited to 400 characters. Individual file or folder name segments can be up to 255 characters when using the OneDrive sync client. The 256-character figure refers to naming or path constraints, not file size.

1
Check the file size

Open the file's Properties or information panel on your device and confirm that its size is no more than 250 GB.

2
Review the destination path

Open the target SharePoint site and document library, then check the library, folder, and file names together. Shorten names or reduce folder nesting if the decoded path exceeds 400 characters.

3
Check names and characters

Rename the file or folder if an individual name exceeds 255 characters or contains unsupported characters such as ", *, :, <, >, ?, /, \, or |.

4
Upload the file

In the document library, select Upload, choose Files, and select the file. If the upload is rejected, review the displayed error and recheck its size and path.

Check SharePoint Online upload and path limits
Verify current limits: Microsoft can change service limits, and some characters or names may be restricted by your organization's configuration. Check Microsoft's current SharePoint limits and invalid file name documentation if you encounter a restriction.
Free Microsoft Office alternative

Prepare Office Files for SharePoint with WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface and Microsoft Office format support, making it easy to move existing files into your workflow. It can help you edit documents before uploading, but it cannot change SharePoint's upload or path limits.

Edit documents before uploading them to a SharePoint libraryOpen and save common Microsoft Office formats, including DOCX, XLSX, and PPTXUse a familiar interface for an easier transition from Microsoft OfficeWork with a lightweight, free office suite
QA img-9

Frequently Asked Questions

Is the SharePoint Online upload limit still 15 GB?

No. The current standard limit is 250 GB per file; 15 GB is an older limit. Check Microsoft's SharePoint limits documentation for updates.

Does the 400-character limit apply only to the file name?

No. It applies to the entire decoded file path, including the file name. Shorten folder names or move the file closer to the library root if the path is too long.

How long can a file or folder name be?

Individual path segments can be up to 255 characters when using the OneDrive sync client. The complete decoded path must also stay within SharePoint Online's 400-character limit.

Which characters should I avoid in SharePoint file names?

Avoid characters such as ", *, :, <, >, ?, /, \, and |. Restrictions on some other characters or names can depend on your organization's configuration.

Can WPS Office increase the SharePoint upload limit?

No. SharePoint controls its own upload and path limits. You can use WPS Office to edit compatible files, then upload them through the SharePoint document library.