OCR sounds like reading, and that one wrong impression explains most of the confusion around it. When a person glances at a photographed notice, they read words and grasp a message. When OCR software looks at the same photograph, no message registers at all. It sees a grid of light and dark pixels, hunts for shapes it recognises, and reports back which letters those shapes most likely are. Everything useful and frustrating about the technology follows from that fact.
This explainer walks through how image to text conversion actually works, using the free Image to Text tool on Ovatly as the running example. That tool runs the Tesseract OCR engine inside your browser, and each stage of its pipeline shows up on screen: a first-run download, a preview, a progress bar, and a result box with counts underneath.
Contents
- Quick answer
- The pipeline in plain words
- Why it runs in your browser
- Why the first run downloads files
- Shapes, not meaning: the root of every OCR error
- How to convert an image to text, step by step
- Worked example: one short line, counted exactly
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
- References
Quick answer
OCR takes an image, scans it for shapes that match trained letterforms, and assembles those matches into words, lines and plain text you can edit. In the Image to Text tool, the Tesseract engine does this work locally in your browser: your image is never uploaded, and only the engine and its English data download, once, on the first run. Because it matches shapes, not meaning, clear high-contrast images of printed English convert cleanly, while blurry photos and handwriting produce errors or nothing.
The pipeline in plain words
Strip away the jargon and the pipeline has four stages. First, the image goes in: a screenshot, a scan, a photo of a page. At this point there is no text in the file at all, only pixels arranged in patterns that look like letters to a human eye.
Second, the engine breaks the image into regions, lines and individual character shapes. Third, it compares each shape against the letterforms it was trained on and picks the closest match. Fourth, the matches are assembled in reading order into words and lines, handed back as ordinary text: selectable, searchable, editable.
Notice what is missing. At no stage does anything check whether a word is real or a sentence makes sense. The engine is a shape matcher with a very good memory for letterforms, and nothing more.
Why it runs in your browser
Many online converters make you upload your image to their server and download the result. The Image to Text tool takes the other route: the Tesseract engine runs in a browser worker on your own device, and the image stays exactly where it is. None of it leaves your machine, because there is no upload step at all. The cost is that your device does the work a server would otherwise do, so a large or dense image takes a moment, and the tool shows a progress bar while the engine works. That bar is the visible price of privacy.
Why the first run downloads files
An OCR engine is software plus trained data. The software knows how to scan and match, but what English letterforms look like lives in a language data file, and Tesseract needs a separate trained file for every language.
So on the first run, your browser downloads two things from a public CDN: the engine and its English data, then caches both, which is why later conversions start immediately. The files flow toward your device, never away from it. The English-only data file also explains the tool's firmest boundary: with no trained data for other languages, text in another language comes back garbled or empty.
Shapes, not meaning: the root of every OCR error
Because the engine matches shapes, its mistakes are shape mistakes. Two characters with similar outlines swap places: a 0 for an O, a 1 for an l, the pair rn read as an m. Damage the shapes and the matches degrade: skew stretches letterforms, blur softens their edges, glare and shadow wash out contrast, and decorative fonts barely resemble the trained shapes.
This is also why OCR errors look so plausible. The engine returns its best match with total confidence, so a wrong character sits inside an otherwise perfect word, invisible to a casual glance. Handwriting defeats it for the same reason: printed letters are consistent shapes, while joined handwriting draws the same letter differently every time. Neat, printed-style handwriting sometimes reads partly; ordinary joined writing usually produces errors or nothing at all.
How to convert an image to text, step by step
- Open the Image to Text tool and choose your image. A preview appears, so you can confirm you selected the right file.
- Press Read the text. On the first run the engine and English data download and cache; the progress bar tracks the recognition.
- Read the result in the box provided. The counts underneath give a quick sanity check against the original.
- Fix any mistakes by editing the text directly in the result box.
- Copy the corrected text where you need it, or download it as a .txt file.
Worked example: one short line, counted exactly
Give the tool a clear image of a short printed notice: "Meeting moved to Friday". The engine scans the line, matches four word shapes and returns exactly that line as text. Underneath, the summary reads "4 words, 1 lines, 23 characters", and every number checks out: four words, one line, twenty-three characters including the spaces.
The counts matter more than the tidy result: they prove the matcher found the text the image contains. Run a full scanned page and the same check protects you. If the page holds a few hundred words and the result reports a dozen, the shapes defeated the engine, and the fix is a better image, not heroic editing.
Limitations and honest tradeoffs
The tool reads English only, because it ships with English trained data and no other language file. It reads printed text far better than handwriting, and joined handwriting usually fails outright. Layout is not preserved: the output is the text in reading order, not a recreation of columns, tables or formatting, so a two-column leaflet returns as one stream of words.
Local processing trades a little speed for privacy: big images take time, and the first run waits on the engine download. Finally, the output is a best guess by design, never a certified transcript, and anything that counts deserves the proofread.
Common mistakes
- Expecting the engine to understand the document. It matches shapes. Meaning and common sense are your contribution, during the proofread.
- Blaming the tool for a bad photograph. Skew, glare and blur distort the shapes being matched. A straighter, sharper image of the same page is the real fix.
- Treating the first run's download as an upload. The engine and English data come down to your browser and stay cached. Your image never goes anywhere.
- Trusting output whose counts fall short. Counts far below the original mean recognition failed. Improve the image and run it again instead of patching fragments.
- Asking it to read handwriting or another language. Both sit outside the trained English data for printed text.
FAQs
What does OCR actually do when it reads an image? It scans the image for shapes matching the letterforms it was trained on, groups the matches into words and lines, and returns them as plain text. It never understands the words; it only recognises their shapes.
Why does the tool run in my browser instead of on a server? Running the Tesseract engine locally means your image is never uploaded anywhere; the recognition happens on your device. The tradeoff is that a large image takes a little time, which is what the progress bar is for.
Why is the first run slower than later runs? On the first run your browser downloads the OCR engine and its English language data from a public CDN. Those files are cached, so later runs start straight away.
Why does OCR produce confident wrong words instead of blanks? The engine always returns its best shape match. A distorted letter still matches something, so a smudged O can come back as a 0 with no warning attached. That is why the result box is editable and a proofread matters.
What kinds of images does OCR handle badly? Handwriting is the hardest: neat printed-style writing sometimes reads partly, but joined-up handwriting usually fails. Blurry, skewed, low-contrast photos and non-English text also come back garbled or empty.
Conclusion
OCR is a pipeline, not a mind: pixels in, shapes matched against trained letterforms, plain text out. Knowing that explains the whole experience of the Image to Text tool, from the one-time engine download to the plausible little errors that make the proofread non-negotiable. If your text is trapped inside a scanned PDF rather than a picture file, our companion guide on extracting text from a scanned PDF page as an image covers the extra step. For more in this series, see the File and Data Conversion guides.
References
- Tesseract OCR, the open source engine that runs in the browser for this tool: https://github.com/tesseract-ocr/tesseract
- MDN Web Docs, on the File API used to read files locally in the browser: https://developer.mozilla.org/en-US/docs/Web/API/File_API