JPG to Text

Open a JPG photo or scan, or a PNG screenshot, and get its words as plain text to copy or save as a .txt file. The picture is read on your device.

How to convert JPG to text

  1. Open the JPG

    Drop the JPG on the box or press Choose files. You can open several at once, and PNG files work the same way.

  2. Correct the text

    The text appears beside the picture. Check the lines with a dotted underline, which the engine was unsure of, and correct them in the box.

  3. Save it as a .txt file

    Press Download .txt for the picture's text, or Download all as .txt for every picture in one file, or Download ZIP for one file each.

Other ways to get text out of a photo on your phone or computer: How to copy text from a picture.

JPG to TXT

The .txt file holds the text as you left it in the box, as plain text in UTF-8, so accented letters and other scripts are kept. It opens in Notepad, TextEdit or any editor, and a spreadsheet or another program can read it.

Photos and JPG quality

JPG files are compressed, and a strongly compressed one has blurred edges around letters, which the engine can misread. Use the original photo where you have it, not a copy that was shrunk to send in a message. For a photo of a page, hold the camera straight above it in even light: Tesseract's documentation says a skewed page makes its lines hard to find.

It reads printed text, such as a page, a receipt, a label or a sign. It does not read handwriting well.

PNG to text, and screenshots

A PNG screenshot is sharp, but its text is often small. Tesseract's documentation says text reads well when a letter x is about 20 pixels tall, and screen text is often half that. If a screenshot comes out with mistakes, turn on Small text (read at twice the size) and press Read again.

You do not need to save a screenshot as a file first: copy it, click this page and press Ctrl+V (Cmd+V on a Mac).

Frequently asked questions

Can you convert a JPG to a TXT file?

Yes. Open the JPG here, check the text, and press Download .txt. The file holds the text you see in the box.

Can I OCR a JPG?

Yes. A JPG is a picture like any other, and this page reads its text with Tesseract, an OCR engine, in your browser.

Is there a way to turn a screenshot into text?

Yes. Paste the screenshot on this page with Ctrl+V (Cmd+V on a Mac), or open the PNG file. Its text appears beside it, ready to copy.

Can it read photos from my iPhone?

Yes. iPhone photos in HEIC open here as they are, and so do JPG copies of them.

Is my photo uploaded?

No. The photo is read in your browser and never leaves your device. The site counts visits with Google Analytics, which never receives your photo, its name or its text.