Skip to content
Screenshot2Text

Screenshot2Text

PNG to Text

To convert a PNG to text, drop the PNG on this page. The text shows up 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.

PNG is the usual format for desktop screenshots, and it is the best file to start from. It keeps every pixel, so thin fonts and punctuation stay sharp. In our test, a PNG screenshot took under a second on average once the OCR engine had loaded.

Crop to the part you need. A full desktop capture, light text on a transparent overlay, or text over a busy wallpaper can hide letters. Clear printed interface text reads best. Handwriting is weaker. JPG, WebP, and PDF files work on this same reader too.

Or open the main free tool

Try the terminal PNG

Use the terminal screenshot 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 PNG to text

Drop the PNG 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 PNG screenshots had a mean character error rate (CER) of 0.65%, and 12 of them read with no errors.

A real run: a terminal screenshot

This is code03-terminal from our OCR accuracy test, a 368 by 218 pixel PNG of a build log in a monospace font. We dropped it on the live site on October 11, 2026. The output below is exactly what came back.

Try the terminal PNG

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

Terminal screenshot of npm run build: app@1.4.2 build, next build, Compiled successfully in 12.8s, Collecting page data, Generating static pages (24/24), and a route table with / at 5.21 kB and 108 kB and /about at 1.02 kB and 104 kB
Input: code03-terminal, a 368 by 218 pixel PNG screenshot.
Raw OCR output
$ npm run build
> appRl.4.2 build
> next build
Compiled successfully in 12.8s
Collecting page data ...
Generating static pages (24/24)
Route (app) Size First Load JS
5.21 kB 168 kB
/about 1.82 kB 164 kB

7 of 204 characters were wrong, a character error rate of 3.43%, the same as in run 3. Every plain word came through. The misses are the ones to check in any log: the version app@1.4.2 came back as appRl.4.2, the / at the start of the route table was dropped, and three numbers changed, 108 kB to 168 kB, 1.02 kB to 1.82 kB, and 104 kB to 164 kB. The wide column gaps were also cut to single spaces.

So read version strings, paths, and figures against the screenshot before you paste them anywhere.

PNG to TXT: save the text as a file

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

2. Fix anything that came out wrong. The result box is editable, so check version numbers, prices, and codes against the screenshot and correct them there.

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 PNG's name with .txt on the end, so receipt.png saves as receipt.txt, and the page confirms it with a Saved as note. The file is made on your device; nothing is sent to us.

Worked example: we saved the terminal screenshot above, code03-terminal.png, with Download .txt. Before editing, the file holds the raw output word for word. In run 3 this PNG had 7 wrong characters out of 204, a CER of 3.43%, so fix the version string and the kB figures in the box first, then save.

code03-terminal.txt, as saved before edits
$ npm run build
> appRl.4.2 build
> next build
Compiled successfully in 12.8s
Collecting page data ...
Generating static pages (24/24)
Route (app) Size First Load JS
5.21 kB 168 kB
/about 1.82 kB 164 kB

A second run: a dark mode form

Light text on a dark background is the other common PNG. This is ui05-form in dark mode from our OCR accuracy test, a 333 by 314 pixel shipping address form with gray labels, light text in dark input fields, and a blue button. We dropped it on the live site on October 22, 2026, three times, and got the same text each time.

Dark mode shipping address form: Full name Maria Gonzalez, Street address 1450 Woodward Ave, Apt 12B, City, state, and ZIP code Detroit, MI 48226, Use this address for billing too, and a blue Continue to payment button
Input: ui05-form in dark mode, a 333 by 314 pixel PNG screenshot.
Raw OCR output
Shipping address

Full name

Maria Gonzalez

Street address

1450 Woodward Ave, Apt 12B

City, state, and ZIP code

Detroit, MI 48226

Use this address for billing too

20 of 180 characters were wrong, a character error rate of 11.11%, the same as in run 3. Every label and every field value came through exactly, including the apartment number 12B and the ZIP code 48226. The whole error is one line: the white Continue to payment label on the blue button was not read at all. The output also puts a blank line between rows, which is harmless.

The same form saved in light mode read with 1 wrong character out of 180 in run 3. So if a dark screenshot drops a line, especially on a colored button, crop to that part or switch the app to light mode and capture it again.

How PNG did in our test

PNG was our baseline in run 3 of the OCR accuracy test, on September 25, 2026. Across 22 screenshots saved as lossless PNG, the mean character error rate (CER) was 0.65%, the median was 0.00%, and word recall was 96.82%. That was the lowest mean of the eight versions we tested. Each PNG took 0.71 seconds on average to read. The figures come from the run 3 CSV. We also read all 22 PNG files in a single drop with batch image to text, and each one came back with the same text as when it was read alone.

12 of the 22 PNG files read with no errors at all. The other 10 are listed below, so you can see where even a clean file needs a second look.

The 10 PNG screenshots that had at least one error in run 3, September 25, 2026
ScreenshotKindWrong charactersCER
code03-terminalCode7 of 2043.43%
num01-receiptReceipt7 of 2183.21%
code04-jsonCode4 of 1382.90%
code01-jsCode4 of 2221.80%
ui04-accountApp screen1 of 1380.72%
ui05-formApp screen1 of 1800.56%
num02-invoiceInvoice1 of 2090.48%
para05-policyParagraph2 of 4340.46%
ui01-settingsApp screen1 of 2570.39%
ui03-errorApp screen1 of 2800.36%

Code and receipts carry most of the errors: quotes, brackets, and backticks in code, and digits and units on the receipt. For comparison, the same 22 screenshots had a mean CER of 0.93% as WebP at quality 75, 2.17% as JPEG at quality 30, and 1.77% in dark mode. A PNG is the best file to start from, and the symbols are still worth checking.

FAQ

Can I convert a PNG to text?
Yes. Drop a .png 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. JPG 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 and interface chrome sharper than a re-saved JPEG. Camera JPEGs are fine when the type is large and well lit, and this reader also accepts JPG and WebP. Dedicated JPG and WebP entrances live at /jpg-to-text and /webp-to-text.
Why is text missing from my PNG?
A full-desktop capture, low-contrast type on a busy wallpaper, or very light type on a transparent overlay can hide letters. Crop to the paragraph or dialog you need. Huge retina captures of an entire desktop also slow the tab because recognition runs on your device. Expect gaps on decorative or handwritten type.
Does PNG to text stay on my device?
Yes. We do not upload the PNG for OCR and we do not store the image or the extracted text on a server. The first run may fetch small recognition files to your device; those requests do not include your screenshot. Closing the tab clears the working copy.
Does a transparent PNG work?
Yes. On October 28, 2026 we checked two PNGs with a fully transparent background on the live site, both holding the same six lines of a refund policy: one with dark text and one with white text. Each read the same three times. The dark text had 3 wrong characters out of 434 and the white text had 1. This was one quick check, not part of our accuracy test, so if a transparent image reads badly, take the screenshot again over a plain background.
Does dark mode text read as well as light mode?
Nearly. In run 3 of our accuracy test, the 22 screenshots had a mean character error rate of 0.65% as light PNGs and 1.77% in dark mode. The tool flips dark areas to dark text on a light background before reading, so there is no setting to change. App screens lost the most in dark mode. Our guide to OCR on dark mode screenshots has the per-image numbers.
How small can the text be?
In our limits check on October 8, 2026, a paragraph shrunk until its capital letters were about 4.8 pixels tall still read with 4 wrong characters out of 479. At about 3.6 pixels, most words were lost. If the text is tiny, zoom in on the screen before you take the screenshot, then crop to the part you need.
Is PNG to text free?
Yes. PNG to text is free to use. There is no account and no charge to run OCR or download a .txt file. Ads on the page cover hosting. Drop one PNG or several. PDFs work on this same reader if you have those instead.
How much better is PNG than JPG for OCR?
In run 3 of our accuracy test, the same 22 screenshots had a mean character error rate of 0.65% as PNG, 2.07% as JPEG at quality 90, and 2.17% at quality 30. Most of the gap is in code, digits, and small symbols. Use the PNG when you still have it.
How do I save a PNG as a .txt file?
Drop the PNG, check the text in the box, then press Download .txt. The file is plain UTF-8 text with your edits included, and it takes the PNG's name, so receipt.png saves as receipt.txt. The file is made on your device.
Do I have to upload my PNG?
No. Reading happens in your browser and the image is not sent to us. This tool is free to use with no account. For how that works and how to check it yourself, see /image-to-text-no-upload.