Skip to content
ocrogramocrogram

How to copy text from a screenshot on Mac

Live Text, Preview, and automatic OCR. Three ways to get text out of a Mac screenshot without retyping it.

You took a screenshot of a Slack thread, an error dialog, or a PDF page you cannot select. You want the words, not the pixels. On a Mac you have three honest options.

1. Live Text on the screenshot itself

Open the image in Preview, Photos, or Quick Look. Hover the pointer over the words. The cursor turns into a text cursor. Drag, then Cmd+C.

This is built in and accurate. It is also manual. Every screenshot is a new click, drag, and copy. If you do this ten times a day, you will get tired of it. See Apple Live Text limitations for what it will not do.

2. Preview → Tools → Copy Text

In Preview, open the screenshot and choose Tools → Copy Text. That dumps every recognized string onto the clipboard in one shot. Faster than dragging, still one app launch per image.

3. Automatic OCR with ocrogram

ocrogram watches the folder macOS already uses for screenshots. Take a normal Cmd+Shift+3 or Cmd+Shift+4. Apple Vision reads the file on your Mac. The text is on the clipboard by the time you switch windows.

brew install joelpeckham/ocrogram/ocrogram
ocrogram start

Full walkthrough, requirements, and troubleshooting: install ocrogram. Nothing is uploaded. Clipboard-only shortcuts (Cmd+Ctrl+Shift+3 / 4) never write a file, so they never trigger OCR.

Which one should you use?

  • One-off grab from a photo you already have open: Live Text or Preview.
  • You already screenshot things all day and want the text every time: ocrogram.
  • You need a hotkey that OCRs a region without saving a file: look at TextSniper alternatives. ocrogram is not that tool.