Free Online OCR - Extract Text from Images

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

Runs in your browser. Part of this tool needs an internet connection.

About this tool

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

Frequently Asked Questions

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.