QR Code Scanner From Image
Sign up to save QR Codes and create up to 2 Dynamic QR Codes completely freeBy the QR Penguin team · Updated
Use the scanner
Scan a QR code from a picture
This tool needs JavaScript turned on. Or use one of the other ways on this page.
Three ways to give it a picture: press Choose a picture and pick the file, drag the file from your desktop onto the box, or copy an image and press Ctrl+V (Command+V on a Mac) anywhere on this page. The tool extracts the QR code from the image and shows the text inside it. When that text is a web address, an Open the link button appears too, but read the address first: a picture you found online can lead anywhere.
How it works, and which browsers it works in
There's no server behind this scanner. Some browsers include a barcode reader that pages can call, called the Barcode Detection API, and the tool hands your picture to it. In the rest, it loads jsQR, a small open-source decoder, and reads the picture inside the page instead.
The decoding happens on your computer or phone, and nothing about the image is sent to QR Penguin or anyone else. That matters for codes holding a Wi-Fi password, a boarding pass or a login code, which you shouldn't upload to a stranger's website.
Google's documentation says the built-in reader ships with Chrome on macOS, ChromeOS and Android. Safari, Firefox, Edge, and Chrome on Windows or Linux get the decoder, so the scanner works in all of them. If it finds no code, crop the picture closer or use a sharper copy, or try one of the options below.
Other ways to read a code in an image
- Google Lens on a phone. To read a QR code from an image on Android, open the Google app or Chrome, tap the Lens icon in the search bar and choose a picture from your screenshots or gallery, as Google's Lens image help shows. On an iPhone, the Google app does the same through its photo picker. Drag the corners of the box around the code and the link appears underneath.
- Google Lens in Chrome on a computer. If the code is a picture on a web page, right-click it and pick Search with Google Lens; the result opens in a side panel, as Chrome's Lens help shows. For a file on your computer, go to google.com, click the Search by image icon, then upload the file or drag it into the search box.
- A second phone. Open the image full screen and point another phone's camera at it. Turn the screen brightness up and hold the phone square to the display to keep the moiré stripes down.
Get a picture that scans
Scanners need the code's small squares to have crisp edges and its three big corner squares to be visible. Most failures with a saved image come down to one of these:
- The code is a tiny part of a large photo. Crop the QR code from the image so it fills at least half the picture.
- The image was forwarded through a chat app, which shrinks and recompresses it. Ask for the original file.
- The photo was taken at an angle or out of focus. Retake it straight on, closer, in even light.
- Part of the code is cut off or covered by a sticker, a fold or a watermark.
- The code is printed light on a dark background. Some readers expect dark squares on a light one and give up on an inverted code, so try another reader before deciding the code is broken.
Before you open what it finds
A code in an image can be just as risky as one stuck on a lamppost. Look at the whole web address the scanner shows. If the name is misspelled, uses an unfamiliar ending or hides behind a link shortener, don't sign in or pay on the page it leads to. Text that isn't a link, such as a Wi-Fi network or a contact card, is shown as plain text with no button, so you can copy what you need.
Want to check a code you made yourself? Make one with the free QR code generator, download it as a PNG and drop it in the box above; if it reads here, the code itself is sound. For a code that might need a new destination after it's printed, a dynamic QR code can be pointed somewhere else later without reprinting.
Frequently asked questions
Related pages
All QR code guidesQR Penguin isn't affiliated with or endorsed by Google. Google is a trademark of its owner.