Someone sends you a QR code in a chat, and the obvious move fails immediately: you cannot point your phone's camera at your phone's screen. So the code sits there, in a message thread or an email, looking scannable and being anything but. People work around it by borrowing a second phone, a clumsy answer to a simple problem.

The simpler answer is to stop thinking of scanning as something a camera does. A QR code in an image file can be decoded directly from that file. This guide shows how, using the free QR Code Scanner on Ovatly, and it treats the forwarded code with the suspicion it deserves: you will read what the code contains before anything gets opened.

Contents

  • Quick answer
  • Why the camera trick cannot work
  • What you need before you start
  • How to scan a code from a screenshot, step by step
  • Worked example: a Wi-Fi code in a family chat
  • Reading a forwarded code like a sceptic
  • Limitations and honest tradeoffs
  • Common mistakes
  • FAQs
  • Conclusion
  • References

Quick answer

Save the image, or screenshot it if it is trapped inside a message or document. Open the QR Code Scanner, tap the upload box or drag the image in, and the code is decoded on your device. Read the decoded content, which appears as plain text exactly as it was encoded. If it is a link you trust, open it with the optional button; if you only need the text, copy it. Nothing is opened automatically and the image is never uploaded, so checking first costs you nothing.

Why the camera trick cannot work

Camera scanning points a lens at the physical world, and no arrangement of mirrors lets it photograph the screen it sits behind. But the camera was only ever a way of capturing the pattern. When the code already exists as an image on your device, the pattern is already captured, in a file, at full quality. Decoding the file is not a workaround; it is the more direct route.

This is also why a screenshot works as well as a photo. The decoder reads the pattern from the image either way, so a code in a chat message, an email or a document can be scanned from a screenshot of it, with no second device involved.

What you need before you start

You need the image itself, at the best quality you can get. If someone sent the code as a photo attachment, save that file rather than screenshotting the preview, because chat apps often display a compressed thumbnail and the full-size original decodes more reliably. If the code only exists inside a message or document, screenshot it with the whole pattern and a small margin of background in frame.

You also need a browser. The QR Code Scanner runs entirely in the page, uses your browser's built-in barcode detector where one exists, and falls back to a decoder library on the device everywhere else, so any modern browser can do this.

How to scan a code from a screenshot, step by step

  1. Save the image containing the code to your device, or take a screenshot of it. Keep the full pattern in frame, with a border of background around the code.
  2. Open the QR Code Scanner and tap the upload box to select the image, or drag and drop the file onto it.
  3. Wait a moment while the code is decoded on your device. The image never leaves your browser.
  4. Read the content, which appears as text exactly as it was encoded. Note the destination or details before doing anything.
  5. If it is a link you trust, open it with the optional button. If you only need the text, such as a Wi-Fi password, copy it with one click and use it yourself.
  6. To check another code, choose a different image and repeat.

Worked example: a Wi-Fi code in a family chat

A relative photographs the Wi-Fi code on a cafe table and drops it into the family chat so everyone can join the network. You are looking at the message on your phone, so camera scanning is out. You save the photo from the chat, open the scanner, and drop the image in.

The decoded result is a line of text in the format WIFI:T:WPA;S:Name;P:Password;;, showing the network name, the password and the security type. Nothing has joined anything: the tool shows the content and stops there. You read the password, open your Wi-Fi settings, pick the network with the matching name and type the password in yourself. The code did its job, you stayed in control of each step, and the password never left your device, because the decoding happened locally in your browser.

Reading a forwarded code like a sceptic

A code you meet in person comes with context: it is printed on the menu of the restaurant you are sitting in. A forwarded code arrives stripped of that context, and forwards travel fast through group chats, shedding their origins at every hop. The sender being a friend is weaker evidence than it feels, because accounts get compromised and your friend may have forwarded the code without ever decoding it.

So make the decode itself the checkpoint. Read the destination as text. Does the domain match the business the message claims? Does a payment code match the amount and recipient you expected? If the decoded text and the story around it disagree, believe the text and stop. The scanner's refusal to open anything automatically is what makes this pause possible: opening is a separate, deliberate step.

Limitations and honest tradeoffs

The scanner reads QR codes only, so a product barcode in the same screenshot is intentionally not reported. A blurry, tiny or badly angled code may not decode; cropping the image closer to the code and keeping it straight and well lit usually fixes that, but a heavily compressed thumbnail may simply not carry enough detail.

The result is the decoded text only. The tool does not follow links, join networks or act on the content in any way, so every follow-up step, opening the page, typing the password, saving the contact, is yours to do by hand. And decoding tells you what a code says, not whether it is honest: a clearly readable link can still lead somewhere you should not go, which is why the reading habit matters exactly when a code arrives second-hand.

Common mistakes

  • Borrowing a second phone as the first resort. It works, but saving the image and decoding the file is faster and needs no extra hardware.
  • Screenshotting the thumbnail instead of saving the original. Chat previews are compressed. The full-size file decodes more reliably.
  • Cropping right up to the pattern. A code needs its margin. Cut the edges off in your screenshot and the decoder may refuse an otherwise good code.
  • Opening the link before reading the decoded text. The text is the check. Read the destination first, especially on a forwarded code.
  • Trusting a code because of who sent it. Judge the decoded content and whether it matches the message, not the sender's name.

FAQs

Can I scan a QR code that is displayed on my own phone? Not with that phone's camera, because a camera cannot photograph its own screen. Save the image or take a screenshot, then decode the image file with the QR Code Scanner. The tool reads codes from image files exactly as it reads them from photos.

Do I need an app to scan a code from a screenshot? No. The QR Code Scanner runs in your browser with nothing to install and nothing to sign up for. Select or drop the screenshot into the tool and it decodes on your device.

Is it safe to scan a code someone forwarded to me? Scanning with this tool is safe because nothing is opened automatically: you see the content as text first. The risk sits in opening a link you do not recognise, and that stays your decision. A forwarded code deserves the check even when the sender is a friend, because forwards strip away the context of where the code was posted.

Why will my screenshot not decode? The usual causes are a code that is tiny in the image, a screenshot cropped so tightly that the pattern's edges or margin are cut off, or a blurry, compressed copy. Open the original image at full size, crop closer to the code while keeping a small border around it, and try again.

Is my screenshot uploaded to a server? No. Detection and decoding run on your device, for image files just as for the camera. The image never leaves your browser, so a code holding private details, such as a Wi-Fi password, stays on your device.

Conclusion

A QR code in a message is not unscannable; it just needs to be decoded from the file instead of photographed. Save the image, drop it into the QR Code Scanner, read the decoded text, and act on it only once you know what it says. To understand what kinds of payload you might find when you decode, our companion guide on what information a QR code can hold walks through links, Wi-Fi strings, contacts and plain text. For more guides in this series, see our Image Tools guides.

References