How to Extract Text From an Image or Screenshot on Mac
Extract text from an image on Mac with Live Text in Preview, Photos or Quick Look, or copy text and QR codes straight off the screen without saving a file.
GuideUpdated 8 min read
On this page
To extract text from an image or screenshot on a Mac, open it in Preview, drag across the text and press ⌘C (Command-C). This is Live Text, which has been part of macOS since Monterey and also works in Photos and Quick Look. For text that is on your screen right now, a screen OCR tool can read a selected area and put the text on your clipboard in one step, without saving or opening a screenshot.
Your Mac already reads text in images
Live Text recognizes text in images so you can select and copy it like normal text. You don't need to install anything. It works in Preview, Photos, Quick Look and Safari.
Live Text reads images that are already open in an app. To copy text that is only on screen, such as an error dialog, a frame of a video or a slide in a call, you first take a screenshot and then open it. If you do that a few times a week, the extra step doesn't matter. If you do it many times a day, the one-step method further down saves time.
Extract text from an image with Live Text in Preview, Photos and Quick Look
In Preview
- Control-click the image and choose Open With > Preview.
- Move the pointer over the text until it becomes a text cursor.
- Drag across the text you want.
- Press ⌘C, or Control-click the selection and choose Copy.
Preview can also translate selected text, look up words, search the web, call phone numbers, open websites and start emails. Apple covers these in Interact with text in a photo in Preview.
In Quick Look, without opening an app
- In Finder, select the image. New screenshots go to the Desktop unless you've changed that (where screenshots go on a Mac).
- Press Space to open Quick Look.
- Drag across the text and press ⌘C.
In Photos
Open the photo, drag across the text and press ⌘C. This works well for photos of whiteboards, receipts or signs that synced from your iPhone.
If Live Text won't select anything
Open System Settings and search for "Live Text". Make sure the option to select text in images is turned on. If it is and you still can't select text, open the image in Preview: not every app that shows images supports Live Text.
Copy text from the screen without saving a screenshot
The built-in way: screenshot to the clipboard, then Preview
This avoids leaving a file on your Desktop:
- Press ⌃⌘⇧4 (Control-Command-Shift-4) and drag over the text. The screenshot goes to the clipboard instead of a file.
- Open Preview and choose File > New from Clipboard (⌘N).
- Drag across the text in the new window and press ⌘C.
- Close the window without saving.
It needs no extra software, but it's four steps for each piece of text. Other key combinations are in our guide on how to screenshot on a Mac.
In one step with Pixfinch
We make Pixfinch, a menu-bar screenshot tool. Its Capture Text action reads the text in an area you select and copies it to the clipboard. No screenshot file is saved and no window opens.
- Press ⌃⇧2 (Control-Shift-2, the default), or click the Pixfinch icon in the menu bar and choose Capture Text.
- Drag over the text.
- Paste it wherever you need it.
A short confirmation shows "Copied text" or "Copied N lines of text" with a preview. If you use All-In-One (⌃⇧1), drag an area and press T to copy its text instead.


What to know:
- It runs on your Mac. Pixfinch reads text with Apple's Vision framework (accurate mode, automatic language detection). No image or text is uploaded.
- Nothing is stored. Capture Text results aren't added to Pixfinch's History, and your after-capture steps (such as saving to a folder) don't run.
- Line breaks are kept by default. To get everything on one line, turn off Keep line breaks when copying text in Settings > History > Text.
- There's no language picker. The language is detected automatically.
- It needs Screen Recording permission, like any app that captures the screen. See Screen Recording and other permissions.
You can change the shortcut in Settings > Shortcuts. Pixfinch doesn't replace macOS's own ⌘⇧3 and ⌘⇧4 shortcuts. Full details are in Copy text, QR codes and translate from the screen.
Read QR codes and barcodes on screen
Capture Text reads QR codes and barcodes in the same pass as the text, so the steps are the same: press ⌃⇧2 and drag over the code.
- The code's contents are copied first (one code per line), then a blank line, then any text in the area.
- For a web link, the confirmation shows something like "QR: https://…" with an Open button labeled with the site's name. Nothing opens unless you click it, and the button appears only for http and https links.
- Supported types include QR, Micro QR, Aztec, Data Matrix, EAN-13, EAN-8, UPC-A and UPC-E, plus others macOS can read.
This helps with codes in slides, PDFs or video calls, where you'd otherwise hold your phone up to the screen. If you'd rather not install anything, the iPhone Camera app reads QR codes, including ones shown on a Mac display.
Copy text from an image file you already have
For a single file, Live Text in Preview or Quick Look is usually enough. These options help when you want to pick specific lines, keep private details out, or script it.
Open the image in Pixfinch and select lines
- Choose Open Image… from the Pixfinch menu-bar menu, drop the file on the Pixfinch menu-bar icon, or Control-click it in Finder and choose Open With > Pixfinch. For an image on the clipboard, choose Annotate Clipboard Image.
- In the editor, click Text in the action bar (⌘T). Boxes appear over each recognized line.
- Click a line to copy it, or drag across several lines. Copy All (⇧⌘C) copies everything, and the Join lines toggle joins the lines together.
- Click Done to leave Text mode.
Text mode reads QR codes too. Lines that are mostly under a redaction or outside your crop are hidden and never copied, which helps when the image contains private details.
Pixfinch opens PNG, JPEG, HEIC/HEIF, TIFF, WebP, GIF and BMP files. Your original file is never changed: edits are saved as new files. Opened images are added to Pixfinch's History as "Opened".
Read a file's text from Terminal or a script
Pixfinch's URL scheme can read the text in an image file and copy it to the clipboard:
open "pixfinch://ocr?file=~/Desktop/receipt.png"This asks Pixfinch to read the text in receipt.png and copy it. It changes no settings, so there's nothing to undo. The path can be absolute, start with ~, or be a file:// URL, and it must end in an image extension. Pixfinch needs an active trial or license for this to work. You can use the same link in a Shortcut or script. See Automate Pixfinch.
From a screenshot you took earlier with Pixfinch
Pixfinch's History reads the text in each capture on your Mac, so you can search for a word you remember and choose Copy Text on the result. History keeps your last 50 captures by default. Anything that looks like a secret, such as an API key or card number, is replaced with "•••" before the text is stored. To get the full text, choose Read Text Again & Copy, which re-reads the image without storing anything.
Which method to use
| Method | Steps | Creates a file | Best for |
|---|---|---|---|
| Live Text in Preview, Photos or Quick Look | Open image, drag, ⌘C | Uses the existing file | An image you already have |
| ⌃⌘⇧4, then Preview > New from Clipboard | 4 | No | Occasional on-screen text, no install |
| Pixfinch Capture Text (⌃⇧2) | 2 | No | Frequent on-screen text and QR codes |
| Pixfinch Text mode (⌘T in the editor) | 3 | No; the image is added to History | Picking specific lines, skipping redacted parts, QR codes in files |
pixfinch://ocr?file=… | 1 command | No | Scripts and Shortcuts |
Use Live Text if you copy text from images now and then. Use a screen OCR tool if you're copying error messages, text from videos and slides, or QR codes several times a day. Pixfinch is part of MacSuite, and you can try it free for 7 days. Other screenshot apps with text reading are compared in Best Screenshot Apps for Mac.
Why text comes out wrong, and how to fix it
Nothing is found, or letters are garbled
Small, blurry or low-contrast text is hard for any OCR. Zoom in in the source app before you select, and include a little margin around the text. In Pixfinch, "No text found" means it couldn't read anything in the area: try a larger or sharper selection.
Code, file names or serial numbers have small errors
Capture Text uses language correction, which helps with normal sentences but can "fix" strings that aren't words. Check look-alike characters (l, 1 and I; O and 0) before you paste a key, command or serial number somewhere it matters.
Line breaks are in the wrong places
OCR copies text line by line as it appears, so a paragraph from a narrow column arrives as many short lines. In Pixfinch, turn off Keep line breaks when copying text, or use Join lines in the editor's Text mode.
Live Text won't let you select text
Check the Live Text setting (search System Settings for "Live Text"), then open the image in Preview. Some apps display images without Live Text support.
Pixfinch doesn't capture anything
- No Screen Recording permission. Click Open System Settings in Pixfinch's permission window, turn on Pixfinch, then click Quit & Reopen. macOS usually applies the change only after the app restarts.
- A recording or scrolling capture is running. Other captures are blocked until it ends: you'll hear a beep and see "Finish the recording first" or "Finish the scrolling capture first". Stop it, then try again.
- The trial has ended. Capture Text opens the license window instead of capturing.
For other errors, see Troubleshooting Pixfinch.
Copied text shows "•••"
That's History's masked copy of a secret. Use Read Text Again & Copy to read the full text from the image.
FAQ
Is my text sent anywhere?
Not with Pixfinch. Text reading, QR decoding and redaction run on your Mac, and Pixfinch never uploads images or text.
Can I translate text from a screenshot?
In Preview, select the text with Live Text and use the translate option. On macOS 15 or later, Pixfinch's Capture & Translate… (menu bar > More) reads a screen area and translates it on your Mac. macOS may download a language from Apple the first time.
Can I copy text from a video?
Pause the video, then use Capture Text (⌃⇧2) on the frame, or take a screenshot and use Live Text in Preview.