Use search operators in Google Chat

To filter your Google Chat search results, you can use words or symbols called search operators. To filter your results in detail, you can combine operators.

Search operators you can use

Important: Search operators aren’t supported in Chat in Gmail.

What you can search for Search operator & example
Search for messages from a specific sender.

from:

Examples:

from:me

from:john@xyz.com

Search for messages that have a Google Docs, Sheets, or Slides attachment.

has:doc

has:sheet

has:slide

Search for messages that have a file, link, video, or another attachment type.

has:file

has:url

has:video

has:pdf

has:image

Search for messages that mention a specific person.

at:

Examples:

at:me

at:rashad

at:fatima@xyz.com

Search for an exact word or phrase.

" "

Examples:

"happy birthday"

"anniversary"

Exclude specific messages from search results.

-

Examples:

from:issac -from:jenny

-birthday from:jenny

-has:file from:issac

Search for messages sent within a certain time period.

after:

before:

Examples: 

after:2023/04/16

before:04/18/2023

With “d” (day), “m” (month), and “y” (year), you can search for messages older or newer than a particular time period.

older_than:

newer_than:

Examples:

newer_than:2d

older_than:1y

Specify a timezone for messages sent within a time period.

tz:GMT+hh:mm

tz:GMT-hh:mm

Examples:

after:2023/01/02 before:2023/12/20 tz:GMT-05:30

newer_than:3d older_than:2d tz:GMT+05:00

Narrow results to a direct message or a space.

Narrow results to a direct message

is:dm

is:chat

Narrow results to a space

is:room

Examples:

happy birthday is:dm

anniversary is:room

Related resources

Search
Clear search
Close search
Google apps
Main menu
15226355741853372265