How to search the text inside screenshots on a Mac
You took a screenshot of a Wi-Fi password, a tracking number or an error message, and now it is one of three hundred files called "Screenshot". Here are three ways to find it by what it says.
1. Ask Spotlight
On recent versions of macOS, Spotlight can match words that appear inside images.
- Press ⌘Space.
- Type a word or two that you remember from the screenshot, such as
tracking number. - Look under the Photos or Images heading in the results.
This is the quickest thing to try. Its limits: Spotlight shows a handful of results, not all of them; it mixes them with apps, web suggestions and everything else; and it only knows about images it has already indexed, which can lag behind on a busy Mac.
2. Use Live Text once you have the image open
If you can narrow the search to a few candidates, Live Text lets you read and copy what is in them.
- Preview: open the screenshot and move the pointer over the words. It turns into a text cursor, and you can select and copy as if it were a document.
- Quick Look: select the file in Finder, press Space, and select text in the preview the same way.
- Photos: if the screenshot is in your Photos library, the search field there also matches text inside pictures.
Live Text is good at pulling the text out. It does not help you find which of many screenshots has it, and it works on one image at a time.
3. Let an app read every image for you
This is what Gander was built for. It reads the text in your screenshots and recent photos with Apple's Vision framework, on your Mac, and keeps it searchable.
- Type what you remember, for example
screenshots with wifi password. - Gander shows what it understood as chips (Screenshots, "wifi", "password") and the matching images as thumbnails.
- Click one to see the text it found in the Inspector, with a Copy button.
Two things it adds over the built-in routes: you see every match as a picture, not five rows in a list, and you can select several images and copy the text from all of them at once with ⇧⌘C.
Nothing is uploaded for this. The reading happens on your Mac, and the results are kept in a small file in your Library folder.
Which one to use
| You want to | Use |
|---|---|
| Find one screenshot quickly, right now | Spotlight |
| Copy text from an image you already have open | Live Text in Preview or Quick Look |
| Look through every screenshot that mentions something | Gander |
| Copy the text out of many images | Gander |
FAQ
Does macOS read the text in screenshots automatically?
Yes. Live Text recognises text in images when you open them, and Spotlight indexes text in images in the background on recent versions of macOS. Neither gives you a page of all your screenshots that you can search through.
Is searching text in images private?
With the built-in tools and with Gander, yes. Recognition runs on your Mac using Apple's Vision framework. No image is sent anywhere.
Why can't Spotlight find my screenshot?
Usually because it has not indexed that file yet, or the text is small, stylised or low in contrast. Try a different word from the image, or open the folder and use Quick Look to check candidates.