QR Code Reader
Decode a QR code from a screenshot, photo or your webcam and see the content before you open it. URLs, Wi-Fi, contacts and phone numbers are labelled by type.
The interactive tool loads here when JavaScript runs.
About this toolWhat is the QR Code Reader?
The QR Code Reader decodes QR codes from an image file or from your camera and shows the raw content as text. That lets you read a code on your screen, in a screenshot or in a PDF export without pulling out a phone, and check where a link really goes before visiting it.
Each result is labelled by type: URL, Wi-Fi, email, phone, SMS, location, contact card, calendar event or plain text. Every result can be copied, and http and https links get an Open button. Links never open automatically.
Decoding runs in your browser using the open-source qr-scanner library. Images and camera frames are not uploaded. The reader handles QR codes only, not 1D barcodes such as EAN or Code 128.
- Decode from image files or a live camera
- Content type labels for URL, Wi-Fi, email, phone, SMS, geo, vCard and events
- Links never open without a click, and only http or https links can be opened
- Clear messages for denied permission, missing camera or a busy camera
- qr-scanner engine with native BarcodeDetector when available
- Runs locally; images and video stay on your device
Updated
How to use the QR Code Reader
- To read a saved image, click the file field under Upload Image File and choose a PNG, JPEG or other image up to 10 MB.
- To scan live, click Start Camera, allow camera access when the browser asks, and hold the code inside the highlighted region.
- Read the result under Scan Results. The badge shows the detected content type and the time of the scan.
- Click Copy to put the content on your clipboard, or Open for http and https links you have checked.
- Click Stop Camera when you are done, and Clear All to empty the results list.
Worked examples
A Wi-Fi network code
Input
A QR code containing WIFI:T:WPA;S:Office;P:correct-horse;;
Output
Type badge "wifi", with the network name and password visible in the text
Wi-Fi codes use the WIFI: scheme with T (security type), S (network name) and P (password) fields. Reading it here is a quick way to recover a guest network password from a printed sign.
Checking a link before visiting it
Input
A QR code on a parking meter sticker
Output
https://pay-parking.example.top/... labelled "url"
Seeing the full domain first is the main defence against QR phishing. A payment sticker that points to an unfamiliar domain is a reason to stop.
Background and insight
QR codes were created in 1994 by Denso Wave for tracking car parts and standardised as ISO/IEC 18004. A decoder finds the three square finder patterns in the corners, works out the grid size and perspective from them, samples each module as dark or light, and then uses Reed-Solomon error correction to repair damaged or misread modules before turning the bits back into text.
qr-scanner, the library behind this page, uses the browser's built-in BarcodeDetector where one exists (Chrome on Android and macOS, for example) and otherwise runs its own decoder, derived from the jsQR port of Google's ZXing, in a Web Worker so the page stays responsive.
Camera scanning needs two things from the browser: a secure https page and your permission. The first time you click Start Camera the browser asks; if you decline, it remembers that choice for the site and later attempts fail immediately until you reset the permission in the address bar or site settings. The reader asks for the rear camera on phones and releases the camera as soon as you click Stop Camera or leave the page.
Common use cases
Codes on your own screen
Decode a QR code in an email, a PDF or a web page by taking a screenshot and uploading it.
Checking for QR phishing
See the full destination of a code from a poster, parcel or parking meter before opening it.
Testing generated codes
Confirm that codes from the QR Code Generator or your own app encode exactly the text you intended.
Recovering Wi-Fi and contact details
Read the network name and password from a Wi-Fi code, or the fields of a vCard, as plain text.
Tips and limitations
- Crop large screenshots so the code fills more of the image. Very small codes in a large picture are easy to miss.
- If the camera shows a black box, another app or browser tab may already be using it. Close it and try again.
- Camera access only works on https pages. If permission was denied before, reset it from the lock icon in the address bar.
- The same code is recorded once while it stays in view, and again only after a few seconds, so the results list does not fill up with duplicates.
- Light-on-dark (inverted) codes and heavily stylised codes with logos are harder to read. Try a cleaner photo or better lighting.
Sources and further reading
- ISO/IEC 18004:2024 QR code bar code symbology specification, International Organization for Standardization
- History of QR Code, Denso Wave. The 1994 origin in car-parts tracking
- BarcodeDetector, MDN Web Docs. The built-in detector qr-scanner uses where available
- qr-scanner, Nimiq on GitHub. The library behind this page
- MediaDevices: getUserMedia() method, MDN Web Docs. Camera access, permissions and the secure context rule
Frequently asked questions
How do I scan a QR code from a screenshot or image file?
Save the screenshot, then choose it in the Upload Image File field. The code is decoded in your browser and the content appears under Scan Results, ready to copy. Cropping to the code helps if the screenshot is large or the code is small.
How can I scan a QR code that is on my computer screen?
Take a screenshot of the area with the code (Win+Shift+S on Windows, Cmd+Shift+4 on macOS) and upload the image here. Alternatively, click Start Camera on a second device and point it at the screen.
Why does the QR code reader say the camera is not working?
The usual causes are a denied permission, a page not served over https, or another app holding the camera. The error message tells you which. Reset the permission from the address bar, close other video apps, and click Start Camera again.
Is it safe to open links from a QR code?
Only after you have read them. QR phishing replaces genuine codes with stickers that point to look-alike payment or login pages. This reader shows the full text first and never opens links on its own, so check the domain before clicking Open.
Can this QR reader scan barcodes like EAN-13 or UPC?
No. The underlying qr-scanner library decodes QR codes only. Product barcodes such as EAN-13 and UPC-A, Code 128 and Data Matrix codes are not recognised, and the page will report that no QR code was found in the image.
Does the QR code reader upload my images or camera video?
No. Image files and camera frames are decoded in your browser, either by the built-in BarcodeDetector or by the library's decoder running in a Web Worker. Only anonymous events such as "scanned a URL" are counted.
Is there an in-depth guide to the QR Code Reader?
Yes. “QR Codes for Developers: Error Correction, Size and Scannability” covers the background, how it works, common pitfalls and worked examples. Read the full guide.
Related Tools You May Like
Free, in-browser tools that pair well with this one.