How to Extract Text from Images with Free OCR (2026)
Use in-browser OCR to extract text from screenshots, photos, and scanned documents. 10 languages supported. No upload, 100% private.
What Is OCR?
OCR (optical character recognition) turns pictures of text into text you can select, search and edit. Our Image OCR tool runs Tesseract โ the open-source engine originally developed at HP and later maintained by Google โ compiled to WebAssembly as tesseract.js 5.1.0, so the image never leaves your browser. It supports ten languages: English, Spanish, French, German, Italian, Portuguese, Japanese, Simplified Chinese, Korean and Arabic.
How Browser-Based OCR Works
Tesseract (version 4 and later) recognizes whole text lines with an LSTM neural network. When you pick a language, the browser downloads that language's trained model once and caches it; the English model tesseract.js fetches is about 3 MB compressed (2.95 MB measured on October 13, 2026). Recognition then runs on your device, typically in one to three seconds for a screenshot.
Tips for Better OCR Accuracy
Image quality is still the biggest factor. Crop to the text, keep text dark on a light background where you can, and straighten skewed photos. Very small text used to be a problem; our tool now enlarges images whose text lines are under about 16 px tall before reading them, which is why 8 px text scored perfectly in the test below. For multi-column layouts, crop and read each column separately so lines are not merged.
Worked Example: 24 Test Images, Measured
We rendered 24 test images with known text โ clean, dark-mode, low-contrast and code screenshots, a degraded phone photo, nine font sizes from 8 to 48 px, and one sample in each supported language โ ran them through our Image OCR tool in Chromium, and scored the character error rate (CER, edit distance divided by text length; script and results in our test folder).
| Image | Character error rate |
|---|---|
| Clean screenshot, small text (10 px lines), low-contrast grey | 0% |
| Code in a terminal screenshot | 0.9% |
| Dark-mode error message | 1.9% (curly quotes misread) |
| Degraded phone photo (blur, noise, tilt) | 0.5% |
| 8 px to 48 px text, nine sizes | 0% at every size |
| Spanish, French, German, Italian, Portuguese, Japanese, Chinese, Korean | 0% |
| Arabic | 2.6% (word spacing) |
21 of 24 images came back exactly right. These were rendered test images, so real scans with shadows, folds or handwriting will do worse: Tesseract is built for printed text and does not read cursive handwriting reliably.
Practical Use Cases
Screenshots: extract error messages, code snippets, or configuration from screenshots shared in Slack or email. Printed documents: photograph a page from a book, receipt, or form and convert it to editable text. Whiteboards: capture meeting notes from a whiteboard photo. Business cards: extract contact information from a photographed business card. PDFs: while the PDF OCR tool handles PDF files directly, the Image OCR tool works on screenshots or photos of PDF pages. Academic research: extract quotes from scanned journal articles or book pages.