# OCR: Extract Text from Images

> Extract text from images using browser-based optical character recognition. Supports 16 languages including English, Chinese, Japanese, and Arabic.

- Open the tool: https://overtooled.com/ocr
- Category: Image Tools
- Privacy: Runs in your browser, but needs an internet connection for part of its work (see the FAQs for what is sent where).
- Price: free, no sign-up
- Keywords: ocr, text, extract, image, scan, recognize, tesseract, optical, character, recognition, read

## In short

Extract text from images using client-side optical character recognition in 16 languages.

## Overview

Pulls text out of images using Tesseract.js, the Tesseract OCR engine compiled to WebAssembly, running in a Web Worker in your browser. The image can be upscaled and cleaned up on a canvas first. The image itself never leaves your device; the OCR engine and the language data are downloaded from cdn.jsdelivr.net the first time you use them.

## Features

- 16 languages: English, Spanish, French, German, Italian, Portuguese, Chinese (Simplified and Traditional), Japanese, Korean, Russian, Arabic, Hindi, Dutch, Polish, Turkish
- Upscale 1x, 2x, 3x (default) or 4x before recognition, capped to the largest image this device can draw (a 12 MP phone photo at 3x is reduced to about 16.7 MP on iPhone)
- Preprocessing works on Safari versions without OffscreenCanvas (falls back to a page canvas)
- Page layout modes: Auto, Single column, Single block, Single line, Sparse text, Sparse text + OSD
- Preprocessing: None, Grayscale, Invert, High Contrast, Adaptive Threshold
- Preview of the preprocessed image
- Progress bar with stage labels (loading language data, recognizing text)
- Word count, character count and the engine's confidence percentage
- Copy the text or send it to another tool
- The OCR engine stays loaded for the session; switching language reloads only the language data

## How to use it

1. Drop or select an image containing text
2. Choose the language
3. Adjust upscale, page layout and preprocessing if needed (screenshots: 3x + Sparse text; scans: 1x + Auto)
4. Click Extract Text
5. Copy the result or send it to another tool

## Inputs

- Any image the browser can decode, up to 20 MB

## Outputs

- Plain text, with copy and send-to-tool buttons
- Word count, character count and confidence percentage
- No file download

## Limits and notes

- Needs a network connection on first use: the Tesseract.js worker script, engine core and language data come from cdn.jsdelivr.net
- The image is processed locally and is never uploaded
- Language data is cached in IndexedDB; the worker and engine use the normal browser cache
- Recognizes one language at a time
- Larger upscale factors use much more memory and take longer on big images

## Questions and answers

### How does the OCR tool work?

Your image is optionally upscaled on an OffscreenCanvas and preprocessed with pixel-level filters like adaptive thresholding, inversion, or high-contrast enhancement. The processed image is then passed to Tesseract.js, a WebAssembly port of the Tesseract OCR engine that runs entirely in your browser. Tesseract downloads a language-specific trained data model on first use (cached for future sessions), then performs character recognition with configurable page segmentation modes.

### Is the OCR processing done on my device?

Yes. Text recognition runs in your browser with Tesseract.js, and your image is never uploaded. On first use the tool downloads the OCR engine (worker script and WebAssembly core) and the language data for your chosen language from cdn.jsdelivr.net. Language data is saved in your browser's IndexedDB for future sessions, and the engine files are cached by the browser.

### What languages does the OCR support?

16 languages: English, Spanish, French, German, Italian, Portuguese, Chinese (Simplified and Traditional), Japanese, Korean, Russian, Arabic, Hindi, Dutch, Polish and Turkish. Pick one language per run.

### What image formats are supported?

Any image format your browser can display: JPEG, PNG, WebP, GIF, BMP, and more. For best results, use clear, high-resolution images with good contrast between text and background.

### How can I improve OCR accuracy?

Use high-resolution images with clear, printed text on a clean background. Avoid low contrast, heavy noise, rotation, or handwritten text. Cropping the image to just the text region also helps.

## Related tools

- [Image to ASCII Art](https://overtooled.com/image-to-ascii.md): Convert images into ASCII art with adjustable width and character sets
- [Color Palette Extractor](https://overtooled.com/color-palette-extractor.md): Extract dominant colors from any image as HEX codes
- [Image Compressor](https://overtooled.com/image-compressor.md): Reduce image file size while maintaining visual quality
- [Image Converter](https://overtooled.com/image-converter.md): Convert images to JPG, PNG, WebP, or JPEG XL instantly in your browser

---
Overtooled: 179 free tools that run in your browser. Index of all tools: https://overtooled.com/llms.txt
