Irreva logo
Explore Irreva
ImageJune 4, 2026· 7 min read· Updated June 10, 2026

How to Extract Text from an Image Online Free

Hasanur Rahman

Written by Hasanur Rahman

Founder & Full-Stack Developer · Irreva · Rangpur, Bangladesh

Someone sends you a screenshot of an error message and you need to search for it. You photograph a whiteboard after a meeting and need the notes in a document. You receive a scanned invoice as a JPG and need to copy the line items into a spreadsheet. Retyping is slow and error-prone. OCR — optical character recognition — extracts the text for you. You can do it for free online, in your browser, without uploading the image to anyone's server.

Common situations where OCR saves time

Screenshots are the most frequent OCR use case. Error messages, chat conversations, code snippets, social media posts — anything displayed on screen that you need as editable text rather than a picture.

Document photos come up when someone sends you a photo of a printed page instead of the actual document. Receipts, business cards, book pages, and whiteboard notes all fall into this category.

Scanned images — JPG or PNG files created by scanning paper documents — contain text visually but not as selectable characters. OCR converts the visual text into actual text you can copy, search, and edit.

  • Screenshots of error messages or UI text
  • Photos of whiteboards, signs, and printed pages
  • Scanned documents saved as JPG or PNG
  • Business cards and receipts photographed on phone

How to extract text on Irreva

Open the Image to Text (OCR) tool. Upload your image by dropping it in or clicking to browse. The tool accepts JPG, PNG, WebP, and other common image formats.

Select the language of the text in the image. This significantly improves accuracy — English OCR on an English document works far better than auto-detection on mixed content.

Click to run OCR. Tesseract.js processes the image in your browser using WebAssembly. Processing takes a few seconds for a single page. The extracted text appears in an output area where you can review, edit, and copy it.

Copy the text to your clipboard with one click, or download it as a plain text file. Your image was never uploaded to any server during this process.

Getting better OCR results

Crop the image to just the text region before running OCR. Extra background, photos, and graphics confuse the text detection stage. Use the Image Cropper to isolate the text area first.

Ensure the text is readable. If the image is blurry or low-resolution, OCR accuracy drops sharply. For phone photos, hold steady, ensure good lighting, and photograph straight-on rather than at an angle.

For screenshots, PNG format preserves text edges better than JPG compression. If you have the choice, capture or save as PNG before running OCR.

Review the output before using it. OCR makes mistakes — especially with numbers, punctuation, and similar-looking characters like 0/O or 1/l/I. A quick proofread catches most errors.

OCR output — what to do with extracted text

Copy and paste is the simplest workflow. Extract the text, copy it, and paste into an email, document, spreadsheet, or search bar.

For structured data like invoices or forms, paste into a spreadsheet and clean up the column alignment manually. OCR preserves line breaks but not table structure.

For longer documents, download the extracted text as a .txt file and open it in any text editor or word processor for further editing and formatting.

If you need the text in a searchable PDF, extract the text first, then combine it with the original image in a PDF editor that supports text layers.

Frequently Asked Questions

Is the Image to Text tool free?

Yes, completely free with no account required and no limit on the number of images you can process.

Are my images uploaded when I use OCR?

No. OCR runs entirely in your browser using Tesseract.js. Your images never leave your device.

Can I extract text from a screenshot?

Yes. Screenshots are one of the best OCR inputs — high contrast, sharp text, no camera blur. Paste or upload the screenshot and run OCR.

What if the OCR result has errors?

Review and manually correct the output. OCR accuracy depends on image quality, font, and language. Cropping to the text region and selecting the correct language before processing reduces errors.

Can I OCR multiple images at once?

The Image to Text tool processes one image at a time. For multi-page documents, run OCR on each page separately and combine the text outputs.

Hasanur Rahman

About the author

Hasanur Rahman

Founder & Full-Stack Developer · Irreva · Rangpur, Bangladesh

Hasanur Rahman is the founder of Irreva and a full-stack developer based in Rangpur, Bangladesh. He builds all of Irreva's tools with a focus on privacy-first, browser-based processing.