Utilities

QR & Barcode Scanner

Scan QR codes and barcodes with your camera or from an image. See the decoded text and format, check links before opening them, and read Wi-Fi and contact codes.

QR & Barcode Scanner
Scan with your camera, or drop, choose or paste an image. Codes are read on your device and nothing is uploaded.

Your browser will ask for permission. The video stays on your device.

About this tool

The QR & Barcode Scanner reads QR codes, Data Matrix, Aztec, PDF417 and common barcodes such as EAN-13, UPC-A, Code 128 and Code 39, right in your browser. Point your camera at a code and it is detected automatically, with a beep or vibration when it finds one; pick a different camera or turn on the torch where your phone supports it. You can also drop, choose or paste a screenshot or photo, and every code in the image is read. Each result shows the decoded text and the barcode format, plus actions that fit the content: links are shown in full with warnings about unencrypted, look-alike or disguised addresses before you choose to open them (nothing opens on its own), Wi-Fi codes show the network name, security type and password, contact cards list names, numbers and emails and can be saved as a .vcf file, and email, SMS, phone and map codes get matching buttons. A short history keeps the scans from this visit. Images and camera frames are processed on your device and never uploaded.

How to use the QR & Barcode Scanner

  1. Click Start camera and allow camera access, or switch to Image and drop, choose or paste a picture of the code.
  2. Hold the code inside the frame. It is detected automatically, with a beep when it is read.
  3. Read the decoded text and format. Links, Wi-Fi networks, contacts, emails, phone numbers and locations get their own buttons.
  4. For a link, check the full address and any warnings before clicking Open link.
  5. Find earlier scans from this visit in the history list, and copy any of them.

Use it from your code

The QR & Barcode Scanner is also a REST API endpoint. Create a free API key and call it from your own scripts and apps.

curl -X POST https://opentools.ca/api/v1/tools/qr-barcode-scanner \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@photo.jpg" \
  -F "formats=all"

Give us your feedback

Help us improve QR & Barcode Scanner!

Frequently asked questions

Is my camera feed or image uploaded?

No. Codes are read on your device, either by your browser's built-in barcode detector or by a ZXing decoder that runs in the page as WebAssembly. Camera frames and images never leave your browser.

Will it open links automatically?

No. A scanned link is shown in full first, with warnings if it is not encrypted, points at a bare IP address, uses look-alike international characters, or hides the real site behind an "@". It only opens when you click Open link, and only http and https links can be opened.

Which barcode types can it read?

QR codes (including Micro QR and rMQR), Data Matrix, Aztec, PDF417, EAN-13, EAN-8, UPC-A, UPC-E, Code 128, Code 39, Code 93, Codabar, ITF and GS1 DataBar. Choosing "QR and 2D codes" or "Barcodes" instead of all formats makes live scanning a little faster.

Can it connect me to a scanned Wi-Fi network?

Browsers are not allowed to join Wi-Fi networks, so the scanner shows the network name, security type and password with copy buttons. Your phone's own camera app can usually join the network directly.

Why is the torch button missing?

The torch only appears when the browser and camera support it, which is mostly Chrome on Android with the rear camera. Laptop webcams and iPhones in the browser do not offer it.

It will not read my code. What can I try?

Move closer so the code fills more of the frame, avoid glare, and make sure it is in focus. For screenshots, crop to the code if the image is very large. Damaged codes or codes printed with very low contrast may not be readable.

QR & Barcode Scanner screenshot