Extract text from an image (OCR)
Recognize the text in any JPG, PNG or WEBP image with OCR (optical character recognition) and turn it into text you can copy or download, directly in your browser.
or click to select it
Uses an OCR engine (Tesseract) that runs entirely in your browser to recognize the text present in the image, regardless of its format. Works best with sharp, high-contrast images; it does not recognize handwritten text or complex tables, and the result may contain errors on low-quality images.
Use cases
- Extract the text from any photo or screenshot regardless of format.
- Recover the text of a document photographed with your phone.
- Quickly copy the content of a sign, receipt or captured screen.
How it works
- 1
Upload your image
Drag the file or choose it from your device (JPG, PNG or WEBP).
- 2
Choose the text language
Select Spanish or English depending on the language of the text in the image.
- 3
Extract the text
Click the button and wait for OCR to recognize the content.
Technical details
- It uses Tesseract (LSTM neural network engine) compiled to WebAssembly, with Spanish or English language data: choose the text's language before extracting, because it changes which characters and words it expects.
- It accepts JPG, PNG and WEBP up to 25 MB and 18 megapixels. The first time it downloads the engine (about 4 MB) and the chosen language (2.1 MB for Spanish, 3 MB for English).
- It works with printed text in horizontal lines: screenshots, documents photographed straight on, signs. It doesn't recognise handwriting, and in tables or columns it can mix up the reading order.
- The text comes out exactly as the engine recognises it, without spell-checking: check proper names and numbers. You can copy it or download it as a .txt file.
Frequently asked questions
Which image formats are supported?
JPG, PNG and WEBP -- the same formats already supported by the rest of the image tools on the site.
Does it recognize handwritten text?
No, this OCR is designed for printed text. Handwritten text may be recognized very inaccurately or not at all.
Which text languages does the OCR support?
Currently Spanish and English. Choose the correct language before extracting the text for better results.
Is my image uploaded to any server?
No, all OCR processing happens in your own browser.
Related guide: JPG, PNG, WEBP, AVIF, GIF or SVG: which image format to choose