Search in Slack

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

How to search in Slack


Start a search

Desktop

iOS

Android

  1. Click the  search field in the top right to open the search window. Or you can use F (Mac) or CtrlF (Windows/Linux) to search from the current channel or conversation you have open.
  2. Type what you’re looking for into the search field and add modifiers if you’d like. Slack will suggest relevant channels, files and recent searches.
  3. Click a suggested option in the list to open it in Slack, or press Enter to view your search results.
  1. Tap the  magnifying glass icon in the top right.
  2. Type your search terms.
  3. Tap Messages or Files. (You can toggle between these options after you’ve run your search too.)
  4. You’ll see suggestions on how to format your search terms and narrow your results. Select any recommendations you want to use.
  5. Tap Search.
  1. Tap the  magnifying glass icon in the top right.
  2. Type your search terms.
  3. Tap Messages or Files. (You can toggle between these options after you’ve run your search too).
  4. You’ll see suggestions on how to format your search terms and narrow your results. Select any recommendations you want to use.
  5. Tap the  magnifying glass icon on your device’s keyboard to run your search.

Tip: start a search from the message field using the /s slash command.


Add search modifiers

Search modifiers help narrow the scope of what you’re looking for in Slack so that you can find information, fast. Use a single modifier, or combine modifiers together. If you’re not sure what modifiers to use, that’s ok — you’ll have a chance to filter your search results later.


Search modifiers

Description  Modifiers Examples
Search for info shared by someone from:@display name from:@sara
Search a specific conversation

in:channel name
in:@display name

in:#team-marketing 
in:@sara
Search a date or time frame*

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

before:4/8/2019
after:4-8-2019
on:4/8/2019
during:april

Search for a specific emoji reaction

has::emoji-code:

has::white_check_mark:
Search for something that's pinned, starred or has a link

has:pin
has:star
has:link

 

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


Filter your search results

To help you search in Slack, filter your results to find exactly what you need. Keep in mind that the desktop app offers more filtering options than our mobile apps.

Desktop

iOS

Android

When you search in Slack, the results are divided into four tabs: messages, files, channels and people. You can choose to sort the results in each tab by relevance or by date. Click the  downward caret icon to toggle between these two options.

Screen_Shot_2019-08-01_at_2.36.42_PM.png

Messages

See all messages in Slack that fit your search criteria.

  • When you hover over a result, click View in channel to jump to the original message, or click the  link icon to copy a link to the message.
  • Use the options in the right column to filter by people, channels and direct messages, date and more.


Files

Search will scan all files you have access to in your workspace and you’ll see results that match either a file’s title or content. Click a file to open it, or hover over it for additional options.

  • Click the  download icon to save it to your desktop.
  • Click the  arrow icon to share it with a channel or person.
  • Click the  More actions icon to view the file in Slack, copy the file's link, star it or open the original.
  • Use the options in the right column to filter people, channels and direct messages, dates and more.


Channels

Search for channels by name, description or topics of conversation.

  • Click a result to open the channel in Slack.
  • Hover over a result to join a channel you’re not a member of, or leave a channel you’ve already joined.
  • Use the options in the right column to filter by channel type and more.


People

Search for people you work with by name, title, profile information and the things they discuss. Slack will search only public channels and your direct messages to find people relevant to your search terms. Keep in mind that Workspace Owners and Admins can customise which profile fields are available as search filters.

  • When you hover over a result, click Message to send someone a direct message, or click View Profile.
  • Use the options in the right column to filter by account type and other profile fields.
  • Toggle between Messages and Files to browse results of either type.
  • To narrow your search, swipe down to select from a list of additional modifiers.
  • Toggle between Messages and Files to browse results of either type.
  • Tap the back button to apply a different search modifier.

Note: when you search in Slack, 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.


Additional search tips

  • Use quotation marks to only see results for a specific word or phrase (e.g., "reports")
  • Add an asterisk to a partial word to see results that begin with those specific letters (e.g., rep* may show results for reply or report)
  • Keep in mind that fuzzy search isn't supported, so misspelled words won't return the correctly spelled alternative.
  • If you click away from your current search on, useG (Mac) or CtrlG (Windows/Linux) on desktop to reopen your results from the last five minutes.

 

Related articles

Recently viewed articles