Read a QR code from an image
Drop a photo or a screenshot that contains a QR code and see what it says: the link, the Wi-Fi password or the contact, without pointing a phone at the screen.
How to use it
- Drop one or more images into the box, choose them, or paste a screenshot with Ctrl+V or Cmd+V.
- Each image is searched at several sizes for a QR code.
- Read the result for each file. Links are shown in full with their domain.
- Copy what you need, save a contact as .vcf, or open the link if it is the one you expected.
For the QR code that is already on your screen
A QR code in an email, a PDF, a chat or a web page is awkward to scan: the phone that would read it is often the device showing it. Take a screenshot and drop it here instead. On iPhone, a screenshot of the code goes into this page from the Photos picker.
The image is read in your browser with jsQR, an open-source decoder, at up to four sizes, and inverted codes (light on dark) are tried too. Nothing is uploaded.
What you get back
The page recognises the common QR formats and lays them out readably:
- Links, with the domain on the open button and a warning to check it first.
- Wi-Fi codes: network, password and security type. Handy for reading a password off a router sticker or a shared code.
- Contacts (vCard): every field, with a download as .vcf.
- Email, phone and text-message codes, plus plain text of any kind.
If no code is found
Crop the image so the code fills most of it, and make sure all three corner squares are visible. Very blurry or heavily angled photos may not decode; a straighter photo in good light usually does. The page reads QR codes only, not product barcodes.
How the image is searched
The page draws your image on a white canvas and hands the pixels to jsQR. It tries the image with its longest side at up to 1,600 pixels, then at 1,000, 640 and 400 pixels, skipping sizes larger than the image, because a large photo of a small code and a tiny screenshot fail at opposite ends. Each pass also tries the colours inverted, for light codes on dark backgrounds. The first pass that decodes gives the result.
Taking a screenshot of a code
On a Mac, press Shift, Command and 4 together and drag over the code; Apple’s guide calls this capturing a portion of the screen, and the file lands on the desktop. On Windows, the Windows logo key + Shift + S opens the Snipping Tool overlay, as Microsoft describes. Paste the snip here or drop the saved file.
Leave a white border around the code when you crop. DENSO WAVE specifies a blank margin four modules wide on every side, and a code cropped to its edge can be missed. For a code in a PDF, zoom in until it is large on screen first, or turn the page into an image with PDF to PNG.
What each kind of code shows
The page recognises the payload by how it starts:
| The code starts with | You see |
|---|---|
| https:// or http:// | The full link, with its domain on the open button |
| WIFI: | Network name, password and security type, with a copy button |
| BEGIN:VCARD | Every contact field, and a .vcf download |
| mailto: or MATMSG: | Email address, subject and message |
| tel: | The phone number |
| SMSTO: or sms: | The number and the text message |
| Anything else | Plain text |
Related tools
Questions people ask
Can I read a QR code from a screenshot on iPhone or Android?
Yes. Open this page on the phone, tap choose files and pick the screenshot from your photos.
Are my images uploaded?
No. They are decoded in your browser and never leave your device.
Can I read several codes at once?
Yes, up to 20 images per batch, one code per image.
Can I find the Wi-Fi password in a QR code?
Yes. A Wi-Fi QR code contains the password in plain text, and this page shows it with a copy button.
Why does it say no code was found?
The code is too small, blurred, cut off or warped in the image. Crop closer and use the sharpest photo you have.
Can I read a QR code from a PDF?
Yes. Zoom in on the code, take a screenshot of that part of the page and drop it here. Only the image you give the page is read.
Does it read barcodes or Data Matrix codes?
No. jsQR reads QR codes only. Product barcodes such as EAN-13 and other 2D codes such as Data Matrix need other decoders.
What size should the image be?
Any size where the code is sharp. The page scales the image itself, between 400 and 1,600 pixels on the long side, so there is no need to resize it first.