About this image to text
Image to Text turns a picture of printed words into text you can select, edit, search and copy. It is useful for screenshots of error messages, photos of book pages, scanned letters, receipts, slides and signs. The engine is Tesseract, a well-known open-source optical character recognition library maintained since the 1980s and now distributed for browsers as tesseract.js under the Apache 2.0 licence.
Everything happens on your device. When you press Extract text, the page loads the recognition engine and the language file you selected from this same website, then reads the pixels of your image inside a background worker. Nothing is sent to a server and the recognition code never contacts a third-party service, so confidential documents such as contracts, invoices and identity papers stay private. The engine and the data for the selected language are downloaded once, a few megabytes in total, and your browser keeps them for later visits.
Accuracy depends mostly on the picture. Clean, horizontal, evenly lit text of about 20 pixels or more in height gives the best result. Low resolution, blur, shadows, skewed photos, decorative fonts, handwriting and text on busy backgrounds lower it. If the result is poor, crop to the text area, raise the contrast, straighten the page and try again. The summary line reports the number of words and the average confidence reported by the engine, which is a hint rather than a guarantee, so always proofread numbers, names and addresses before using them.
Four languages are installed: English, French, German and Spanish, each with its accents and special letters. Pick the language of the text before you start, because the engine uses a dictionary and character model for that language. Mixed-language pages are read best in the main language of the page. Scripts such as Arabic, Chinese, Japanese or Cyrillic are not included here. The extracted text appears in an editable box with a copy button and a plain-text download.
Which controls should I check first?
The Image to Text form labels its controls as Image with text; Language of the text; Recognized text. Its selectable values include English; French; German; Spanish. Use those labels to keep the source and settings separate. A sample argument that selects a mode is not additional source text. Choose the setting matching your intended operation before copying a result, and change it explicitly when comparing another mode. The labels describe what this form accepts; the worked examples below demonstrate only the stated supplied values.
How should I interpret this specific operation?
Recognition needs a chosen language model as well as readable pixels. Crop to the relevant text and keep letters large enough to distinguish, then compare the extracted text with the image. The helper sample below only cleans recognized text and summarizes a supplied confidence value. It is not evidence that the recognition engine read a real document correctly. Confidence is an estimate from recognition, not verification of names, numbers or dates.
Worked helper values
These values come from the reproducible calculation examples supplied with this tool. Each row identifies the complete supplied arguments and the returned value. A visible ↵ denotes a line break and ⇥ denotes a tab in text examples. Settings appear alongside source data so that a different mode is not mistaken for an identical input. These are helper calculations, not observations of a live device, fetched target, image decoder, browser preview or downloaded file. Use the stated method above to relate the returned fields to the actual operation.
| Supplied values | Calculated return value |
|---|---|
| Hello ␍ ↵ ␍ ↵ ␍ ↵ ␍ ↵ World ↵ | Hello ↵ ↵ World |
| one two three; 91.4 | 3 words recognized, average confidence 91%. |
| {"size": 10, "type": "image/png"} | true |
Which information is present in the source pixels?
Recognition works from the actual image rather than from its filename. Keep the intended text or symbol fully visible, including quiet borders around machine-readable codes. Blurred edges, glare, compression artifacts and a small subject inside a large picture can reduce the information available to the decoder. Crop to a relevant area while retaining the boundaries the format needs. Enlargement can make pixels easier to inspect but cannot recover detail that the source never captured. Check the actual image before changing recognition settings, because a correct setting cannot repair missing letters or clipped bars.
Is my image uploaded anywhere?
No. The recognition engine, its WebAssembly core and the language data are files of this website, and the work is done by your browser. No picture and no extracted text is sent to a server.
Which languages and file types work?
English, French, German and Spanish, with PNG, JPG, WebP, BMP and GIF images up to 20 MB. Other alphabets and writing systems are not installed.
Why is the first run slower?
The first time you use a language, your browser downloads the engine and the data file, between about 4 and 9 MB. After that they are cached and recognition starts at once.
Why does the text contain mistakes?
OCR guesses each character from pixels. Blurry, small, skewed or low-contrast text produces errors. Crop closely, increase contrast, use a larger image and check names and numbers by hand.
Can it read handwriting?
Not reliably. The model is trained on printed typefaces. Neat block capitals sometimes work, but cursive handwriting usually does not.