Now Google Index Different Types of File

Google Latest documentation update on 2 September 2022

Google can index the content of most types of pages and files. The most common file types Google index.

You can use the filetype: operator in Google Search to limit results to a specific file type. 

Search by  File Type

For example, Filetype:pdf Coffee 

It will search for PDF files with the term "Coffee" in them.