Image tool
Text from Image
Read the words out of a photo, a scan, or a screenshot and turn them into text you can copy, search, and edit.
1. Choose an image
Recognition runs in this tab using a copy of the engine served from this site. Your image is never uploaded.
The image you are reading will appear here, so you can check it is the right one.
Choose an image to begin. Nothing is uploaded.
2. Extracted text
Getting the best result
Flat and straight
Photograph the page flat and square to the camera. Perspective distortion is the single biggest cause of wrong characters.
Big, dark text on light
Engines read dark text on a light background best. White text on black, low contrast, and very small captions are the hard cases.
Always check the numbers
Letters such as O and 0, l and 1, and 5 and S are routinely confused. Proofread anything that matters before you rely on it.
What OCR is doing
Text recognition matches shapes against known letterforms. It is not reading, and it has no idea what your document says, which is exactly why it is fast, private, and wrong in characteristic ways. A letter that is slightly blurred matches several candidates and the engine has to guess. It guesses correctly most of the time, which is what makes the result dangerous: a plausible sentence with one wrong digit in it looks exactly as trustworthy as the right one.
It is good at
- Text that was generated on a screen and then captured, because those pixels are exact.
- Flat, straight, front-on pages with dark text on a light background.
- Common, ordinary fonts at a reasonable size.
It is bad at
- Handwriting, which it will produce confident nonsense for.
- Photographs of text, where glare, lens distortion and the camera’s own sharpening blur the letter edges.
- Text at a shallow angle, and text that is very small on screen even in a large file.
- Low-contrast print, and coloured text on a coloured background.
- Tables and multi-column layouts, where the reading order is often scrambled even when the words are right.
Crop closer than feels necessary
Resolution matters far more than the total number of pixels in the picture. A tight, straight crop of one paragraph beats a full page shot every time, because the engine only has to resolve the glyphs you kept. If you can choose what to scan, choose the smallest area that still contains the text.
Where the engine comes from
The recognition engine is roughly 16 MB of JavaScript and WebAssembly, fetched from this site the first time you use the tool and cached by your browser afterwards, which is why the first scan is slower than the ones after it. It runs entirely in your browser. Your image is not uploaded, and no third party is sent a copy of what you scanned.
Use it as a first pass
Recognise the text, then read it. For anything you are going to send to someone else, publish, or rely on, check every number, date, address and name against the original.
What OCR can and cannot recover
Optical character recognition reads shapes and guesses letters, so its accuracy depends on the scan rather than on the tool. Clean, straight, high-contrast text on a page photographs well and comes out nearly perfect. A skewed phone photo with shadow across it will not, no matter what you do afterwards.
Resolution is the single biggest factor. Text needs enough pixels per character to distinguish letters that look alike, so a low-resolution image of small text is the hardest case. If the source document still exists, scanning again at a higher resolution will beat any attempt to clean up a poor image.
Straighten the page before processing where you can. A few degrees of rotation is enough to hurt accuracy, and some tools correct for it while others do not.
Always read the output before relying on it, especially numbers. A digit misread as a similar-looking character is the most common error and the most damaging in a list of figures. The tool converts an image into text; it does not verify that the text is correct.
Further reading: Read the full guide: Text from Image
Common questions
Are my images uploaded?
No. The recognition runs in this tab. The text-recognition engine is downloaded from this site on first use, and the image itself never leaves your device.
What is it good at?
Printed text that is flat, straight and reasonably large: a document, a screenshot, a receipt, a page from a book. That is the case it was built for and it is where the accuracy is worth relying on.
What is it bad at?
Handwriting, low contrast text, text on a curve, and photographs taken at an angle. It is also unreliable on anything where a wrong character matters, such as a serial number or a figure in a table, so treat the numbers as a thing to check rather than a thing to trust.
Will a bad photo give a bad result?
Yes, and no amount of patience will fix it. Crop closer than feels necessary. A small, sharp crop of just the paragraph gives a far better result than a full page taken at an angle, because the engine has fewer pixels to be confused by.
Can I get the text out in a file?
Yes. Copy it to the clipboard, or download it as a plain text file. It is unformatted text, so it will need tidying before it goes into anything that cares about layout.
