Search in Slack

With Search, you can come back to the right messages and files when you need to. Learn the ins and outs of how to search in Slack – one of its core features!

How to search in Slack

Searching in Slack is quite easy:

  1. Click the search box and we'll suggest modifiers to help you narrow your results.


  2. Simply start typing a search term – Slack will show you related channels, members, and search history.
  3. Hit Enter to view your search results.


Search Modifiers

Search modifiers help you to narrow your results to specific channels, members, files, and so on. Browse the list of modifiers below to learn how to hone in on your search targets. 






Searches just the messages and files in a specific channel.

in:@[display name]         

Searches your direct messages with a specific member.


Searches all direct messages that have been sent to you.

from:@[display name]      

Limits your search to messages from a specific person in any channel or direct message.


Searches only messages you've sent, anywhere in Slack.


Searches messages and files you've starred. (You can also click the star icon in the top-right corner to view items you've starred.)


Searches pinned items in public channels and your own DMs.


Limits your search to messages that contain a URL.


Searches messages and files that have received a reaction

before:[date] Searches messages or files before a specified date.
after:[date] Searches messages and files after a specified date.
on:[date], [month], or [year] Searches messages and files on a specific date.
during:[date] Searches messages and files during a certain month or year. 

Tip: Use these flexible keywords to make searching by date even simpler: yesterday, today, week, month, or year. Week, month, and year refer to this week, month, and year.

To enter specific dates, use the following formats:

United States




Note: The following date format is not supported: DD-MM-YYYY

Multiple modifiers

You can combine modifiers to search for something in a few different places. Let's say you're looking for a file, and it was either @dinahsaur or @trex who uploaded it. You could search from:@dinahsaur @trex, and then click the Files tab to see files uploaded by either person.



Search results

Search results are adaptive to help you find what you’re looking for, so searching for a word like "slack" may show results for related terms such as "slacking" or "slacked". 


Each result will include the date and time the message was posted, and in what channel. To get a preview of the original conversation, click Expand. To open a search result in its original channel, click Jump in the right corner.


Files will be presented in a simple list. Once you've located your file, simply hover over it for more options. 

Top Results

Some of your searches may return Top Results. This feature automatically ranks search results based on how relevant and recent a result is, as well as how you work in Slack. Mark your results as useful or not useful to help improve your searches over time.


People & Channels

If your workspace is on a paid plan, some searches will also show you the people and channels most relevant to your keywords. By clicking People & Channels at the top of your search results, you’ll see which teammates most frequently discussed your keywords, and the channels they’ve posted in. 


When you search in Slack, your results will include messages or files that contain all of your keywords. Read Advanced search in Slack to learn more about how and when to narrow your search.

Note: The word "a" is ignored by search, along with these other common terms: an, and, are, as, at, be, but, by, for, if, in, into, is, it, no, not, of, on, or, s, such, t, that, the, their, then, there, these, they, this, to, was, will, with.


Sort and filter search results

Knowing how to filter and sort your search results in Slack can help you find exactly what you're looking for. Below are some tips to help you navigate your results – give them a try!

Tips for sorting and filtering 

  • Toggle between Messages and Files to only browse results of either type.
  • If searching for a file, specify the file type you're looking for.


  • Sort by the most Recent or the most Relevant messages and files.
  • Click Include to choose which options should be included in your results.



Exclude channels from search

If you have some noisy channels on your workspace, you can exclude them from your searches to help keep your search results relevant.

  1. Click your workspace name in the top left to open the menu. Team_Menu.png
  2. Choose Preferences.
  3. Click Search.
  4. Under Don't search these channels, click the box to pick channels to exclude.


Keyboard shortcuts

You can use the following keyboard shortcuts to help you search and navigate more efficiently. 

  Mac Windows
Search message history in the current channel or direct message


Ctrl F

Navigate suggested searches 






Submit your search query 



Advanced search

Now that we've covered the basics, check out Advanced search in Slack for even more tips. 🔍 

Who can use this feature?
  • All members and Guests can use this feature. 
  • Available on free and paid plans.

Related Articles

Recently Viewed Articles