As noted by the Google Operating System blog, Gmail recently rolled out the ability to search inside of attachments stored in Gmail. While you have always been able to search for the file name of an attachment in Gmail, the text within attached PDFs, documents, and other files was not previously searchable from your inbox search bar. To access the feature, simply search for “has:attachment” followed by a keyboard or phrase you are trying to find within an attachment.

The good news is that Gmail has finally added support for searching inside attachments. I’ve just tested this feature for .pdf files, .doc documents, .ppt presentations and it works, even though some old attachments may not be indexed yet.