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.
Copy text from a screenshot or photo
- 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.
- Open the Image to Text tool and choose the image. The first run can take longer while the browser loads the reader.
- 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-17Check 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
- Missed small print: crop a copy from the original before choosing it in the tool. The browser tool scales images with a long edge above 3000 pixels. Cropping first can keep small letters from shrinking.
- Words from two columns run together: crop and read each column separately, then paste them in order.
- A table comes out as a paragraph: keep the image beside the text and put the values back into their rows by hand. Plain text does not preserve table structure.
- Handwritten or non-English text comes out wrong: this tool is set up for printed English. For another language, use a reader that supports it.
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.