Somewhere in your gallery there is a photo with a QR code in it. You snapped a poster's code to deal with later, a friend forwarded you a picture of a menu code, or an old screenshot is holding a code you never got around to opening. The moment has passed, the poster is across town, and the code seems locked inside the picture.

It is not locked. A decoder does not need the physical poster; it needs the pattern, and the pattern is already in your photo. Ovatly's free QR Code Scanner reads QR codes straight from image files, decodes them in your browser, and shows you the content as plain text before anything else happens. This guide explains how scanning from a saved image works, what decides whether a photo decodes cleanly, and how to give a stubborn code its best chance.

Contents

  • Quick answer
  • The code is already in the photo
  • What decides whether a photo decodes
  • How to scan a QR code from a gallery image, step by step
  • Worked example: checking a poster code before opening it
  • Limitations and honest tradeoffs
  • Common mistakes
  • FAQs
  • Conclusion
  • References

Quick answer

Open the QR Code Scanner, tap the upload box to select the photo from your gallery or drag and drop it in, and the tool decodes the code on your device and shows the content as text. Read it first: if it is a link you trust, open it with the optional button; if you only need the text, copy it with one click. The photo is never uploaded, and nothing is opened automatically. If the code will not decode because it is small or blurry in the shot, crop the photo closer to the code and try again.

The code is already in the photo

A QR code is just a pattern of dark and light squares, and a photograph preserves that pattern. When you photographed the poster, your camera recorded the code along with everything around it, at whatever size and angle you happened to shoot from. Decoding software looks for that pattern in the image and reads it, the same job your camera app does live, done after the fact on a file instead.

This is why the source of the image barely matters. A photo of a poster, a screenshot someone sent you, a picture saved from a chat: all of them are image files holding the same kind of pattern. Screenshots work as well as photos, because to the decoder there is no difference. If the code was captured clearly, it can be read whenever you get around to it, which turns your gallery into a pocketful of codes waiting to be checked.

What decides whether a photo decodes

Decoding is pattern recognition, and it succeeds or fails on the quality of the pattern in the file. Three things matter most.

Size in the frame comes first. A code that occupies a small corner of a wide shot gives the decoder few pixels per square, and fine detail is exactly what a QR code is made of. Blur comes second: a slightly soft photo, glare across the pattern, or a shot taken in low light can smudge squares together until they cannot be told apart. Angle comes third. A code photographed at a steep slant is harder to read than one shot straight on, though moderate angles usually survive.

The honest consequence is that not every gallery photo will decode, and no tool can promise otherwise. What you can do is improve the file you hand over: crop the photo closer to the code so the pattern fills more of the frame, keep it straight and evenly lit, and try again. Cropping is worth doing before you conclude a code is unreadable.

  1. Find the photo in your gallery: the poster shot, the forwarded picture, the screenshot. If the code is small in the frame, crop a copy of the photo tighter around the code first.
  2. Open the QR Code Scanner in your browser. 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 decoded content, which appears as text exactly as it was encoded.
  5. If it is a link you trust, open it with the optional button. If you only need the text, copy it with one click.
  6. To check another code, simply choose a different image. Nothing to install, nothing to sign up for.

Worked example: checking a poster code before opening it

You photographed a cafe poster's QR code last week and never scanned it. Open the scanner and drop the photo in. If the code encodes https://example.com/menu, the tool shows that exact text, and nothing else happens until you choose to copy it or open it.

That pause is the point of scanning from a file. Standing in front of the poster, most people scan and open in one motion, trusting the code because it is printed. From your gallery, you can read the destination first, recognise the cafe's own site, and then open it, or spot a shortened link you do not recognise and leave it alone. A code encoding plain text, like a Wi-Fi password note, is shown the same way: as text, for you to use or ignore.

Limitations and honest tradeoffs

A blurry, tiny or badly angled code may not decode, and scanning from a file cannot recover detail the photo never captured. If the original shot is soft or the code is a speck in the corner, cropping helps, but there is a floor below which the pattern is simply not in the file. Retaking the photo closer, if you ever pass the poster again, beats every fix here.

The scanner reads QR codes only, so product barcodes in your photos are intentionally not reported. And the result is the decoded text only: the tool does not follow links, join networks or act on the content in any way. A Wi-Fi code decodes to text showing the network name, password and security type, which you then enter in your device settings yourself. Where your browser has a built-in barcode detector, the tool uses it; everywhere else a decoder library bundled with the page does the same job on the device, so scanning works in any modern browser.

Common mistakes

  • Deleting the photo because the moment passed. The code in it is still readable. Check the gallery before assuming a code is gone.
  • Uploading the wide shot when the code is a speck in it. Crop a copy closer to the code first, so the pattern gets the pixels it needs.
  • Giving up after one failed attempt. Blur, glare and angle all vary. A tighter crop or a straighter version of the same photo often decodes.
  • Opening the decoded link without reading it. The text is shown first for a reason. Judge the destination before you tap.
  • Expecting the tool to act on the content. It shows you the text; joining the Wi-Fi network or opening the link stays in your hands, by design.

FAQs

Can I scan a QR code from a photo already saved on my phone? Yes. Open the QR Code Scanner, tap the upload box to select the photo from your gallery, or drag and drop it in. The tool decodes the code in the image and shows the content as text, with no app to install and nothing to sign up for.

Is the photo uploaded to a server? No. Detection runs on the device, in your browser, for both image files and the camera. A photo of a code holding private details, such as a Wi-Fi password, stays on your device.

The code is small in my photo. Will it still scan? It might, but it is not guaranteed. A blurry, tiny or badly angled code may not decode. Crop the photo closer to the code, keep it straight and well lit, and try again. Cropping is general advice for any decoder; it gives the pattern more pixels to work with.

What can a code in a saved photo contain? Far more than website links. Codes can hold Wi-Fi network names and passwords, plain text notes and contact cards, and the scanner shows whatever was encoded as plain text for you to read first.

Can the scanner read ordinary barcodes from my photos too? No. This tool is set to QR codes only, so product barcodes and other formats are intentionally not reported, even if the detector could see them.

Conclusion

Your gallery is full of codes you have already captured; they only need decoding. Pick the photo, drop it into the QR Code Scanner, and read the content as text before you act on it. If instead the code is sitting on your phone's screen right now, in a chat or an email, our guide to scanning a QR code on your own phone screen covers the screenshot method for that case. For more guides in this series, see our Image Tools guides, which pair each technique with the free tool that performs it.

References