Guides › Clipboard

How to copy text you can't select on Mac

Updated 2 November 2026 · by Vistaar Studio

Short answer: press ⌃ ⇧ ⌘ 4 and drag a box around the text. That puts a picture of it on your clipboard. Open Preview, choose File › New from Clipboard, drag across the words and press ⌘ C. This is Live Text, and it's built into macOS, so it works on anything you can see: error boxes, buttons, installer windows, games, shared screens, locked web pages.

Some text on a Mac looks like ordinary words but is really a picture, or sits in a place that won't let you highlight it: the code in an error message you want to search for, a serial number in an installer, a label on a button, a paragraph on a website that turns off selection. Retyping it by hand is how typos sneak in. Below are the free ways that work, quickest first, and when each one makes sense.

First, try the obvious: it may be selectable after all

More text is selectable than people expect. A few things worth trying for two seconds before anything else:

1. Any window at all: screenshot to the clipboard, copy in Preview

This is the method that never lets you down, because it doesn't care what the app is. If you can see the text, you can copy it.

  1. Make the text as large and sharp as you can (zoom in, or make the window bigger).
  2. Press ⌃ ⇧ ⌘ 4 and drag a box around the text. Holding Control sends the screenshot to the clipboard instead of saving a file to your desktop.
  3. Open Preview and choose File › New from Clipboard.
  4. Drag across the text in the new window and press ⌘ C. If the pointer won't select anything, choose Tools › Text Selection first. You can also Control-click a selection for more options.

Close the Preview window without saving when you're done. If you'd rather keep the screenshot as a file, use ⇧ ⌘ 4 without Control, then open the file in Preview and copy the text the same way. There's more on clipboard screenshots in our guide to copying a screenshot to the clipboard on Mac.

This covers most of the awkward cases:

2. Websites that won't let you select text

Some sites switch off text selection or right-click. Before you screenshot, try these in Safari:

Safari's developer tools can also turn off JavaScript for a page, which is often what blocks selection, but where that switch lives has moved between Safari versions, so we won't promise a menu path. If none of this works, method 1 copies whatever is on screen. Either way, the text still belongs to whoever wrote it, so quote and credit it properly.

3. Scanned PDFs, photos and paused videos

These have their own guides, so we'll keep it short here:

4. Make it one shortcut with the Shortcuts app

If you grab unselectable text several times a day, the Preview step gets old. The Shortcuts app can do it in one go:

  1. Open Shortcuts and click + to make a new shortcut.
  2. Add the Take Screenshot action and set it to let you pick an area. (Some macOS updates have broken this action for a while; if it stops working, method 1 always does.)
  3. Add Extract Text from Image, then Copy to Clipboard.
  4. In the shortcut's details, give it a keyboard shortcut or pin it to the menu bar.

Run it, drag around the text, and paste. If an action isn't where you expect, type its name into the search box in the action list; Apple moves things around a little between macOS versions.

When the copied text comes out wrong

ProblemWhat helps
Nothing highlights in PreviewChoose Tools › Text Selection, and check Live Text is on in Language & Region.
Mixed-up letters (0/O, l/1, rn/m)Zoom in before the screenshot. Bigger, sharper text reads more accurately.
Error codes or serial numbersCompare them with the screen before you use them. One wrong character matters here.
Odd line breaks or spacingPaste as plain text and tidy up. See pasting without formatting.
Text in another script isn't picked upLive Text only reads its supported languages. A dedicated OCR app may cover more.

Skip the Preview step: Desk Buddy

We make this app, so read this part with that in mind. The built-in ways above are enough for the odd error message. Desk Buddy is a clipboard manager, and its screen-reading tool helps if you copy unselectable text often.

Desk Buddy's clipboard history panel on Mac with a search box, All and Pinned tabs, and recent copies including a link from Safari, an image from Preview, a colour from Figma, an email address and a code snippet, each showing the app it came from
Text you grab from the screen lands in the same history as everything else you copy.

Desk Buddy Complete is available now from vistaar.studio: $5 for 1 Mac, $8 for 2 or $10 for 3, paid up front, instant download. A Mac App Store edition is coming soon. Meet Desk Buddy →

FAQ

How do I copy text that I can't select on a Mac?

Press ⌃ ⇧ ⌘ 4, drag around the text, then in Preview choose File › New from Clipboard, select the words and press ⌘ C.

Can I copy the text of an error message on a Mac?

Often, yes. In standard macOS alert boxes you can drag across the message and copy it. If an app's own dialog won't allow that, screenshot it and copy the text in Preview.

How do I copy text from a website that blocks copying?

In Safari, try View › Show Reader, or Develop › Show Page Source once web developer features are on. Otherwise use the screenshot method, and credit the source when you reuse it.

Can I copy the text on a button or menu item?

Not directly. Screenshot the button to the clipboard and copy the label with Live Text in Preview.

Does Live Text work offline?

Yes. It recognises text on your Mac. It works on images from macOS Monterey and on paused video from macOS Ventura, and must be switched on in Language & Region.