Skip to content
Screenshot2Text

Screenshot2Text

JPG to Text

To convert a JPG to text, drop the JPG or JPEG file on this page. The text appears in the box below, ready to edit, copy, or save as a .txt file. OCR runs in your browser and we don't upload your file. There is no account to make.

JPG is the usual format for camera photos and for images sent in chat or email. It is lossy, so compression can blur punctuation, thin text, and small letters. In our test, every JPEG quality level had a higher mean error than the same screenshots as PNG, so use a PNG or the original camera file when you have one.

Rotate the image so lines of text run straight across, and crop to the part you need. A small preview from a chat or email often drops commas or mixes up I, l, and 1. Printed type reads best. Handwriting and stylized signs are weaker. PNG, WebP, and PDF files work on this same reader too.

Or open the main free tool

Try the invoice JPEG

Use the invoice image shown below, then check the text against the image. You can edit the result before copying or saving it.

OCR runs in the browser. We don't upload your file for OCR.

Drop a screenshot, image, or PDF here

PNG, JPG, WEBP, GIF, BMP, or PDF · several files at once · tap to browse

Or paste a screenshot with Ctrl+V or ⌘V

Nothing to copy yet

Short answer: how to convert JPG to text

Drop the JPG or JPEG on this page or paste it with Ctrl+V. The text appears in the box, where you can fix it, copy it, or press Download .txt to save it as a text file. In run 3 of our OCR accuracy test, 22 screenshots saved as JPEG had a mean character error rate (CER) of 2.07% at quality 90 and 2.17% at quality 30. The same screenshots as PNG had 0.65%, so use a PNG when you have one.

For a worked .txt example, see the invoice JPEG below: num02-invoice at quality 70 read with a 0.96% CER, with every amount correct, and Download .txt saves it as a plain text file.

JPG to TXT: save the text as a file

1. Drop the JPG or JPEG on the box at the top of this page, or click the box to browse for it. If the image is on your clipboard, press Ctrl+V (Cmd+V on a Mac) anywhere on the page instead. A pasted image is read the same way as a dropped one.

2. Fix anything that came out wrong. The result box is editable, and JPEG compression tends to hit small marks first, so check capital letters, punctuation, and figures against the image.

3. Press Download .txt. Your browser saves a plain text file in UTF-8 with exactly what is in the box, your edits included. The file takes the image's name with .txt on the end, so invoice.jpg saves as invoice.txt, and the page confirms it with a Saved as note. The file is made on your device; nothing is sent to us.

A second run: an invoice saved as JPEG

The code example further down shows JPEG at its worst. This is the more common case: num02-invoice from our OCR accuracy test, a 381 by 255 pixel invoice with line items and dollar amounts, saved as a JPEG at quality 70. We dropped this exact file on the live site on October 25, 2026, three times, and got the same text each time.

Try the invoice JPEG

Use the invoice image shown below, then check the text against the image. You can edit the result before copying or saving it.

Invoice INV-2026-0917, issued September 17, 2026, due October 17, 2026, with Website redesign (40 hrs x $85.00) $3,400.00, Hosting, 12 months $288.00, Domain renewal $18.99, Discount (10%) -$370.70, and Amount due $3,336.29
Input: num02-invoice as a JPEG at quality 70, the exact file we tested.
Raw OCR output
invoice INV-2026-0917

issued: September 17, 2026 Due: October 17, 2026
Website redesign (40 hrs x $85.00) $3,400.00

Hosting, 12 months $288.00

Domain renewal $18.99

Discount (10%) -$370.70

Amount due $3,336.29

2 of 209 characters were wrong, a character error rate of 0.96%, the same as in run 3. Every number came through exactly: the invoice number, both dates, the hours and rate, all five amounts, the minus sign on the discount, and the 10% in parentheses. The two mistakes are capital letters: Invoice came back as invoice and Issued as issued. The output also puts a blank line between rows.

The same invoice as a PNG had 1 wrong character in run 3. So a JPEG of a clean invoice or receipt is usually fine to read here, and the totals still deserve one look against the image before you paste them into a spreadsheet or an expense form. If the JPEG came from a scanner, scan to text is the same reader, with notes on resolution, skew, and faded print. If Chrome saved the screenshot as WebP, WebP to text is the same tool.

How JPEG did in our test

In run 3 of our OCR accuracy test, on September 25, 2026, we saved the same 22 screenshots as PNG and as JPEG at four quality levels, then read every file with the same code this page runs. Lower character error rate (CER) is better. The figures come from the run 3 CSV.

Screenshot2Text results for 22 screenshots as PNG and JPEG, run 3, September 25, 2026
VersionMean CERMedian CERWord recallRead with no errors
PNG (lossless)0.65%0.00%96.82%12 of 22
JPEG quality 902.07%0.00%96.58%12 of 22
JPEG quality 701.31%0.00%95.83%12 of 22
JPEG quality 501.48%0.00%95.50%12 of 22
JPEG quality 302.17%0.00%94.77%12 of 22

Every JPEG level had a higher mean error than PNG, but the order between JPEG levels is noisy with only 22 images. Quality 90 looks worse than quality 70 because of two screenshots. ui04-account at quality 90 scored 16.67%, exactly the same in all three of our runs, and num01-receipt scored 4.59% at quality 90 against 0.92% at quality 70. In ui04-account, a label and its value came back on separate lines in the wrong order. One odd file can move a mean this much at n=22.

Where heavy compression does hurt, it hurts code and punctuation first. Here is the same code screenshot, code01-js, as a PNG and as a JPEG at quality 30.

JavaScript code screenshot of an async function fetchUser that fetches /api/users/ with an id, throws an error if the response is not ok, and returns name and email
code01-js as PNG. Run 3 CER 1.80%.
The same JavaScript code screenshot saved as a JPEG at quality 30, with blocky compression marks around the letters
The same screenshot as JPEG quality 30, the exact file we tested. Run 3 CER 15.32%.
Line 2 from the PNG
const res = await fetch( /api/users/${id} );
Line 2 from the JPEG at quality 30
const res await

Both lines come from our run 3 output. The PNG read lost the backticks around the URL, which is a normal fix to make by hand. The quality 30 JPEG lost the rest of the line. If you can get the original PNG or a higher quality export, use it. If the JPEG is all you have, it is still worth a try: at every quality level we tested, 12 of the 22 JPEG files read perfectly.

FAQ

Can I convert a JPG or JPEG to text?
Yes. Drop a .jpg or .jpeg file on this page. Recognition runs in the browser with open-source OCR and the text appears in the box below the drop zone, where you can edit it and then copy or save a .txt file. PNG and WebP work on the same reader if that is what you have.
Should I use PNG instead of JPG?
If you still have a PNG screenshot, use that. Lossless pixels keep thin fonts sharper than a re-saved JPEG. This reader already accepts PNG and WebP, and the dedicated PNG-to-text page is /png-to-text. Camera JPEGs are fine when the type is large and well lit. Chat or email preview thumbnails are the usual weak case because compression already threw detail away.
Why is text missing from my JPEG?
Heavy compression, a small resolution, or a tilted shot can hide letters. Use the original camera-roll file rather than a chat or email preview, crop to the paragraph you need, and rotate so lines of type are horizontal. Expect gaps on decorative or handwritten type. Running the same soft preview again rarely helps.
Does converting a JPG upload my file?
No. The JPEG is decoded and read in this tab. We do not upload it for OCR and we do not store the image or the extracted text on a server. The first run may briefly fetch small recognition files to your device; those requests ask for named assets, not your picture.
Can I save a JPG as a .txt file?
Yes. After the text appears, fix anything that looks wrong, then press Download .txt. The file takes the image name, so photo.jpg saves as photo.txt. It is made on your device and holds exactly what is in the box.
Is JPG to text free?
Yes, it is free to use. No account, no trial, and no payment to read a JPEG. Ads on the page cover hosting. Drop one file or several, and mix formats in the same batch if you need to.