Most smartphone users have thousands of images stored in their photo library, ranging from snapshots of whiteboard diagrams and street signs to screenshots of Wi-Fi passwords, receipts, recipes, and tracking numbers. When you need to retrieve a specific receipt or serial number from months ago, scrolling endlessly through your camera roll is frustrating and time-consuming.
Fortunately, modern iOS leverages Apple’s on-device Neural Engine and Live Text Optical Character Recognition (OCR) to index every word, digit, and handwritten note captured inside your photos automatically. Without manual tagging or third-party scanning apps, you can search your entire photo library by text appearing directly within images. In this guide, we walk through how to search photos by text on iPhone, search via Spotlight, and interact with recognised text.
In This Guide
How On-Device Live Text Indexing Works on iPhone
Unlike cloud services that upload your personal images to external servers for optical analysis, Apple executes all OCR processing locally on your device using the Apple Neural Engine. When your iPhone is locked and connected to power (typically overnight during charging), the machine-learning pipeline scans recently captured photos, video frames, and screenshots, indexing recognised words into a private local search database.
This on-device architecture ensures two major advantages:
- Complete Privacy: Your sensitive documents, passports, bank slips, and medical records are never transmitted to external servers for text analysis.
- Offline Functionality: You can search for text across your photo library even when your phone is in Aeroplane Mode or has no mobile data connection.
How to Search for Text Directly in the Photos App
Searching for text appearing within your camera roll is built seamlessly into the Photos app interface:
- Open the Photos app on your iPhone.
- Tap the Search tab (the magnifying glass icon in the bottom-right corner, or the search bar at the top on iOS 18).
- Tap the search bar and type the exact word, phrase, or number you want to find (such as “Wi-Fi”, “Invoice”, “Starbucks”, “Return Label”, or a specific surname).
- Review the search results. Scroll down past categories to the section labelled Text Found in Photos (or look for results marked with a small document icon).
- Tap any photo thumbnail to open the image. The recognised text will often be highlighted subtly to confirm why the photo matched your query.
Searching Photo Text System-Wide Using Spotlight
You do not even need to open the Photos app to search image text. iOS’s system-wide Spotlight search indexes photo OCR data directly:
- From your iPhone Home Screen or Lock Screen, swipe downward from the middle of the display to summon Spotlight Search.
- Type your target keyword or phrase (e.g. “Passport” or “Serial Number”).
- Scroll through the search results until you reach the Photos from Apps or Photos section.
- Spotlight will display thumbnails of images where that exact text was detected inside the image itself.
- Tap the thumbnail to view the photo in full screen immediately.
Interacting with Recognised Text Inside Photos
Once you locate the photo containing your text, Live Text allows you to interact with the captured characters as if they were written in a text document:
- Copy Text: Tap and hold your finger on any word inside the image to display standard text selection handles. Drag the blue pins to highlight the desired passage, then tap Copy to paste it into Notes, Mail, or WhatsApp.
- Direct Dialling: If a photo contains a telephone number, tapping the highlighted digits prompts you to initiate a phone call, send an SMS, or start a FaceTime session.
- Web Browsing: Tapping a website URL detected on a printed flyer or business card opens the link directly in Safari.
- Directions: Tapping a street address initiates turn-by-turn navigation in Apple Maps.
- Quick Actions Icon: In the bottom-right corner of any photo containing text, tap the small Live Text icon (a document square with lines) to highlight all detected text elements across the entire image simultaneously.
Searching Handwritten Notes and Receipts
Apple’s neural models are not limited to printed digital typography; they also recognise legible handwriting. If you photograph handwritten shopping lists, meeting whiteboards, diary entries, or restaurant bills, the OCR engine can index cursive and block print.
For best results with handwriting searches:
- Ensure adequate lighting when photographing handwritten notes to prevent deep shadows across letter strokes.
- Frame the note straight-on rather than at extreme oblique angles.
- Use distinctive keywords when searching (e.g. searching for a rare ingredient or specific project code rather than generic words like “the” or “and”).
Troubleshooting Unindexed or Missing Photo Search Results
If searching for text known to exist inside a recent screenshot or photo returns zero results, consider the following fixes:
- Allow Background Indexing: On a newly set up iPhone, after restoring from an iCloud backup, or after snapping dozens of photos, the OCR indexer requires time to process. Connect your iPhone to Wi-Fi, plug it into its charger, and leave it locked overnight.
- Verify Live Text Is Enabled: Navigate to Settings > General > Language & Region and verify that the toggle for Live Text is switched On.
- Hardware Requirements: Live Text OCR requires an iPhone with an A12 Bionic chip or later (iPhone XS, iPhone XR, and all newer models running iOS 15 or later).