How do I search the text in my screenshots, PDFs and photos?
Search inside screenshots, PDFs and photos on a Mac
Updated Tested on macOS 26.6.2. Not yet tested on macOS 27.
Yes, mostly with Spotlight. Press ⌘Space and type a word you remember. It finds PDFs by their text and, since macOS Ventura, screenshots and photos by the text Live Text reads, once they’re indexed. A scanned PDF with no text layer is the usual gap. The Photos app also finds photos in its library by what they show.
You saved it so you wouldn’t have to remember the details: a screenshot of an order, a PDF of a lease, a photo of a sign. Now you remember one word from it, or what it looked like, and the file is called “Screenshot” with a date. This guide covers every way macOS gives you to search inside screenshots, PDFs and photos, what each one misses, then the apps that go further.
The findings below that carry a date come from a folder of made-up files on a Mac running macOS 26.6.2, on 4 November 2026. Spotlight indexing was off on that Mac and we left it off, so for Spotlight they show what its importers store for a file, not what ⌘Space returns. The rest comes from Apple’s guides and the sources listed at the end. DejaShot is one of the apps, and it’s ours, so weigh that section accordingly.
Can you search inside screenshots, PDFs and photos on a Mac?
Yes, with limits, and the three kinds of file behave differently.
PDFs with a text layer are the easy case. A PDF made from a document or a web page holds its words as text, and Spotlight’s PDF importer reads them. We ran that importer on a made-up rental agreement on 4 November 2026, and it handed Spotlight the full text of the page.
Scanned PDFs are the gap. A scan is a picture of a page, with no text layer unless something added one. When we ran the same importer on a made-up scanned receipt, the text it stored was empty. That matches what Howard Oakley of The Eclectic Light Company found in January 2024, on macOS Sonoma: macOS couldn’t index the text in a PDF made from scans, though Live Text could still read it.
Screenshots and photos depend on Live Text, which recognises text in images. Spotlight has used it since macOS 13 Ventura, and Apple’s iMac guide for macOS Tahoe 26 says: “With Live Text, Spotlight can search for text in images (available in select languages).” The text doesn’t arrive at once. When we ran Spotlight’s image importer on a real macOS screenshot, it stored no text, only empty slots named for text recognition and scene labels, for a later pass to fill. Oakley reports that the text can take hours or days to reach the index.
Photos with no text can’t be found by their words, because there are none. When we ran Live Text on two photos of animals, it found no text at all, while it read a shop sign in a third photo word for word. Finding a photo by what it shows is a different job. The Photos app does it for its own library, and Oakley found in August 2025 that Spotlight also matches objects that Visual Look Up has recognised in an image, such as cattle, once a later pass has analysed the image.
Three more limits apply to every built-in search:
- Languages. Apple’s feature availability page lists the languages Live Text reads: English, Chinese, Cantonese, French, German, Italian and Brazilian Portuguese, some only in certain regions.
- Indexing. Spotlight only searches what it has already looked at, so a new file may not be searchable yet.
- What macOS records. Spotlight knows a file is a screenshot, not which app you were in, as the section on apps explains.
How do you search with Spotlight?
The quickest way needs no setup, and it covers all three kinds of file at once.
- Press ⌘Space to open Spotlight.
- Type a word you remember from the file. A distinctive one works best: an order number, a name, an error code.
- On macOS Tahoe 26, press ⌘2 to search only files, or click a category below the search field. Apple’s own example of those categories includes Screenshot.
- Put
kind:imagesorkind:pdfin front of your word, as inkind:pdf invoice, to keep to one kind of file. - Select a result and hold ⌘. Apple says the file’s location appears at the bottom of the preview.
If it doesn’t show up, the Terminal gives you a more precise way to ask.
How do you search with mdfind and mdls in the Terminal?
Spotlight stores attributes for every file it has looked at, and mdfind queries them. Screenshots taken with the macOS shortcuts carry one called kMDItemIsScreenCapture. It isn’t in Apple’s published reference, but mdimport -A on macOS 26.6.2 lists it. On 4 November 2026 we read the attributes on a real screenshot and on a PNG only named “Screenshot …”. macOS had written the flag on the real one, and Spotlight’s importer read it as 1, while the renamed PNG carried nothing. The flag marks how a file was made, not what it’s called.
Terminal
mdfind "kMDItemIsScreenCapture == 1"
That lists every file Spotlight has marked as a screenshot. These count them, and keep to one folder:
Terminal
mdfind -count "kMDItemIsScreenCapture == 1"
mdfind -onlyin ~/Desktop "kMDItemIsScreenCapture == 1"
Apple’s query syntax lets you combine conditions with &&, use * as a wildcard, and add [cd] to ignore case and accents. Oakley says the text Live Text finds lands in kMDItemTextContent, the attribute that also holds a PDF’s text. So this asks for screenshots that contain “invoice”, and the next asks for any file, the way the Spotlight window does:
Terminal
mdfind 'kMDItemIsScreenCapture == 1 && kMDItemTextContent ==[cd] "*invoice*"'
mdfind -onlyin ~/Documents -interpret invoice
mdls prints one file’s attributes, which tells you whether Spotlight has its text or its flag:
Terminal
mdls -name kMDItemIsScreenCapture -name kMDItemTextContent ~/Desktop/your-file.png
None of these change a setting or touch a file. Before you trust an empty answer, know this. We ran every query above against the made-up folder, and each was accepted without an error, but with the folder unindexed each one returned nothing, with no warning. And mdls printed (null) for the flag on the real screenshot, which carries it, because the file wasn’t indexed. So run mdutil -s on the folder you searched and check that indexing is enabled.
How do you search in the Finder?
The Finder’s search uses the same index as Spotlight, so it finds the same words in text PDFs and screenshots, with the same gaps. It’s most useful for a list you can sort. Guides that rank for this, such as AddictiveTips in June 2026, describe searching for the screenshot flag:
- Open a Finder window and press ⌘F.
- Choose This Mac, or the folder you want.
- Type
kMDItemIsScreenCapture:1into the search field and press Return. - Switch to List view and sort by date.
- To keep the search, click Save. Apple describes it as a Smart Folder that updates itself.
This lists screenshots, not their words. One from another capture app may not carry the flag, so a Smart Folder with Kind is Image and a date range catches those. Finding an old screenshot on a Mac walks through it.
Can the Photos app search your photos and screenshots?
Only the ones in your Photos library, but it finds a photo by what it shows as well as by its words. Apple’s Photos guide for macOS Tahoe 26 gives searches such as “beach” or “birthday cake”, and says you can “search for text within photos to quickly find receipts, documents, and more”. Press ⌘F to reach the search field. Apple Intelligence, a beta in certain languages, adds search in natural language, and Screenshots is one of the media types you can browse.
The catch is where things are kept. Apple says Mac screenshots are saved to the Desktop by default, so one taken on your Mac isn’t in Photos unless you import it, and PDFs aren’t kept there at all. Where screenshots go on a Mac explains how to change their folder.
How do you search inside one file you already have?
A PDF. Open it in Preview and type in the toolbar’s search field. Apple’s Preview guide says it finds the exact phrase you type and can sort matches by page. That search reads the text layer. We ran a find with PDFKit, the framework Preview is built on, and it found the key code once in the made-up text PDF. In the scanned receipt it found nothing, yet Live Text read every word from the page image. So a find in a scanned PDF can come back empty while the word is right there on the page.
A screenshot or a photo. Preview’s Live Text lets you select the words in an image. If nothing highlights, choose Tools › Text Selection, then Control-click and choose Copy Text. Apple’s guide covers copying, looking up and translating, not searching, so paste a long text into TextEdit and press ⌘F there. The reading is good: we ran Apple’s Live Text engine on three made-up screenshots, one with light text on dark, and it read every line exactly. There’s more in copying text from a screenshot on a Mac.
Can Shortcuts search the text in screenshots and photos?
Partly. Its Extract Text from Image action reads the text in a picture. Matthew Cassinelli’s guide copies one line from your newest screenshot with Get Latest Screenshots, Extract Text from Image, Choose from List and Copy to Clipboard. To search a folder, you build a loop: Get Contents of Folder, Repeat with Each, Extract Text from Image, and an If that checks for your word. It reads every image again on each run, so it slows as the folder grows. On 4 November 2026 we looked up those action names in macOS 26.6.2’s own Shortcuts files: all of them exist, the screenshot one with a plural name, and the shortcuts command only runs a shortcut already made in the app.
Why doesn’t Spotlight find every file?
It hasn’t been indexed yet. Apple says a full pass “can take hours or even days”, after setup or a software update, and goes faster while the Mac is idle and plugged in.
Its folder is excluded. In System Settings › Spotlight, Search Privacy lists the folders Spotlight skips, and nothing in them shows up in Spotlight, the Finder or mdfind.
macOS can’t read the text. A scan with no text layer, a language Live Text doesn’t list, or very small or styled type.
It varies by Mac. In August 2025, Oakley found that Spotlight on an older iMac Pro matched words Live Text had read in images, while an Apple silicon Mac on the same macOS 15 found none.
The longer guide is what to do when Spotlight isn’t finding your screenshots.
Can you search by the app a screenshot came from?
Not with anything built into macOS. A screenshot’s name holds the date and time. The attributes macOS wrote on our real screenshot were the flag, the kind of capture and its place on the screen, with nothing naming the app. So “the pricing page I screenshotted in Figma” can’t be asked of Spotlight unless Figma is visible in the image. Two of the apps below note the app for you.
Which apps search screenshots, PDFs and photos?
These four search the text in screenshots, each in its own way. Every claim and price below comes from the app’s own site or manual, checked on 4 November 2026 (ScreenVault’s on 6 November 2026).
Raycast. A launcher whose Search Screenshots command reads screenshots with on-device OCR and searches them with text:, name: and date: filters. It looks in the system screenshot location, CleanShot X’s folder and the Desktop, and you can add folders. Its Include All Media option indexes every image and video in them, photos too. The manual doesn’t mention PDFs. It’s on Raycast’s free plan, which its pricing page says covers all built-in extensions. See the Raycast comparison.
ScreenVault. A Mac app from Evolute that searches screenshots by their text and by meaning, and lists apps, websites, dates and tags among what it searches. It says your screenshots and its index are stored on your Mac, and it can mask sensitive text on an exported copy. Its site doesn’t name PDFs. It needs macOS 14 or later and, on 6 November 2026, costs $19.99 once, after a 30-day trial. See ScreenVault and DigUp compared with DejaShot.
ScreenFloat. A capture tool that keeps your shots in a Shots Browser. Its site says you can find them by “their contents, like lines of text”, and index them for Spotlight. Its search covers the shots in its library. It’s $17.99 once, also €19.99 and £17.99, with a 28-day trial, and needs macOS 12.3 or later. See ScreenFloat and other capture tools compared with DejaShot.
CleanShot X. A capture and annotation tool. Its features page says CleanShot Cloud lets you “find captures by transcripts, screenshot content and tags”, for captures you upload. It costs $35 once with a year of updates and 1 GB of Cloud storage, or $10 per user a month, billed annually, with unlimited storage. It has no trial of its own, and a 30-day money-back guarantee. See CleanShot X and other capture tools compared with DejaShot.
What does DejaShot do differently?
DejaShot reads the text in every screenshot, photo and PDF, scanned pages too, in the folders you choose, along with documents. It reads a scanned page from its image, so a scanned receipt is searchable by its words, up to the first 100 pages of each PDF. A new screenshot is searchable about a second after you take it.
It finds photos by what they show. Every image gets scene words, such as “beach” or “receipt”, on every Mac. With the optional search model, a one-time download, an Apple silicon Mac also matches a description against the image itself, so “a dog asleep on a sofa” can find the photo. Intel Macs use the scene words. Text recognition reads English by default, with more languages in Settings.
For each new screenshot, it notes the app in front, and the window title if you allow it, so app:figma finds one even if Figma isn’t in it. Press ⇧⌘Space from any app and type what you remember. A keyword search across 20,000 saved items takes under a quarter of a second. Measured in DejaShot’s test suite. Type a question and it shows you the file, never makes up an answer.
Everything stays on your Mac, with no account. It needs macOS 14 or later, on Apple silicon or Intel, and you pay once. The details are on the pricing page.
Which way should you use?
Each is good at something different, and they work together. DejaShot doesn’t replace Spotlight.
| Way | Screenshots | PDFs | Photos | Cost |
|---|---|---|---|---|
| Spotlight and Live Text | Text, in select languages, once indexed | Text PDFs. Scanned pages may not be | Text and recognised objects, once indexed | Built in |
Finder with kMDItemIsScreenCapture | Lists them by date | The same index as Spotlight | The same index as Spotlight | Built in |
| Photos | Text, if they’re in Photos | Not kept there | Text, and what a photo shows | Built in |
| Shortcuts | Text, one image or a loop you build | Not in this route | Text, the same way | Built in |
| Raycast’s Search Screenshots | Text, with a text: filter | Not in its manual | With Include All Media | Free |
| ScreenVault | Text, and by meaning | Not named on its site | Not named on its site | $19.99 once, after a 30-day trial |
| ScreenFloat | Text, for shots in its library | Not on its site | Shots in its library | $17.99 once |
| CleanShot X | Text, for captures you upload to Cloud | Not on its features page | Not on its features page | From $35 |
| DejaShot | Text, and the app for new ones | Text, scanned pages too | Text, and what a photo shows | One-time, see pricing |
The short version. For a word you remember now and then, Spotlight. To see every screenshot by date, the Finder. For your photo library, Photos. If you already use Raycast, its text: filter. If you search often, keep scanned PDFs, or remember what a photo showed or the app a screenshot came from, DejaShot. There’s a fuller side-by-side in Spotlight and Live Text compared with DejaShot.
Frequently asked questions
Can Spotlight search the text in a scanned PDF?
Usually not. Spotlight’s PDF importer reads a PDF’s text layer, and a scan has none unless something added one. In January 2024, on macOS Sonoma, The Eclectic Light Company found macOS couldn’t index the text in a PDF made from scans. Live Text can still read the page when you open it.
Can a Mac find a photo by what it shows?
Yes. The Photos app does it for pictures in your Photos library. Type what is in the picture, such as beach or birthday cake. In August 2025 The Eclectic Light Company found that Spotlight also matches objects recognised in an image, such as cattle, though that can take hours or days to reach its index.
How do I list every screenshot on my Mac?
In the Finder, press Command-F, choose This Mac and type kMDItemIsScreenCapture:1. It lists the files macOS marked as screenshots, which you can sort by date. Screenshots from other capture apps may not carry that mark, so a Smart Folder with Kind is Image and a date range catches the rest.
Where should you go next?
If timestamped names are the problem, see renaming screenshots automatically. If you only remember roughly when, finding an old screenshot helps. Before you share one, finding screenshots that show passwords or card numbers shows which files to check, and redacting a screenshot or PDF on a Mac shows how to black out a number so it’s really gone.
Keep reading
- How to find an old screenshot on a Mac (even deleted)
- Spotlight not finding screenshots? Fix it in order
- Copy text from a screenshot on a Mac in 3 steps
- Rename screenshots automatically on a Mac: 4 ways
- Where do screenshots go on a Mac? How to change it
- Spotlight and Live Text vs DejaShot for screenshots