---
schema_version: "1"
id: e71f2432776ea84ad02a9456358480edca60e6ea62ef433cc99d07a0b3824a65
title: Attach a File to a Post or Comment in Chatter
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/experience/264-0-0/collab_attach_file.md
canonical_url: https://help.salesforce.com/s/articleView?id=experience.collab_attach_file.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f21d3d8c2547bdc1d45c2c2df376d61d03e2e8e76475efb4c1205172c95b769d
description: You can attach all file types to a post or comment—slide decks, spreadsheets, PDF files, images, audio files, and video files.
products:
  - Experiences
release: "264"
---
# Attach a File to a Post or Comment in Chatter

You can attach all file types to a post or comment—slide decks, spreadsheets, PDF files, images, audio files, and video files.

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

The maximum file size that you can attach is 2 GB.

When you attach a file, consider these things:

- Only files posted in a private group stay private within that group. Otherwise, when a file is posted to a feed, everyone in your company can see it, even if the file started out as private.
- Attaching a file from a group or library creates a reference to the file. If you update a file in Salesforce CRM Content, the updates are also reflected in the attached file.
- In Lightning Experience, you can attach up to 10 files to a post and one file to a comment.
- When you comment on an update resulting from feed tracking on a file, the **Attach File** option isn’t available.
- You can post a file from an external data source. From the file selector, choose an external source and navigate through the folders to the file you want to post. A new file reference or copy is created in Salesforce for the corresponding external file. If a file reference exists for the file you select, it is reused.

1. For Salesforce Classic: To attach a file to a post, click **File** at the top of your feed. To attach a file to a comment, click **Attach File** below the comment. For Lightning Experience: To attach a file to a post or comment, click ![Attach icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-experience-collaboration-264-0-0-production-enus/1aab5b5e-c990-4b8c-840a-6fb18af49709/collaboration/images/file_attach_icon.png) the Attach icon.
2. Do one of the following:
    - To attach a file that has already been uploaded to Salesforce or that exists in a Files Connect external data source, click **Select a file from Salesforce**.
    - To attach new files from your computer, click **Upload a file from your computer**.
3. Browse for the file you want to attach.
    
    Some file types don’t appear on the Select a File to Attach list. These types include Links, Google docs, documents from the Documents tab, and attachments from the Notes and Attachments related list. For more information about finding files to attach, see [Search for Files to Attach to a Chatter Feed](https://help.salesforce.com/s/articleView?id=experience.collab_attachments_search.htm&release=264.0.0&type=5 "From the file selector, you can see a list of Salesforce files that you own and have access to.").
4. Add a post or comment about the file.
    
    If you don’t enter any text, a generic update is posted with your attachment.
5. Below the text box, select **My Followers** to publish the post on your profile. To post to a group, select **A Group**. Type part of the group’s name in the Search Groups field, and select the group from the dropdown list. You can select only a group where you’re a member.
6. Click **Share**.

#### 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.")
- [Upload a New Version of a File](https://help.salesforce.com/s/articleView?id=experience.collab_files_versioning.htm&release=264.0.0&type=5 "Replace an old version of a file by uploading a new version.")
- [Access and Share Files Connect External Files](https://help.salesforce.com/s/articleView?id=experience.collab_files_connect_share.htm&release=264.0.0&type=5 "After your admin enables Files Connect, you can access files from external sources, like Google Drive and SharePoint, or share them through feeds and Files home.")