How to extract text from an image

If you can see words in a screenshot but cannot select them, OCR can turn them into text you can paste. Here is how to read just the part you need and check the result before you use it.

Updated November 17, 2026

Copy text from a screenshot or photo

  1. Keep the original image. If you need only one paragraph or box, crop a copy around it. Leave a small border so the first and last letters are intact.
  2. Open the Image to Text tool and choose the image. The first run can take longer while the browser loads the reader.
  3. Compare the result with the image. Correct any errors, then copy the text or download a plain text file.

Use the original screenshot if you have it. A screenshot copied from a chat may have been shrunk or compressed. When photographing a page, hold the camera parallel to the paper and move it until no shadow crosses the text.

Worked example: three fields near the edge of a scan

We made a 3600 × 2400 pixel practice image with three lines in the bottom right. We compared a copy resized to 3000 × 2000 pixels with a 410 × 140 pixel crop from the original. Both returned the exact text below in a desktop Tesseract test using English data. This was a desktop test, so it does not measure the browser tool's accuracy. Cropping here reduced the area sent to the reader while preserving the original size of the letters.

Reference: BX-5071
Amount: $18.40
Date: 2026-11-17

Check the reference one character at a time. A reader can swap zero and the letter O, or one and a capital I. For an amount, check the decimal point as well as every digit. If you cannot distinguish two characters in the original, ask for a clearer copy before using the extracted value.

What to try when the result is incomplete

If the source is a PDF

First try selecting the text in your PDF viewer. If you can copy it, you probably do not need OCR. For a scan with no selectable text, use PDF to PNG, then run the relevant page images through Image to Text. The result is editable text. It does not add a searchable text layer to the original PDF.

Tools for this task