File Size and Sharing Limits

Here are some size and sharing limits for Salesforce Files and other file types.

Required Editions

Available in: Salesforce Classic and Lightning Experience
Available in: Group, Essentials, Professional, Enterprise, Performance, Unlimited, Developer, and Contact Manager Editions
Feature Location Limit
Salesforce Files Files home, in libraries, in Chatter posts and comments, on a record’s Files related list
  • 10 GB in Files Home, libraries, and on a record's Files related list
  • 2 GB when uploaded in Chatter posts and comments
Attachments On a record’s related list in Lightning Experience. (In Lightning Experience, attachments are added as Salesforce files) 10 GB
On a record’s related list in Salesforce Classic 25 MB
Documents Documents tab in Salesforce Classic
  • 5 MB
  • 20 KB for a custom-app logo
Salesforce Knowledge attachments Files attached to articles in Lightning Knowledge 5 MB
Chat Chat
  • 5 MB when transferring a file in a chat
Salesforce CRM content Content and Libraries tabs in Salesforce Classic
  • 10 GB in Files Home, libraries, and on a record’s Files related list
  • 2 GB when uploaded in Chatter posts and comments
  • 2 GB (including headers) when uploaded via Connect REST API
  • 2 GB (including headers) when uploaded via REST API
  • 38 MB when uploaded via SOAP API
  • 10 MB when uploaded via Bulk API
  • 150 MB when uploaded via Bulk API 2.0
  • 10 MB when uploaded via Visualforce
Email messages, including attachments Your Salesforce-integrated email app 25 MB

File Sharing Limits

A file can be shared a maximum of 2000 times. This count includes shares with records, people, and groups. If a file is approaching the maximum number of shares, consider creating a public link or making the file public by posting it to your feed.

View the Shared With list on a file detail page to see who a file is shared with and their level of access.

To download files larger than 2 GB you can use only the REST API and the download servlet.

See Also