All posts
Guide2026/10/27·By songxiaoman

How to Extract Text from an Image (Windows, Mac, iPhone, Android)

Step-by-step ways to extract text from an image or screenshot on every device, using built-in tools and a free online AI OCR that keeps tables and formulas.

Need the words from a screenshot, a scanned page or a photo of a sign? You don’t have to retype them. Every major operating system now has some built-in text recognition, and online OCR tools can do even more. This guide covers the quickest method on each device and when to use an online tool instead.

Quick answer

  • Any device, best structure: upload or paste the image into ExtractFromIMG and copy the result. Tables and math formulas are kept.
  • Windows 11: Snipping Tool → Text actions, or PowerToys Text Extractor (Win + Shift + T).
  • Mac: Live Text in Preview or Photos — just select the text in the image.
  • iPhone / iPad: Live Text in Photos or the Camera app.
  • Android: Google Lens → Text → Copy.

Extract text from an image online (any device)

An online OCR tool works the same way on Windows, Mac, Linux, iPhone and Android, and doesn’t need an app.

  1. Open the JPG to text converter.
  2. Drag and drop your image, click to upload, or paste a screenshot with Ctrl + V (Cmd + V on Mac). JPG, PNG, WebP, HEIC, GIF and BMP up to 10MB are supported.
  3. Click Extract Text.
  4. Copy the result, or download it as Markdown, Word (.docx) or Excel (.xlsx).

The main advantage over built-in tools is structure. Built-in text recognition usually returns plain lines of text. ExtractFromIMG runs the GLM-OCR document model, which analyzes the layout first, so tables come back as tables and equations come back as LaTeX. That matters for invoices, research papers, lecture slides and textbook pages.

Related tools:

For math specifically, see how to convert an image to a formula.

Extract text from an image on Windows

Snipping Tool (Windows 11). Take a screenshot with Win + Shift + S or open an image in Snipping Tool, then click Text actions. You can copy all text or select part of it. This is the fastest option for screenshots.

PowerToys Text Extractor. If you install Microsoft PowerToys, press Win + Shift + T, drag a box over any text on screen and it is copied to your clipboard.

OneNote. Paste an image into OneNote, right-click it and choose Copy Text from Picture.

These tools are fine for short snippets. For whole pages with tables, use an online OCR tool and export to Word or Excel.

Extract text from an image on Mac

macOS includes Live Text (macOS Monterey and later). Open the image in Preview or Photos, move the pointer over the text and select it like normal text, then press Cmd + C. It also works in Safari on images in web pages.

For a screenshot, take it with Cmd + Shift + 4, open it in Preview, and select the text.

Extract text from an image on iPhone or iPad

On iOS 15 and later, Live Text is built in:

  1. Open the photo in the Photos app.
  2. Tap the Live Text icon (a small box with lines) in the corner, or touch and hold a word.
  3. Drag the handles to select the text and tap Copy.

You can also point the Camera at text and tap the Live Text icon. iPhone photos are saved as HEIC by default; you can upload them directly to ExtractFromIMG, which converts HEIC in your browser.

Extract text from an image on Android

Most Android phones include Google Lens (in the Google app, the camera, or Google Photos):

  1. Open the image in Google Photos and tap Lens.
  2. Choose Text.
  3. Select the text and tap Copy.

Which method should you use?

SituationBest option
A short screenshot snippetBuilt-in tool (Snipping Tool, Live Text, Google Lens)
A full page you want to editExtractFromIMG, then download as .docx
A table you need in a spreadsheetExtractFromIMG, then download as .xlsx
Math or scientific contentExtractFromIMG — formulas come back as LaTeX
Handwritten notesExtractFromIMG
A multi-page scanned documentSplit it into page images, then upload them one by one

Tips for better OCR accuracy

  • Use a sharp image and good, even lighting.
  • Shoot straight on; avoid strong angles and curved pages.
  • Crop away backgrounds and unrelated content.
  • Higher resolution helps with small fonts.
  • Always double-check names, numbers and amounts against the original.