Search in Slack

Accessing the right information in Slack is key to working faster and smarter. Search your team’s conversation history in Slack to find the relevant messages, files, channels, and people you need to get work done.


Start a search

Desktop app

Browser

iOS

Android

  1. Click the search field at the top of Slack or type G (Mac) or CtrlG (Windows/Linux).
  2. If you’d like, narrow your results with a filter or search modifier. Then type what you’re looking for into the search field.
  3. Select a suggested search result from the list, or press Enter to view all results.

Tip: To search in a specific conversation, type F (Mac) or CtrlF (Windows/Linux) from any channel or direct message (DM).

  1. Click the search field at the top of Slack.
  2. If you’d like, select a filter to narrow your results. Then type what you’re looking for into the search field.
  3. Select a suggested search result from the list, or press Enter to view all results.
  1. Tap the  Search tab at the bottom of your screen.
  2. Tap the search field and type your search terms. You can also include search modifiers to help filter your results. 
  3. Tap Search on your device's keyboard.
  1. Tap the  Search tab at the bottom of your screen.
  2. Tap the search field and type your search terms. You can also include search modifiers to help filter your results. 
  3. Tap the  magnifying glass on your device's keyboard.


Filter your search results

To help you find exactly what you need, you can narrow your search results with filters and search modifiers.

Note: Keep in mind that you’ll see more filtering options when you use Slack on your desktop than you will on the mobile apps.

Use filters

Desktop

iOS

Android

Use the filters below the search field to show only one type of result: 

Messages

See all messages in Slack that fit your search criteria. You can filter results by who sent a message, the conversation it was sent to, or the date it was sent, and sort by relevance or recency. Click More filters to see messages with files, shortcuts, or links, or messages that are pinned or saved.


Files

Search results for files will include matches in file titles and content. If you’d like, filter results by who shared a file, the conversation where a file was shared, or date, and sort results by relevance or recency. Click More filters to view only saved files.

Note: If an image of a file, like a PDF, is uploaded to Slack, the file content cannot be indexed and it will not show up in file search results.

Channels

Search for channels by name, description, or subject (like “marketing” or “redesign project”). Click the  Most relevant dropdown menu to sort results by relevance, date created, member count, or alphabetically. You can also filter results by organization (if you use Slack Connect to work with external partners) or channel type.


People

Find people you work with by searching for their name, title, profile information, or email address. Sort people results by relevance or alphabetically, or filter by organization or account type (like owners, admins, members, or guests).

Tip: If you’re a member of an Enterprise Grid organization, you can also filter search results by workspace.

After performing a search, you can filter your results:

  • Tap Messages or Files to narrow your results.
  • Tap  Newest in the top right, then tap Most relevant, Most recent, or Oldest messages.

After performing a search, you can filter your results:

  • Tap Messages or Files to narrow your results.
  • Tap  Newest in the top right, then tap Most relevant, Newest messages, or Oldest messages.


Add search modifiers

Search modifiers help you narrow the scope of what you’re looking for in Slack. Use a single modifier or combine multiple modifiers to find information more quickly:

Description  Modifiers Examples
Search for info shared by someone from:@display name from:@sara
Search a specific conversation, custom sidebar section, or workspace*

in:channel name

in:section name
in:workspace name

in:#team-marketing 

in:Marketing Projects
in:Sales

Search for DMs sent to you to:@your display name to:@anna
Search a date or time frame

before:date
after:date
on:date
during:month or year

before:4/12/2020
after:4/12/2020
on:4/12/2020
during:april

Search for a specific emoji reaction

has::emoji-code:

has::check_mark:
Search for something that's pinned, saved, or has a link

has:pin
is:saved
has:link

 

*Workspaces will only display if you’re a member of an Enterprise Grid organization.

Tip: To search for specific dates, use MM/DD/YYYY or MM-DD-YYYY formatting in the United States, or use YYYY/MM/DD or YYYY-MM-DD if you’re outside the U.S. You can also use these relative time frames: yesterday, today, week, month, or year.


Set search preferences

You can set your search preferences to exclude certain channels from results. If you use Slack in a browser, you can also choose whether the F (Mac) or CtrlF (Windows/Linux) keyboard shortcut opens Slack search.

Desktop app

Browser

Exclude certain channels

  1. From your desktop, click your profile picture in the top right.
  2. Select Preferences from the menu.
  3. Choose Advanced.
  4. Below Search options, add any channels you'd like to exclude from your search results.   

Exclude certain channels

  1. From your desktop, click your profile picture in the top right.
  2. Select Preferences from the menu.
  3. Choose Advanced.
  4. Below Search options, add any channels you'd like to exclude from your search results.   


Set your keyboard shortcut preference

In many browsers, pressing F (Mac) or CtrlF (Windows/Linux) searches in the tab or window you have open. If you'd like this shortcut to open Slack search instead, follow the steps below: 

  1. From your desktop, click your profile picture in the top right.
  2. Select Preferences from the menu.
  3. Choose Advanced.
  4. Below Search options, check the box next to Cmd F or Ctrl F starts a Slack search.


Additional search tips

  • After searching, you’ll see a list of results that match your search terms and any close matches. For example, if you search for report, you may get results that include reports or reporting.
  • Use quotation marks to only see results for a specific word or phrase, ex. “reports.”
  • Add an asterisk to a partial word with at least three characters to see results that begin with those specific letters, ex. rep* may show results for reply or report.
  • Add a dash in front of a specific word to see search results without that word, ex. design and budget -report will show results for design and budget that do not contain the word report.
  • Slack may attempt to find fuzzy searches, like fixing misspelled words. Any fuzzy search results will show up in a Related Results section.