QR code and barcode reader

Read QR codes and barcodes from a picture (drop, paste or pick) or live from your camera.

loading QR code and barcode reader
About this tool

What is a QR code and barcode reader, and when do you need one?

A QR code reader turns the black-and-white pattern of a QR code back into the text it holds: a web address, a Wi-Fi login, a contact card, a Pix payment, plain text. This one reads from a picture (a screenshot, a photo, an image sent by chat, a PDF page saved as an image) or live from your camera, and it also reads common barcodes, such as the EAN-13 on a product or a Code 128 label.

You need it when the code is on a screen and you cannot point a phone at it, when you want to see where a code leads before opening it, when you have a photo of a code and no scanner app, or when you need the password out of a Wi-Fi QR code. It shows what is inside in a readable form (network and password, name and phone, address and subject) instead of just jumping to it.

The reading happens on your device. Pictures are decoded in your browser and camera frames are analyzed locally a few times per second; nothing is recorded or sent. The browser's own barcode detector is used when it has one; otherwise a WebAssembly reader (zxing) that ships with this site does the work. No account, no watermark.

How to read a QR code from an image or the camera

  1. In Where to read from, choose From a picture or Camera.
  2. For a picture, drop one or several images on the page, press Choose pictures or paste with Ctrl+V. JPG, PNG, WebP, GIF, BMP, AVIF and HEIC are accepted. The buttons A link and A Wi-Fi network load examples, so you can see a result right away.
  3. For the camera, press Start camera and allow it in the browser prompt. The rear camera is preferred on a phone; if you have several, pick one in Camera. Point it at a code: the text appears as soon as it is found. Use Pause, Resume or Stop camera whenever you want.
  4. Read the result. You see Codes found: N, each code numbered on the picture with its format (for example QR Code or EAN-13), its text, and which reader found it.
  5. Use the actions for the kind of content: Copy password for Wi-Fi, Save contact (.vcf) for a contact, Open link for a web address, or Copy all texts when several codes were found.

Examples

A link in a restaurant QR code

The code holds https://example.com/menu. The tool shows the full address, labeled Link to example.com. Open link asks for confirmation: "This opens example.com in a new tab. Codes can point anywhere: check that the address is the one you expect." Only http and https links can be opened from here.

The Wi-Fi password from a router sticker

The text is WIFI:T:WPA;S:HomeNet;P:blue-kite-42;;. The tool shows Network HomeNet, Password blue-kite-42 and Security WPA, and Copy password puts it on the clipboard. An open network says "open (no password)".

A contact card

The text is MECARD:N:Silva,Ana;TEL:+5511999990000;EMAIL:ana@example.com;;. You get Name Ana Silva, Phone and Email, and Save contact (.vcf) downloads a vCard. A code that already contains a vCard is saved as it is.

A product barcode

A photo of a book with the number 4006381333931. The result says EAN-13 and shows the digits. The tool reads the barcode; it does not look up the product.

A Pix code

A code starting with 000201 that contains br.gov.bcb.pix is recognized as Pix, and the action Open in the Pix tool appears. Similarly, a web address offers the URL parser.

Common errors and how to fix them

  • "No code found in {file}. Use a sharper picture where the whole code is visible, with some margin around it, or crop closer to the code.": crop around the code with Crop image, keep the quiet margin and avoid glare.
  • "Could not read {file}. It may be damaged or in a format this browser cannot open.": save the picture again as PNG or JPG.
  • "The camera was blocked.": open the site settings (the icon next to the address), allow the camera and press Start camera again.
  • "No camera was found.": connect one, or read a photo of the code.
  • "The camera is being used by another app or tab.": close it and try again.
  • "This browser cannot use the camera here.": the camera needs a secure page (HTTPS) and a browser that allows it. Read a photo instead.
  • A very large photo is slow or misses a tiny code: for the WebAssembly reader, pictures are scaled so the long side is at most 2,400 px. A code that fills too little of the photo may disappear; crop closer.

Frequently asked questions

How do I read a QR code without a phone?

Take a screenshot, paste it here with Ctrl+V and the content appears. You can also drop an image file, or use the webcam of a computer.

Is it safe to open the link inside a QR code?

A code can point anywhere, which is why this tool shows the full address and asks you to confirm before opening it in a new tab. Check the domain letter by letter; a code stuck over another one on a poster is a known trick. Links that are not web addresses are not opened from here.

Which codes can it read?

QR Code, Micro QR, rMQR, Data Matrix, Aztec, PDF417, MaxiCode, EAN-13, EAN-8, UPC-A, UPC-E, Code 128, Code 39, Code 93, Codabar, ITF and the GS1 DataBar family (the WebAssembly reader handles the full list; a browser's own detector may support fewer). A QR code can hold up to 2,953 bytes, while a product barcode only holds a number.

Does it work on iPhone and Android?

Yes, in any current browser. On a phone, the camera mode uses the rear camera by default.

Is my camera or my picture sent anywhere?

No. Reading happens on your device and nothing is recorded or uploaded.

How do I make a QR code instead?

Use QR code generator, or Wi-Fi QR code generator to share a network without typing the password.

Report a problem