Text on images
Extract Text From an Image (OCR) — Free, In-Browser
Extract text from an image with free in-browser OCR: how it works, tips for forms and screenshots, and fixes for low accuracy.
A photo of a notice, a screenshot of an email, a scanned form page — the text inside them is locked as pixels until you run OCR (optical character recognition). OCR turns that picture into selectable, editable text you can paste into a form, search, translate, or archive.
This guide explains how to get reliable OCR results for free, how to prepare an image so recognition accuracy stays high, and what to do when the output is a mess of near-miss characters.
What OCR actually does
OCR scans an image for glyph shapes, groups them into words, and applies language models to pick likely spellings. Accuracy depends on:
- Source quality — sharp, high-contrast, correctly oriented text recognises far better than a blurry photo at an angle.
- Font and script — clean printed fonts beat handwriting; some scripts and stylised display fonts are harder.
- Language model — knowing the text is English, Hindi, or Bengali stops the engine from “correcting” words into the wrong language.
- Layout — columns, tables, and stamps confuse simple OCR; multi-region tools handle them better.
Modern in-browser OCR (for example via the WebAssembly builds of Tesseract used by tools like ImgSprint’s image to text) runs on your device — the image does not need to be uploaded to a cloud API, which matters for documents with IDs, addresses, or account numbers.
Preparing the image for high accuracy
Most bad OCR is a photo problem, not an algorithm problem. Before you recognise:
- Straighten the page. Use rotate until text baselines are horizontal — a 2° tilt measurably drops accuracy.
- Crop to the text. Remove thumbs, desk edges, stamps that overlap words you do not need.
- Increase contrast / brightness so ink is dark and paper is light (the enhance image tool helps).
- Resolution: at least 150–200 DPI-equivalent on the text — if you must zoom in to read a word comfortably on screen, OCR can too. Phone photos of A4 pages usually need 2000–3000 px on the long edge.
- Avoid shadows and glare across lines of text.
- Descreen printed halftones if the source is a newspaper/magazine photo (blur 1 px then sharpen slightly) — moiré patterns create false speckles.
For screenshots of digital text, export or capture at native resolution; do not screenshot a scaled-down browser window and then upscale.
Step-by-step: OCR a form or notice photo
- Photograph the page parallel to the sensor — phone directly above, not at an angle.
- Open image to text, drop the file.
- Select the language that matches the document (English, Hindi, Bengali…).
- Run recognition; review the output against the image side by side.
- Fix obvious errors (see the checklist below), then copy or download the text.
- If the form needs structured fields (name, date, reference number), OCR the whole page first and transcribe the fields yourself — do not trust a single pass for legal or financial data.
Step-by-step: pull text from a screenshot
Screenshots of emails, chats, code, or slides are usually already clean:
- Capture at full resolution (no Windows “snip” of a 50% scaled window if you can avoid it).
- OCR with the correct language.
- Expect 95%+ accuracy on crisp UI text; still scan for
lvs1,Ovs0, and curly-quote substitutions. - Paste into your editor and normalise whitespace — OCR often invents spaces or merges lines.
What OCR is bad at (and your workaround)
| Source | Typical problem | Workaround |
|---|---|---|
| Handwriting | High error rate | Transcribe manually; OCR only as a draft |
| Cursive / stylised fonts | Substituted letters | Crop tighter, raise contrast, try again; else retype |
| Tables | Column order scrambled | OCR cell-by-cell or use a spreadsheet-friendly layout |
| Very small print | Missing characters | Upscale crop 2× before OCR (interpolation is OK for recognition) |
| Multi-language lines | Language model fights itself | OCR each language region separately |
| Stamps over text | Overlapping glyphs | Recognise the clean region only; retype the covered words |
OCR is a draft engine, not a notary. For exam applications, contracts, and medical reports, verify every critical field against the original image.
Accuracy checklist after every OCR pass
- Names and proper nouns spelled correctly (compare letter by letter)
- Numbers: IDs, dates, amounts, KB sizes — read twice
- No dropped lines at crop edges
- No doubled words from overlapping regions
- Punctuation sanity (missing periods change meaning in notices)
- Language markers: Hindi/Bengali output actually in that script, not Latin transliteration you did not ask for
Privacy: why in-browser OCR matters
Form photos often contain Aadhaar/PAN numbers, addresses, roll numbers, and phone numbers. Cloud OCR APIs send those pixels to a server. Prefer tools that run locally in the browser (ImgSprint’s image to text processes on-device), and still be careful what you screenshot in the first place.
Related hygiene: strip location metadata from photos you keep or share — what is EXIF data and why remove it.
Common mistakes to avoid
- OCR directly from a skewed, shadowed phone photo — straighten and crop first.
- Trusting OCR output without reading it — especially numbers.
- Wrong language selected — English model on Hindi text produces gibberish substitutions.
- Working from a WhatsApp-compressed copy — pull the original from the gallery.
- Expecting perfect table reconstruction — extract tables manually or cell by cell.
- Ignoring DPI/size — tiny 800 px photos of a full A4 page cannot show enough glyph detail.
- Re-OCR’ing an already-degraded JPEG — always start from the best source you have.
Related tools and guides
- Image to text (OCR) — free, in-browser
- Enhance image · Rotate image · Crop image — prepare the source
- View EXIF · Remove EXIF — check what metadata a photo carries
- Add Hindi text to an image — the reverse workflow (text → image)
Frequently asked questions
Is browser OCR free and private?
Tools that run OCR on-device (WebAssembly/local models) are free to use and do not upload your image. Check the tool’s description — if it says “runs in your browser”, the document stays local.
Why is my OCR output full of wrong characters?
Usually source quality: blur, skew, low resolution, glare, or the wrong language selected. Straighten, crop, boost contrast, and re-run before blaming the engine.
Can OCR read handwriting?
Partially, with much lower accuracy than printed text. Treat handwriting OCR as a draft and verify by eye.
What resolution do I need for OCR?
Text should be sharp enough to read comfortably at 100% zoom — typically 150–200 DPI equivalent, or ~2000+ px on the long edge for a full A4 phone photo.
How do I extract text from a screenshot?
Use image to text on the original-resolution screenshot, pick the language, run OCR, then clean spacing and proofread numbers.
Does OCR work on Hindi and Bengali?
Yes when you select the matching language and the source is clear printed text. Conjunctions and matras still need a human proofread pass for critical fields.
Try it yourself
These free tools run entirely in your browser — your images never leave your device.
Keep reading
- How to Add Hindi Text to an Image (Free, In-Browser) Add Hindi text to any image free in your browser: font tips, Unicode correctness, sizing for WhatsApp and forms, and how to export a clean PNG or JPG.
- How to Add Bengali Text to an Image (Free, In-Browser) Add Bengali (Bangla) text to images free in your browser: font coverage for conjuncts, keyboard tips, sizing for social posts, and clean PNG/JPG export.
- How to Compress Images Without Losing Quality Learn how image compression works, when lossy is fine, and how to shrink JPG, PNG, and WebP files while keeping them sharp for the web.
Have a topic you would like us to cover? Tell us about it.