QR Code Reader

Scan a QR code online from an image or your camera. Free QR code reader that decodes links, Wi-Fi and text in your browser, then copy or open it.

Runs in your browser. Files never leave your device.

Upload QR Code Image

Supports PNG, JPG, JPEG, WEBP files

About the QR code scanner

Scan a QR code online from a picture or with your camera and see what it contains before you act on it. Upload a screenshot, a photo of a poster or a saved image, or point your webcam or phone camera at the code. The QR scanner shows the decoded text, link or data, with buttons to copy it or open the link.

This comes in handy when the code is on your own screen, where a phone camera can't easily reach it: a QR code in an email, a PDF ticket you've screenshotted, a payment code sent on WhatsApp or a login code on a website. You can also read where a link goes first, rather than having a phone open it straight away.

How the QR code reader decodes an image

A QR code stores data as a grid of black and white squares, with three large square markers in the corners that tell a reader where the code is and which way up it is. When you upload a picture, it is drawn at full size onto an invisible canvas in your browser, and the open-source jsQR decoder searches the pixels for those markers. Once it finds them, it reads the grid, corrects any damaged squares using the error-correction data built into every QR code, and turns the result back into text.

In camera mode the page asks for permission to use your camera, preferring the rear camera on phones and tablets. Each video frame is copied to the canvas and checked in the same way, many times a second. As soon as a code is found, a short beep plays, the camera turns off and the contents appear below. Press Restart Scan to read another code.

Everything happens on your device: the image and the camera picture are never uploaded. The decoded text is shown exactly as it is stored. A web address starting with http:// or https:// also gets a Visit Link button, while other kinds of codes, such as Wi-Fi details or a contact card, appear only as their raw text.

Assumptions and limits

  • It reads standard QR codes only. Ordinary barcodes on products (EAN, UPC, Code 128), Data Matrix, Aztec and the smaller Micro QR codes aren't recognised.
  • One code is read per image or scan. If a picture contains several QR codes, crop it so only the one you want is visible.
  • Upload accepts image files your browser can open, such as PNG, JPG, JPEG and WEBP. A QR code inside a PDF has to be screenshotted or exported as an image first. Choose the file by clicking the upload area; dragging a file onto it isn't supported.
  • Uploaded images are also checked for light-on-dark (inverted) QR codes. The live camera scan looks only for the usual dark-on-light codes, so for a white code on a black background, take a photo or screenshot and upload it.
  • The camera needs your permission and a secure page. If you block access, the tool shows an error and returns to Upload File; allow the camera in your browser's site settings and choose Live Webcam again.

Worked examples

Decode a QR code from a screenshot

A restaurant emails a booking code. Take a screenshot, open Upload File and choose the PNG. The result box shows the decoded text, for example a booking reference, and Copy Output puts it on your clipboard so you can paste it into a reply.

Check a link before opening it

A flyer has a QR code that you're not sure about. Scan it with the camera and read the address in the result box first. Only addresses that begin with http:// or https:// get a Visit Link button, and nothing opens until you press it, so you can see that the code points to the company's real website and not a look-alike address.

Decoded Contents
https://www.example.com/menu?table=12

Read the password from a Wi-Fi QR code

Wi-Fi QR codes store the network name, security type and password in one line of text. Uploading a photo of the router's sticker shows the raw contents; the network name follows S: and the password follows P:. Copy the password to type it into a laptop that can't scan codes itself.

WIFI:S:HomeNet-5G;T:WPA;P:blue-river-2024;;

What a decoded QR code can look like

The result box shows the decoded contents as plain text. These are the common formats you'll see there.

QR code typeStarts withExample of the decoded text
Website linkhttps:// or http://https://www.example.com/offer
Wi-Fi networkWIFI:WIFI:S:OfficeNet;T:WPA;P:secret123;;
Phone numbertel:tel:+923001234567
Text messageSMSTO: or sms:SMSTO:+923001234567:Hello
Emailmailto:mailto:info@example.com?subject=Order
Contact cardBEGIN:VCARDBEGIN:VCARD, then name, phone and email lines
Map locationgeo:geo:31.5204,74.3587
Plain textanything elseOrder #48213, collection after 5 pm

How to use the QR Code Reader

  1. Choose upload or camera. Pick Upload File to scan a QR code from an image, or Live Webcam to scan with your camera and allow access when your browser asks.
  2. Show the code to the scanner. Choose a PNG, JPG or WEBP picture, or hold the code inside the square on the video until you hear a beep.
  3. Copy or open the result. Read the Decoded Contents, then press Copy Output, or Visit Link if it's a web address. Use Restart Scan for the next code.

Frequently asked questions

How do I scan a QR code that's on my computer screen?

Take a screenshot of the code (Windows + Shift + S on Windows, Command + Shift + 4 on a Mac), save it, then choose Upload File here and select the screenshot. Crop out other codes first if there are several on the screen. The decoded text appears in a moment.

Can I scan a QR code from an image on my phone?

Yes. Open this page in your phone's browser, choose Upload File and pick the photo or screenshot from your gallery. This is handy when someone sends you a QR code in a chat, because you can't point the same phone's camera at it.

Why can't the QR scanner read my code?

Usually it's blur, glare, a code that is too small in the picture or cut off at an edge, or a picture with several codes in it. Move closer so the code fills more of the frame, make sure all four sides and the quiet border around it are visible, and avoid reflections. Ordinary product barcodes aren't QR codes and won't be read.

Is it safe to open a link from a QR code?

Not always. A QR code can point anywhere, including fake login or payment pages, which is why this reader shows the full address and waits for you to press Visit Link. Check that the domain name is spelled correctly and belongs to who you expect before you open it or enter any details.

Does the QR code reader work with the laptop webcam?

Yes. Choose Live Webcam and allow camera access. On a laptop the built-in front camera is used; on phones and tablets the rear camera is preferred. Hold the code steady about 15 to 30 cm from the lens with good light, and the scan stops by itself when it finds the code.

Are my images or camera feed uploaded?

No. Images and camera frames are decoded inside your browser on your own device, and the camera is switched off as soon as a code is read or you leave the page. Nothing you scan is sent to our servers or stored.

QR codes are decoded in your browser. Your images and camera picture stay on your device and are never sent to our servers.