Search JPEG Images Only Within Spotlight on Mac
Have you ever been in a situation where you know you want to find a JPEG file type and you know the name of the file, but you don’t want to search other document types on the Mac? You can use image specific file format search operators on Spotlight in Mac OS to help narrow down these type of searches, in this case we are limiting to JPG files.
This is a great little quick trick to search only JPEG files for a match via Spotlight, here’s how it works:
How to Search for JPEG Images Only with Spotlight in Mac OS
- Hit Command + Spacebar together to open Spotlight as usual
- In the search field, type the following:
With this ‘kind’ operator of ‘jpeg’ (note JPEG is the file type, despite often having a file extension of .jpg the file type is always JPEG), only documents which are JPEG files will be searched and returned to match.
We’ve discussed similar tricks before where you can specify just about any kind of document, from pdf, to doc, txt, etc, learn more about file type format search with Spotlight here. By replacing the “kind” operator with another file format, you can modify the search to look for that file kind instead.
And if you’re interested in learning more about search operators in Mac OS in general, we have a whole post on search operators within Spotlight if you’re curious.
These tricks apply to all versions of Spotlight in every macOS version which has supported the wonderful search engine, whether it’s contained within the Spotlight menu or the newer versions with the floating Spotlight window instead.
Try it out yourself, it’s very useful, especially if you work with a lot of images and jpeg files and want to narrow down your results when searching files on the Mac.
If you have any other helpful tips, tricks, or suggestions for Spotlight searching in Mac OS, share with us in the comments!