Image to Text
Turn the words in a photo, a screenshot or a scanned page into text you can copy and edit. Your image stays on your device.
Drag and drop your files here
or Choose Files
Maximum file size: 30 MB
You can also paste a file or a screenshot with Ctrl+V (⌘V on a Mac).
Other presets
A photo of a document, a screenshot or a scanned page carries its words only as a picture: you can't select them, paste them into an email or search for them. This page opens Dokfo's OCR tool for images. Choose a JPG, PNG, WebP or TIFF, and its words come back as text you can paste anywhere.
Text recognition, OCR for short, runs in your browser with Tesseract, the open-source engine behind many scanning apps. English is preselected. When the text is in another language, pick it from the list, so that its letters are read as letters of that language rather than guessed: German, French, Spanish, Italian, Portuguese, Turkish, Russian, Arabic, Chinese, Japanese and Korean are there. The first time you use it, the engine and its language data are downloaded once from jsDelivr; after that they come from your browser's cache.
The text appears in a box, line by line as it sits in the picture, ready to copy or to download as a .txt file. You can also download a searchable PDF of the image: the picture is kept exactly as it was, with an invisible layer of text over it, so Ctrl+F finds its words and you can select them. That is handy when you need to keep the original image as a record and still find things in it later.
How well a picture reads depends mostly on the picture. Sharp, straight, evenly lit photos of printed text read best; blurry, tilted or shadowed shots lose letters. Screenshots usually read almost perfectly, because their text is crisp. For a scanned PDF of many pages, use OCR PDF; to put several photos into one PDF first, use JPG to PDF.
How to Use It
- 1
Choose your image: JPG, PNG, WebP or TIFF (up to 30 MB).
- 2
Choose the language of the text; English is preselected.
- 3
Press Extract Text, then copy the text or download it as a .txt file.
Frequently Asked Questions
Which images can I get text from?
Photos, screenshots and scanned pages saved as JPG, PNG, WebP or TIFF. Every page of a multi-page TIFF from a scanner or a fax is read. Convert iPhone HEIC photos with HEIC to JPG first.
Which languages can it read?
English, German, French, Spanish, Italian, Portuguese, Turkish, Russian, Arabic, Simplified Chinese, Japanese and Korean, one at a time, plus Turkish and English together. Choose the language before you press Extract Text; reading French text as English, for example, loses its accents.
How do I get the best result from a phone photo?
Hold the phone straight above the page, fill the frame with it, and use even light without shadows or glare. Tap to focus before you take the picture. If the print is small, move closer rather than zooming in afterwards.
Can it read handwriting?
Text recognition is made for printed text. It can read some neat handwriting, but not reliably. With printed text and a sharp picture, the result is usually very good.
Does it keep the layout or the tables?
The text comes back in reading order, line by line, without fonts, columns or table cells. To get a table from a picture into a spreadsheet, put the image into a PDF with JPG to PDF, then use PDF to Excel.
Is my image uploaded anywhere?
No. The image is read in your browser and never sent anywhere. Only the recognition engine and its language data are downloaded, once, the first time you use it.