QR Code Scanner Online

Read a QR code from a photo, a screenshot or your camera and see exactly what it contains before you open anything. Images are decoded inside your browser and never uploaded.

How to scan a QR code online

  1. Click Choose images or drag files onto the box. You can select several images at once.
  2. On a computer, you can also copy a screenshot and paste it with Ctrl+V (⌘V on a Mac).
  3. To use a camera, click Scan with camera and allow access when your browser asks. Hold the code steady inside the frame; scanning stops at the first code found.
  4. Read the result. A label tells you whether the code holds a link, a Wi-Fi network, a contact card, an email or plain text. For links, the site name is shown separately so you can check it before opening.
  5. Copy the text, or open the link if you trust it.

How it works

QR Hut uses the open-source jsQR library (version 1.4.0). When you choose an image, your browser reads the file from your device, draws it onto an off-screen canvas and hands the raw pixels to jsQR. The library converts the picture to black and white, locates the three square finder patterns in the corners, corrects the perspective, reads the grid of modules and uses the built-in Reed–Solomon error correction to repair damaged parts. Very large photos are first scaled down so that their longer side is 2,400 pixels, which keeps decoding quick without affecting normal-sized codes.

For uploaded images, the decoder tries both normal codes (dark on light) and inverted ones (light on dark). In camera mode it looks for normal codes only, so it can keep up with the video, and it checks about ten frames per second. The camera request asks for the rear camera where there is one, at up to 1280 × 720 pixels, and the camera switches off as soon as a code is found or when you leave the page.

Everything happens in JavaScript on your device: images are not uploaded, video is not recorded and the results disappear when you close the page. The decoded text is shown exactly as it is stored, which makes the scanner a practical way to inspect a code without letting a phone act on it. Text is decoded as UTF-8; if a code contains bytes that are not valid UTF-8, the scanner still shows what it can instead of returning nothing.

Understanding the result

The scanner shows what is inside a code; it cannot tell whether a website is safe. For that, see our guide on how to spot a malicious QR code.

Tips when a code will not scan

Common uses

Limitations

Frequently asked questions

Are my images uploaded to a server?

No. The image is read from your device, decoded by JavaScript in your browser and discarded when you close the page. Camera frames are analyzed the same way and are never recorded.

Can I scan a QR code that is on my computer screen?

Yes. Take a screenshot, then paste it here with Ctrl+V (⌘V on a Mac) or upload the file. This is handy for codes in emails, PDFs and web pages.

Why does the camera not start?

The browser needs your permission and a secure (HTTPS) page. The camera can also be blocked by another app that is using it, by the browser inside a social media app, or by your browser's site settings. Uploading a photo always works as an alternative.

Can it read several QR codes in one picture?

It returns the first code it finds in each image. To read several codes, crop them into separate images or upload several photos at once.

Does it read ordinary barcodes?

No. The scanner reads QR codes only. Product barcodes (EAN, UPC), Data Matrix, Aztec and PDF417 codes are not supported.

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

Check the domain first. The scanner shows the full link and the site it belongs to before you open anything. Our QR code safety guide lists the warning signs.

Does it work on phones?

Yes. On a phone you can take or choose a photo, or use the camera button to scan live.