Free tutorials & notes in Hindi & English · Clean code examples 🧰 Free PDF & Image Tools →
Guide 22 · AI & Digital Tools · Hindi + English

Convert Image to Text with OCR: Practical Guide

Extract editable text from screenshots, scanned notes, bills and images.

What OCR is

OCR (Optical Character Recognition) reads the letters in a photo or scanned page and turns them into text you can copy, edit and search. It saves retyping notices, notes, receipts and old documents – in English and Hindi.

Best free tools

ToolWhereHindi?Best for
Google LensAndroid camera/Google app/Photos; iPhone Google appYesA page or board right now; copy to computer
Google Drive → Open with Docsdrive.google.comYesMulti-page scanned PDFs
Snipping Tool “Text actions”Windows 11Depends on installed languageCopy text from anything on screen
PowerToys Text ExtractorWindows (free Microsoft tool)With language packsWin + Shift + T anywhere
iPhone Live TextCamera/PhotosLimited languagesQuick copy on iPhone
Tesseract (open source)Windows/Linux, codersYes (hin pack)Batch OCR of hundreds of images

Google Lens on a phone (fastest)

  1. Open the Google app (or camera) → tap the Lens icon.
  2. Point at the page, or pick a photo from the gallery.
  3. Tap Text, then select the lines you need → Copy.
  4. Signed in on Chrome with the same Google account? Choose Copy to computer and paste on your PC.
  5. Translate on the same screen converts Hindi ↔ English instantly.

Many pages: Google Drive

  1. Upload the scanned PDF or JPG/PNG to Google Drive.
  2. Right-click → Open with → Google Docs.
  3. The image appears at the top and the recognised text below. Copy or edit it, or download as Word.

On Windows 11 without a phone

  1. Press Win + Shift + S and capture the area with text (a PDF page, an image, a video frame).
  2. Click the notification to open it in Snipping Tool.
  3. Click Text actions → Copy all text (or select part of it). You can also use Quick redact to hide emails/phone numbers before sharing.

Get better results

  • Good light, no shadow of your phone; hold it parallel to the page.
  • Fill the frame with the text and keep it in focus; avoid zoom.
  • Printed text works far better than handwriting.
  • For Hindi, check matras (ि/ी, ु/ू) and conjuncts – OCR errors are common there.
  • Proof-read numbers: 0/O, 1/l/I, 5/S, 8/B are often confused.

For coders: OCR with Python

# pip install pytesseract pillow   (also install Tesseract and the Hindi "hin" language data)
import pytesseract
from PIL import Image

text = pytesseract.image_to_string(Image.open("notice.jpg"), lang="hin+eng")
print(text)

Useful to OCR hundreds of scanned forms into a CSV. Pre-processing (grayscale, thresholding with OpenCV) improves accuracy – see OpenCV basics.

Privacy

Avoid OCR on Aadhaar, bank cards or student records in unknown apps or websites. Google Lens/Drive in your own account, Windows Snipping Tool and Tesseract on your PC are safer choices.

OCR क्या है

OCR (Optical Character Recognition) photo या scanned page के अक्षर पढ़कर उन्हें ऐसे text में बदलता है जिसे copy, edit और search कर सकें। इससे notices, notes, receipts और पुराने documents दोबारा type करने से बचते हैं – English और Hindi दोनों में।

सबसे अच्छे मुफ़्त tools

ToolकहाँHindi?किसके लिए
Google LensAndroid camera/Google app/Photos; iPhone Google appहाँअभी एक page या board; computer पर copy
Google Drive → Open with Docsdrive.google.comहाँकई pages वाली scanned PDFs
Snipping Tool “Text actions”Windows 11Installed language पर निर्भरScreen पर किसी भी चीज़ से text copy
PowerToys Text ExtractorWindows (मुफ़्त Microsoft tool)Language packs के साथकहीं भी Win + Shift + T
iPhone Live TextCamera/Photosसीमित भाषाएँiPhone पर जल्दी copy
Tesseract (open source)Windows/Linux, codersहाँ (hin pack)सैकड़ों images का batch OCR

Phone पर Google Lens (सबसे तेज़)

  1. Google app (या camera) खोलें → Lens icon पर tap करें।
  2. Page की ओर camera करें, या gallery से photo चुनें।
  3. Text पर tap करके ज़रूरी lines चुनें → Copy।
  4. उसी Google account से Chrome पर signed in हैं? Copy to computer चुनकर PC पर paste करें।
  5. उसी screen पर Translate Hindi ↔ English तुरंत बदलता है।

कई pages: Google Drive

  1. Scanned PDF या JPG/PNG Google Drive पर upload करें।
  2. Right-click → Open with → Google Docs।
  3. ऊपर image और नीचे पहचाना गया text आता है। Copy या edit करें, या Word में download करें।

Windows 11 पर बिना phone

  1. Win + Shift + S दबाकर text वाला हिस्सा capture करें (PDF page, image, video frame)।
  2. Notification पर click करके Snipping Tool में खोलें।
  3. Text actions → Copy all text (या उसका हिस्सा चुनें)। Share से पहले emails/phone numbers छिपाने के लिए Quick redact भी है।

बेहतर नतीजे पाएँ

  • अच्छी रोशनी, phone की परछाई नहीं; उसे page के समानांतर रखें।
  • Frame में text भरें और focus में रखें; zoom से बचें।
  • छपा text हाथ की लिखावट से कहीं बेहतर चलता है।
  • Hindi में मात्राएँ (ि/ी, ु/ू) और संयुक्ताक्षर जाँचें – वहाँ OCR ग़लतियाँ आम हैं।
  • Numbers ध्यान से पढ़ें: 0/O, 1/l/I, 5/S, 8/B अक्सर गड़बड़ होते हैं।

Coders के लिए: Python से OCR

# pip install pytesseract pillow   (Tesseract और Hindi "hin" language data भी install करें)
import pytesseract
from PIL import Image

text = pytesseract.image_to_string(Image.open("notice.jpg"), lang="hin+eng")
print(text)

सैकड़ों scanned forms को CSV में OCR करने के लिए उपयोगी। Pre-processing (grayscale, OpenCV से thresholding) सटीकता बढ़ाती है – OpenCV basics देखें।

Privacy

अनजान apps या websites में Aadhaar, bank cards या student records पर OCR से बचें। अपने account में Google Lens/Drive, Windows Snipping Tool और आपके PC पर Tesseract ज़्यादा सुरक्षित विकल्प हैं।

Frequently Asked Questions

How can I copy text from an image for free?

Use Google Lens on your phone (Text → Copy), Google Drive’s “Open with Google Docs” for scanned files, or Windows 11 Snipping Tool → Text actions on a PC.

Does OCR work for Hindi?

Yes. Google Lens and Google Docs OCR handle printed Hindi well; Tesseract supports Hindi with the hin language data. Always proof-read matras and numbers.

Can OCR read handwriting?

Google Lens can read neat handwriting reasonably well, but results vary. Printed text is much more reliable.

How was this lesson?

Your feedback helps us make the content better.

Write a review or suggestion (optional)

After approval, your name and city may appear publicly with your review. Please do not write your email or phone number.

▶ CodingEasily on YouTube

Learn with video lessons in easy Hindi

Featured video: RDBMS Part 3 – Class XI Commerce IT

▶ Subscribe – it’s free