Skip to main content

Image to Text (OCR)

Recognise printed English text in an image and copy it as plain text. The OCR engine runs in your browser after a one-time download.

Upload Image to Extract Text

Drag and drop files here, or click to browse

Your images are processed in your browser and are not uploaded to Image York.
You retain full ownership of your images. Image York does not store or claim rights. View License

How the text is recognised

The tool uses Tesseract.js, a WebAssembly build of the open-source Tesseract OCR engine. Before recognition, the image is prepared to help the engine: small images are enlarged so their width approaches 2500 pixels (never more than three times the original size), and the colours are converted to high-contrast greyscale. Tesseract then finds lines of text and converts them to characters. The page layout is detected automatically.

Recognition starts as soon as you choose a file, and a progress indicator shows each stage.

What it reads well and what it does not

  • Works well: screenshots, printed documents, receipts and book pages photographed flat, with dark text on a light background.
  • Works poorly: handwriting, decorative fonts, text on busy photos, very small text, curved or strongly angled pages, and light text on dark backgrounds.
  • Language: only English is loaded. Other languages that use the Latin alphabet are partly recognised but accents and special letters are often wrong; other scripts are not recognised.
  • Layout: the output is plain text. Columns, tables and formatting are not preserved, and multi-column pages may come out interleaved.

Getting better results

  • Crop to just the text you need with the Crop tool; less background means fewer stray characters.
  • Rotate pages so lines are horizontal with the Rotate tool.
  • Use the sharpest original you have. A screenshot beats a photo of a screen.
  • Always proofread. OCR commonly confuses similar shapes such as 0 and O, 1 and l, or rn and m.

Downloads, privacy and offline use

The first time you use the tool, your browser downloads the OCR engine and the English language data from the jsDelivr content network. These are program files only; your image is not sent with them. Tesseract stores the language data in your browser's storage, so later runs start faster.

Recognition itself happens on your device. The extracted text appears on the page and is copied only when you press copy. Nothing is uploaded to Image York.

Questions about this tool

Why does it say no text was found?

The engine found nothing it could read with confidence. Try cropping closer to the text, rotating it level, or using a sharper or higher-contrast image.

Can it read handwriting?

Not reliably. Tesseract is designed for printed text.

I have a screenshot of text. How do I copy the words out of it?

Open the screenshot. Recognition starts straight away, and when it finishes the text appears below. Press copy and paste it wherever you need it. Read it through once, because OCR can mix up similar letters.

The text came out with strange characters. How do I improve it?

Crop to just the text with the Crop tool, turn the page level with the Rotate tool, and use the sharpest copy you have. Dark text on a light background reads best.

Can it read text in other languages?

Only English is loaded. Other languages written in the Latin alphabet partly work, but accented letters are often wrong, and other alphabets are not recognised.

My document has two columns. Why is the text mixed up?

The output is plain text, and columns and tables are not kept. Crop each column separately and run them one at a time.

Why is the first run slow?

The first time, your browser downloads the OCR engine and English language data. They are stored in your browser, so later runs start faster. Your image is not sent anywhere.