Scan a QR Code
Point your camera at a code, or drop in a screenshot. Decoding happens on your own device — the image never leaves the browser and nothing is logged.
Camera
IdleResult
Stays on this deviceDecoded content will appear here. If the code holds a link, an “Open link” button is added so you can inspect where it really points before visiting.
Be careful with unexpected codes. A sticker on a parking meter or a poster can point anywhere. Read the decoded text — not just the preview thumbnail — before opening a link.
Browser support
Camera decoding needs HTTPS (or localhost) and a browser with getUserMedia — current Chrome, Edge, Safari and Firefox all qualify. Image upload works everywhere, including older browsers, and is the fallback when camera permissions are blocked.
Before you visit a link you just scanned
QR codes are opaque by design — you cannot see the destination until it is decoded. That property is what makes them convenient and also what makes them a target. A sticker placed over a legitimate code on a parking sign or a restaurant table can send you anywhere.
The safe pattern is simple: decode first, read the value, then decide. This scanner shows the raw string rather than silently opening it, which is the behaviour you want from any scanner you use in public.
What the decoded value might be
| Prefix | Type | What a phone does |
|---|---|---|
https:// | Web link | Offers to open the browser |
WIFI: | Wi-Fi credentials | Prompts to join the network |
BEGIN:VCARD | Contact card | Offers to add a contact |
tel: | Phone number | Opens the dialler |
sms: | Text message | Opens the messaging app |
BEGIN:VCALENDAR | Calendar event | Offers to add the event |
Anything else — plain text, a serial number, a coupon code — is simply displayed for the user to read or copy.
Why an image might fail to decode
- Too small. Under about 100 pixels per side, the module grid blurs into noise.
- Low contrast. Grey-on-white or a coloured code on a busy photo background.
- Glare or shadow. A bright specular highlight wipes out a whole corner.
- Perspective. A code photographed at a steep angle needs a scanner that rectifies it; jsQR tolerates a fair amount but not everything.
- Screen moiré. Photographing a code displayed on another screen introduces interference patterns.
Frequently asked questions
Is my camera feed uploaded anywhere?
No. Frames are drawn to a canvas and decoded in JavaScript on your device. There is no network request carrying image data, which you can confirm in the browser's network panel.
The camera does not start — what is wrong?
The most common cause is an insecure origin. Camera access requires HTTPS or localhost; a plain http:// page is blocked by the browser. The second cause is a denied permission — check the padlock icon in the address bar. Image upload always works as a fallback.
Can it scan multiple codes at once?
No, it returns the first code it finds with enough confidence. Point the camera at one code at a time for a reliable read.
Does it handle inverted or coloured codes?
Yes — decoding runs in both normal and inverted mode, so light-on-dark codes work too. Extreme colours can still fail if the luminance difference between foreground and background is too small.