How to copy text from an image on a Mac
Text in a screenshot, a photo of a whiteboard or a scanned PDF looks like text but is really a picture of it. macOS can read it for you with Live Text, which recognises the words on the Mac itself without uploading anything.
Updated
Live Text in Preview, Photos and Quick Look
- Open the image in Preview or Photos, or select it in Finder and press
Spacefor Quick Look. - Move the pointer over the text. It becomes a text cursor once macOS has recognised the words.
- Drag to select the text, then press
⌘C.
Live Text arrived in macOS 12 Monterey. If the pointer never changes, check that Live Text is turned on in System Settings → General → Language & Region.
From a screenshot
- Press
⇧⌘4and drag over the text you need. - Open the screenshot from your desktop in Preview.
- Select the text and copy it.
To skip the file on your desktop, press ⌃⇧⌘4 instead. The screenshot goes straight to the clipboard, and a clipboard manager that reads images can pull the text out for you (see below).
In Safari
Live Text also works on images in web pages. Hover over the words in the image and select them like ordinary text.
Make every image you copy searchable
Live Text works on demand: you open an image and pick the words out. Maclip does it automatically for every image you copy. When a screenshot or photo reaches the clipboard, Maclip runs Apple's Vision text recognition on your Mac and keeps the words with the clip, so searching your history for “invoice” finds the screenshot that contains it. You can copy the recognised text straight from the clip.
- Recognition runs on your Mac. Images are never uploaded.
- Works on screenshots copied with
⌃⇧⌘4. - The recognised text is encrypted with the rest of your history.
Questions
Does Live Text work offline?
Yes. The recognition happens on the Mac itself.
Can I copy text from a scanned PDF?
Yes. Open it in Preview. If the PDF contains real text you can select it as usual; if it is a scan, Live Text recognises the words in the page image the same way it does for a photo.