Outlook: How to Search for Attachment by File Name


Often you may want to search your Outlook inbox for emails that contain an attachment with a specific file name.

The easiest way to do this is by typing the following formula into the Search bar:

attachment: baseball_data.csv

This particular example will filter your inbox to display any email that contains an attachment with the file name baseball_data.csv.

You can also search for a specific file type by only specifying a file extension:

attachment: .csv

This particular example will filter your inbox to display any email that contains an attachment with a .csv file.

The following example shows how to use these formulas in practice.

Example: How to Search for Attachment by File Name in Outlook

Suppose that you would like to find all emails with attachments that have a file named baseball_data.csv in your current inbox.

To do so, click the Search bar along the top ribbon in Outlook and then type the following:

attachment: baseball_data.csv

The following screenshot shows how to use this formula in practice:

Outlook search for attachment by file name

We can see that this returns one email that has an attachment with the file name baseball_data.csv.

Note that we could also search for all emails that contain a .csv file as an attachment by using the following formula:

attachment: .csv

The following screenshot shows how to use this formula in practice:

Outlook search attachment by file extension

We can see that this returns three emails that all have .csv files as attachments.

Feel free to use similar formulas to search for emails that contain specific files as attachments in your own inbox.

Related Tutorials

The following tutorials explain how to perform other common tasks in Outlook:

Outlook: How to Search Emails by Date Range
Outlook: How to Search for Multiple Keywords in Emails
Outlook: How to Search Unread Messages Only

Leave a Reply