Image to text (OCR)
Copy the words out of a screenshot, a scanned page or a photo of a sign. The text is recognized by Tesseract, running in this tab, in 20 languages, and comes out as plain text you can edit, copy or save.
How well it reads: our own test images
We made sixteen test pictures with known text and ran each through this page with its default settings in Chrome on a desktop PC, then compared the result with the original letter by letter. Spaces and line breaks were not counted. The pictures are ours, rendered from computer fonts and then roughened up (tilt, blur, grain, JPEG compression, uneven light), so they are kinder than a real crumpled receipt, but they show where the engine is strong and where it slips.
| Picture | Language setting | Characters right |
|---|---|---|
| Typed page, scanned slightly crooked (JPEG) | English | 100% |
| Phone photo of a printed page: tilted 3°, blurred, grainy, darker at one corner | English | 100% |
| Desktop screenshot with 13 px interface text | English | 100% |
| The same screenshot in dark mode | English | 100% |
| Article set in two columns | English | 100%, columns kept in order |
| Handwriting-style font (Segoe Script) | English | 72% (69% of words) |
| Typed page, scanned | Korean + English / Korean only | 97% / 98% |
| Phone photo of a printed page | Korean + English / Korean only | 95% / 97% |
| Serif (Batang) page, scanned | Korean + English / Korean only | 96% / 98% |
| Screenshot with 13 px text | Korean + English / Korean only | 91% / 88% |
| Korean sentences with English names and words in them | Korean + English / Korean only | 78% / 26% |
| Typed page, scanned | Japanese | 98% |
| Typed page, scanned / phone photo | Chinese (Simplified) | 98% / 97% |
| Screenshot with 14 px text | Chinese (Simplified) | 87% |
| Typed page, scanned | Chinese (Traditional) | 95% |
- Photos taken at an angle now read too. In a second round we added harder pictures. A typed page tilted 20° went from 87% to 100% once straightening reached up to 45°. A phone photo of a receipt lying about 30° askew on a wooden table went from nothing usable to 84% of its words (the page is cut out of the photo, then straightened). A photo with no text, and a page whose small print is too blurry to read, are now reported as having little or no readable text instead of coming back as hundreds of made-up words.
- Printed English is the strong case. Every clean or moderately damaged English picture came out word for word, the dark-mode screenshot included.
- Handwriting is the weak case. Even a tidy script font lost almost a third of its words. Real handwriting, which varies from letter to letter, usually does worse.
- Korean, Japanese and Chinese make more small mistakes. Their compact models must tell apart thousands of characters, some of which differ by a single stroke, and small screenshot text is where they slip most.
- “Also read English words” reads the picture twice. Tesseract given Korean and English together tends to turn Korean words into English-looking nonsense, so the picture is read once in the main language alone and once with English, and each stretch of a line keeps the reading the engine was surer of. Korean quoting names like Google Drive or Windows 11 came out at 78% instead of 26%; pure Korean lost at most two points. For text with no English at all, untick it: the result arrives a little sooner.
What happens to the picture before it is read
Tesseract reads crisp, level, dark-on-white text of a comfortable size best, and most pictures are none of those. So the image is cleaned up first, in this tab. The steps are shown under each result when they changed something.
- Gray, on white paper. Color is dropped; transparent areas of a screenshot become white instead of black.
- Dark mode turned around. When most of the picture is dark, it is inverted, so light text on a dark app or slide becomes dark text on white.
- Shadows flattened. The page’s brightness is estimated block by block and divided out, so a phone’s shadow, a yellowed sheet or the gray lid of a scanner all become plain white around the letters.
- Contrast stretched for faded copies, so pale gray ink becomes black.
- Small text enlarged. The typical line height is measured; lines under 24 pixels tall are scaled up toward 40 pixels, at most four times. A desktop screenshot’s 13 px text was enlarged 3.6 times in our test.
- The page cut out of a desk photo. When the picture is a light sheet lying on something darker (a receipt on a table), the sheet is found and everything around it is blanked, so wood grain and coffee cups do not turn into stray letters. Untick “read only the page” if this ever cuts away text you need.
- Tilt straightened. The angle (up to 45° either way) at which the rows of text line up most sharply is found, and the picture is turned back by it. This lifted the Chinese scan from 91% to 98%, and a page tilted 20° from 87% to 100%. Under each picture you can also turn it by 90° or by a few degrees yourself and read it again.
- Columns read one after another. When the text stands in columns with a clear gap between them, each column is read on its own, so the lines of one column are not mixed into the other. Tables and receipts, whose columns are narrow, are read across as before.
- A second opinion on layout. Automatic layout can cut a paragraph into side-by-side pieces or skip a block it takes for a picture, so the page is also read as one block, and that version wins when it found clearly more confident text.
- A check that the result is real text. When the engine was unsure of most words, the page says so above the text: either the picture seems to hold little or no readable text, or it may be in a language other than the one chosen, with a menu right there to read it again in another one.
Screenshots stay on your screen
The recognizer is Tesseract compiled to WebAssembly, running in a background worker of this tab. Bank statements, chat screenshots, ID cards and medical letters are read without the picture or its text leaving the device. The only downloads are the engine itself and the language data, never anything you picked.
Languages, and what the first run downloads
The language menu sits right beside the picker, so the first picture is already read in the right language; it starts on your browser’s language when it is one of the twenty below, and remembers what you pick. Each result also has a “Read again in” menu for a picture in another language. Each language is a separate model file from Tesseract’s “fast” set (version 4.1.0), the smallest models the Tesseract project publishes. It is downloaded from the jsDelivr CDN the first time you use that language, kept in your browser for the next time, and can be removed with “Delete saved language data” under the menu. The recognition engine itself (about 1.5 MB) comes from this site.
| Language | Download | Language | Download |
|---|---|---|---|
| English | 1.6 MB | Dutch | 2.3 MB |
| Korean | 1.0 MB | Polish | 1.6 MB |
| Japanese | 1.3 MB | Turkish | 1.6 MB |
| Chinese (Simplified) | 1.6 MB | Russian | 1.3 MB |
| Chinese (Traditional) | 1.5 MB | Ukrainian | 1.3 MB |
| Spanish | 0.9 MB | Vietnamese | 0.4 MB |
| French | 0.5 MB | Indonesian | 0.6 MB |
| German | 0.7 MB | Thai | 0.9 MB |
| Portuguese | 0.8 MB | Hindi | 0.9 MB |
| Italian | 1.0 MB | Arabic | 0.6 MB |
Sizes are the compressed downloads jsDelivr sent us; saved in the browser, a file takes up to about three times as much space.
The models read horizontal lines only, so vertical Japanese or Chinese text is not supported. We measured English, Korean, Japanese and Chinese ourselves (above); the other languages use the same engine and model family, but we have not tested them on real documents.
Getting a cleaner result
- Crop to the text. Photos, logos and patterned backgrounds next to the words turn into stray letters. A tighter picture also reads faster.
- Turn it upright. Straightening fixes a slant of up to 45°. For a photo lying on its side or upside down, use the 90° buttons under the picture and press Read again; the Tilt slider turns it by a few degrees more when the automatic straightening missed.
- Pick the layout that fits. Automatic suits pages and articles; One block of text keeps the lines of a receipt or a single paragraph together; Scattered text finds labels spread over a sign, a slide or an app screen.
- Check the low-confidence words. With “Word boxes” on, words the engine was unsure of are outlined in amber, so you know where to look before you copy the text.
- Several images at once are read one after another; “Copy all text” and “Download all as .txt” collect them in the order they were added.
Image to text questions
Are my images uploaded anywhere?
No. The recognizer runs inside this browser tab. The only downloads are the recognition engine from this site and, on first use, the language data from the jsDelivr CDN; your pictures and the text read from them stay on your device.
Can it read handwriting?
Rarely well. Tesseract is trained on printed text. Neat block capitals sometimes come out usable, but joined-up handwriting, notes and signatures mostly turn into wrong letters. For handwriting, typing it is usually faster than correcting the result.
Why is the first run slower?
The first time, the page loads the recognition engine (about 1.5 MB) and the language data for the language you chose (0.4 to 2.3 MB). Both are kept by the browser, so the next image starts reading within a second or two.
How do I get better results?
Use the sharpest picture you have, taken straight on and evenly lit, and crop away everything that is not text. Pick the language the text is written in. A photo lying on its side reads once you turn it with the 90° buttons under the picture. For signs, labels and app screens choose Scattered text; for a single paragraph or a receipt choose One block of text.
Why does Chinese or Japanese text come out with mistakes more often?
These scripts have thousands of characters, many of them differing by a stroke or two, and the compact models used here have less detail to go on than for the 26 letters of English. Larger, sharper text helps more than anything else; check names and numbers before relying on them.
Can I turn a scanned PDF into text?
Yes, with Make a PDF searchable. It reads every page of a scanned PDF and adds an invisible text layer, so you can search, select and copy the text in any PDF reader, while the pages look exactly as before.
Related tools
- Make a PDF searchableScanned PDFs: add a hidden text layer so every page can be searched and copied.
- CropCut a photo down to the paragraph you need before reading it; it reads faster and cleaner.
- RotateSave a sideways phone photo upright for good, not only for reading its text here.
- PDF to JPGPull one page out of a PDF as an image when you only need a part of it.
- Scan a documentA skewed photo of a page with a shadow across it reads better once it is flattened into a clean scan.
Looking for something else? Browse every Photoyam tool.