---
schema_version: "1"
id: 50fdbb779a39aa7a09928d37acb76ed75906ff57b1bbc1747bb621d4c4c9b87f
title: File Size and Sharing Limits
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/experience/264-0-0/collab_files_size_limits.md
canonical_url: https://help.salesforce.com/s/articleView?id=experience.collab_files_size_limits.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 877368cdcab6035d00280c4a46347ae7b1d2604e5c9f6771771949c72bb0df59
description: Here are some size and sharing limits for Salesforce Files and other file types.
products:
  - Experiences
release: "264"
---
# File Size and Sharing Limits

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

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col style="width:100%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Group</strong>, <strong>Essentials</strong>, <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, <strong>Developer</strong>, and <strong>Contact Manager</strong> Editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col style="width:33.003300330033%">
          <col style="width:33.66336633663366%">
          <col style="width:33.33333333333333%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d30477e86">Feature</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d30477e89">Location</th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d30477e92">Limit</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Feature" class="slds-cell-wrap" style="vertical-align:top;" headers="d30477e86 ">Salesforce Files</td>

            <td data-label="Location" class="slds-cell-wrap" style="vertical-align:top;" headers="d30477e89 ">Files home, in libraries, in Chatter posts and comments, on a record’s Files
              related list</td>

            <td data-label="Limit" class="slds-cell-wrap" style="vertical-align:top;" headers="d30477e92 ">
              <ul>
                <li>10 GB in Files Home, libraries, and on a record's Files related list</li>

                <li>2 GB when uploaded in Chatter posts and comments</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Feature" class="slds-cell-wrap" rowspan="2" style="vertical-align:top;" headers="d30477e86 ">Attachments</td>

            <td data-label="Location" class="slds-cell-wrap" style="vertical-align:top;" headers="d30477e89 ">On a record’s related list in Lightning Experience. (In Lightning Experience,
              attachments are added as Salesforce files)</td>

            <td data-label="Limit" class="slds-cell-wrap" style="vertical-align:top;" headers="d30477e92 ">10 GB</td>

          </tr>
          <tr class="">
            <td data-label="Location" class="slds-cell-wrap" style="vertical-align:top;" headers="d30477e89 ">On a record’s related list in Salesforce Classic</td>

            <td data-label="Limit" class="slds-cell-wrap" style="vertical-align:top;" headers="d30477e92 ">25 MB</td>

          </tr>
          <tr class="">
            <td data-label="Feature" class="slds-cell-wrap" style="vertical-align:top;" headers="d30477e86 ">Documents</td>

            <td data-label="Location" class="slds-cell-wrap" style="vertical-align:top;" headers="d30477e89 ">Documents tab in Salesforce Classic</td>

            <td data-label="Limit" class="slds-cell-wrap" style="vertical-align:top;" headers="d30477e92 ">
              <ul>
                <li>5 MB</li>

                <li>20 KB for a custom-app logo</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Feature" class="slds-cell-wrap" style="vertical-align:top;" headers="d30477e86 ">Salesforce Knowledge attachments</td>

            <td data-label="Location" class="slds-cell-wrap" style="vertical-align:top;" headers="d30477e89 ">Files attached to articles in Lightning Knowledge</td>

            <td data-label="Limit" class="slds-cell-wrap" style="vertical-align:top;" headers="d30477e92 ">5 MB </td>

          </tr>
          <tr class="">
            <td data-label="Feature" class="slds-cell-wrap" style="vertical-align:top;" headers="d30477e86 ">Chat</td>

            <td data-label="Location" class="slds-cell-wrap" style="vertical-align:top;" headers="d30477e89 ">Chat</td>

            <td data-label="Limit" class="slds-cell-wrap" style="vertical-align:top;" headers="d30477e92 ">
              <ul>
                <li>5 MB when transferring a file in a chat</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Feature" class="slds-cell-wrap" style="vertical-align:top;" headers="d30477e86 ">Salesforce CRM content</td>

            <td data-label="Location" class="slds-cell-wrap" style="vertical-align:top;" headers="d30477e89 ">Content and Libraries tabs in Salesforce Classic</td>

            <td data-label="Limit" class="slds-cell-wrap" style="vertical-align:top;" headers="d30477e92 ">
              <ul>
                <li>10 GB in Files Home, libraries, and on a record’s Files related list</li>

                <li>2 GB when uploaded in Chatter posts and comments</li>


                <li>2 GB (including headers) when uploaded via Connect REST API</li>

                <li>2 GB (including headers) when uploaded via REST API</li>

                <li>38 MB when uploaded via SOAP API</li>

                <li>10 MB when uploaded via Bulk API</li>

                <li>150 MB when uploaded via Bulk API 2.0</li>

                <li>10 MB when uploaded via Visualforce</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Feature" class="slds-cell-wrap" style="vertical-align:top;" headers="d30477e86 ">Email messages, including attachments</td>

            <td data-label="Location" class="slds-cell-wrap" style="vertical-align:top;" headers="d30477e89 ">Your Salesforce-integrated email app</td>

            <td data-label="Limit" class="slds-cell-wrap" style="vertical-align:top;" headers="d30477e92 ">25 MB</td>

          </tr>
        </tbody>
      </table>

## 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

- [Upload Files](https://help.salesforce.com/s/articleView?id=experience.collab_files_uploading.htm&release=264.0.0&type=5 "Upload files to Files home, feeds, and records.")