QR Code Scanner

Point your camera at a QR code or upload an image. The code is decoded on your device — the camera feed and any image you upload never leave your browser.

or upload an image below

Upload a QR code image to scan

PNG, JPG, or WEBP — processed entirely in your browser

Click to browse or drag & drop

How this scanner works

When you tap Start camera scan, the page asks the browser for a live video stream through the standard WebRTC camera API — navigator.mediaDevices.getUserMedia() — requesting the rear (environment) camera when one is available. That API hands the camera feed directly to this page; the stream is never relayed through a remote server.

Each video frame is copied onto an in-page <canvas> element, read with getImageData(), and passed to jsQR — a pure-JavaScript QR decoder that runs entirely in your browser's main thread. The scanner reads frames continuously via requestAnimationFrame and stops the instant it decodes a valid code, immediately releasing the camera.

Because every step — capture, canvas drawing, and decoding — happens locally, the video frames and any image you upload never leave your device. The only thing that ever appears on screen is the decoded text the code itself contains.

Under the hood, the jsQR decoder follows the same sequence every QR reader uses. It first scans each frame for the three finder patterns — the concentric square-in-square markers sitting in the top-left, top-right, and bottom-left corners — and uses their relative positions and sizes to work out the code's orientation and any perspective skew. A projective transform then maps the distorted quadrilateral back onto a regular grid, after which the decoder samples the light and dark modules along the timing lines to recover the raw binary bit stream. That stream is split into data codewords and error-correction codewords; Reed-Solomon decoding repairs any modules the camera misread before the payload is unpacked according to the QR standard's encoding modes (numeric, alphanumeric, byte, or Kanji). All of this — pattern location, grid resampling, and error correction — runs as plain JavaScript on your device, frame after frame, until a valid code locks and the camera is released.

How to scan a QR code

  1. Allow camera access. Tap Start camera scan and grant permission when your browser asks. The feed opens with the rear camera when one is available.
  2. Centre the code in the frame. Hold the device 15–30 cm (6–12 in) from the code so it fills roughly two-thirds of the on-screen box. Hold steady for a second or two.
  3. Let it lock on. The scanner reads frames continuously and stops the moment it decodes a valid code — no button to press.
  4. Copy or act on the result. The decoded text appears below the camera. Use Copy result to paste it elsewhere, or read it directly if it is a URL or Wi-Fi string.
  5. No camera? Upload instead. Use the upload box to scan a saved screenshot or photo. The same decoder runs on the image file.

Tips for a reliable scan

  • • Good, even lighting beats a flash. Glare and reflections on glossy surfaces confuse the decoder.
  • • Keep the code flat. Curved bottles, bags, or screens distort the modules and slow detection.
  • • Fill the frame, but not edge-to-edge. A little white margin around the code helps the scanner find it.
  • • Clean the camera lens — a smudged lens is the most common cause of slow or failed scans.

Troubleshooting

The camera won't start

Camera access requires a secure (HTTPS) page and your explicit permission. If you denied access, reload the page and choose Allow. On desktop, confirm no other app is holding the camera. You can always fall back to uploading an image.

The camera is on but nothing decodes

Move closer or farther away, straighten the angle, and improve the light. If the code is damaged, very small, or low-contrast, a still photo uploaded through the upload box and run through the Quality Checker will pinpoint the problem.

The wrong camera opens

The scanner requests the rear (environment) camera. Some desktops only have a front camera, which will be used instead. On a phone, closing other camera apps first usually resolves conflicts.

The result looks like gibberish

Structured payloads such as Wi-Fi (WIFI:T:WPA;S:…) or vCards (BEGIN:VCARD) are shown as raw text. That is the actual data encoded in the code — copy it into the matching generator to read it in a friendly form.

Privacy

Every frame is decoded on your device. The camera feed and any image you upload are processed locally and never sent to a server, stored, or shared.

Frequently asked questions

Is the camera feed sent to a server?

No. The camera stream is handed directly to the page through the browser's WebRTC API and decoded on your device by jsQR. The video frames never leave your browser, and the camera is released the moment a code is decoded or you tap Stop.

Why won't my camera start?

Camera access requires a secure (HTTPS) page and your explicit permission. If you denied access, reload and choose Allow. On desktop, confirm no other app is holding the camera. You can always fall back to uploading an image of the code instead.

Does it work without an internet connection?

Once the page is loaded, decoding runs entirely in your browser, so it works offline. The only network requirement is loading the page itself; the camera capture and jsQR decoding need no connection.