Image to text (OCR)

Read the text in a photo or screenshot, in English, Portuguese or Spanish.

loading Image to text (OCR)
About this tool

How do you extract text from an image?

To extract text from an image, run OCR (optical character recognition) on it: the software looks at the pixels, finds letters and returns them as text you can copy, search or edit. Drop a photo or screenshot here, choose the language of the text, click Read the text and copy the result. It is useful for a photographed page, a screenshot of a chat or an error message, a scanned receipt, a slide, a sign, or a picture of a table you do not want to retype.

The recognition engine is Tesseract (tesseract.js), the same widely used open-source OCR. It works with three languages: English, Portuguese and Spanish. You pick the language yourself, which is more reliable than guessing, and the page starts on the language of the interface.

It all runs in your browser. The picture is never uploaded and no text is sent anywhere. The first time you use it, the engine (a few megabytes, around 5 to 7 MB depending on the language) downloads from this same site, not from a third party, and is saved on your device, so later visits start instantly. The page shows the exact size before it downloads.

OCR reads printed text well and handwriting poorly. Treat the output as a good first draft and proofread names, numbers and amounts.

How to read text from a picture

  1. Open the page. An example image with a few lines of text is loaded so you can see a result first. Drop your own picture anywhere on the page, choose it from your files, or paste a copied picture with Ctrl+V. Accepted types are JPG, PNG, WebP, BMP, GIF, HEIC, HEIF and AVIF.
  2. If the engine has not been downloaded yet, click Download engine and wait for it to finish. This happens once per language.
  3. In Language of the text, choose Português, English or Español to match the picture.
  4. Click Read the text. A progress bar shows reading, loading the engine and processing, and you can cancel.
  5. The text appears in a box under the picture, with a confidence figure such as "confidence 91%". Click Copy text to copy it, or download the .txt file, named after the image. With several images you get one text each, and a ZIP of all of them.

If nothing is found you will see "No text was found. Try a sharper picture or another language." Before reading, the picture is converted to a clean PNG with its rotation corrected and scaled down to at most 3000 x 3000 pixels, never enlarged.

Examples

A screenshot of an error message

A 1920 x 1080 screenshot of a terminal with the line Error: connection refused 127.0.0.1:5432. With English selected the text comes back as typed, usually with a confidence in the nineties, because screen text is sharp and high contrast. This is the easiest case for OCR.

A photographed page from a book

A 4032 x 3024 phone photo of a printed page is reduced to 3000 x 2250 before reading. Light from one side, a curved spine or a tilt will lower accuracy. Hold the phone parallel to the page, avoid shadows and make sure the text fills most of the frame.

A receipt with numbers

A photographed supermarket receipt in Portuguese: choose Português so accents and words like "Troco" or "Valor total" are recognised. Letters are usually fine; digits such as 1, 7 and 0 or O may be confused, so check every price against the original before using it.

Text in the wrong language

A Spanish sign read with English selected returns broken words with accents wrong or missing. Run it again with Español and the same picture reads cleanly. If the text mixes languages, run it once per language and keep the better result.

Common errors and how to fix them

  • "No text was found. Try a sharper picture or another language." The image is blurry, too small, very low contrast, or the language does not match. Retake it closer, or sharpen it first.
  • Gibberish or random symbols. Usually the wrong language, a rotated picture or a decorative font. Rotate with Rotate image and try again.
  • Only part of the text is recognised. Crop the area you need with Crop image: removing borders, photos and logos helps the engine focus.
  • The engine download fails. The page reports the error and offers to try again. Check your connection; what already arrived is kept.
  • "The browser ran out of memory." Use a smaller picture, fewer files at once or close other tabs.
  • "This is taking too long and was stopped." Try a smaller picture or one file at a time.
  • The photo is a PDF. This tool reads images. For a scanned PDF, use PDF OCR, or PDF to text when the PDF already has real text.

Frequently asked questions

Is this image-to-text converter free?

Yes. There is no sign-up, no watermark and no daily limit, because the recognition runs on your own device.

Is my image uploaded to a server?

No. The picture and the extracted text stay in your browser. Only the engine files are fetched, and they come from this site.

Which languages does it support?

English, Portuguese and Spanish, one at a time. Other alphabets such as Cyrillic, Arabic or Chinese are not available here.

Can it read handwriting?

Not reliably. Tesseract is trained for printed text. Neat block capitals can work; cursive usually does not.

Does it keep tables and columns?

It returns plain text in reading order. Tables, columns and layout are not rebuilt, so a table may come back as lines of text you need to arrange.

How can I improve accuracy?

Use a sharp, straight, well-lit picture with dark text on a light background, at least about 300 dpi equivalent for small print. Reduce a huge photo with Resize image only if the page runs out of memory; the tool already limits the long side to 3000 pixels.

Does it work on a phone?

Yes, in Android and iPhone browsers. Take the photo and choose it from the gallery. The engine download (a few MB) is worth doing on Wi-Fi.

Report a problem