Barcode Scanner

Not just QR: EAN, UPC and Code 128 as well, when the decoder supports them.

Camera access is requested only when you press the button. Frames are decoded on this device and discarded.

Barcode and QR are different symbologies, and support depends entirely on which decoder ends up running. The native BarcodeDetector supports a fixed list of formats on each platform; the WebAssembly ZXing build supports more. This page reports which decoder is active so the result is not a mystery.

For retail formats — EAN-13, UPC-A, Code 128 — the practical use is checking a product code, not inventory management. There is no product database lookup here, only the decoded number.

How to use it

  1. Open the camera or upload an image of the barcode.
  2. The format and the decoded value are shown together.
  3. Copy the number if you need it.

Why some barcodes will not scan in some browsers

A 1D barcode needs more horizontal resolution than a QR code of the same size, because the information is encoded in the relative widths of bars. A webcam at 720p held at arm's length often does not have enough pixels per bar for EAN-13, while the same setup reads a QR code easily.

Formats like PDF417 and DataMatrix fall outside the native API entirely, so they only work when the WebAssembly decoder loads. If a format fails silently, that is the likely reason.

Reviewed 2026-10-21. This tool runs entirely in your browser — no server, no account, and nothing you generate is stored.

Frequently asked questions

Which barcode formats are supported?

Through the native API: EAN-13, EAN-8, UPC-A, UPC-E, Code 128, Code 39, ITF and Codabar on most platforms. The ZXing fallback adds DataMatrix, PDF417, Aztec and more.

Can it look up what a product is?

No. It returns the encoded number only. Resolving an EAN to a product name needs a product database, which this tool deliberately does not include.

Why does a barcode fail when QR codes work?

1D barcodes need more pixels across the bars. Move closer, improve lighting, or use a higher-resolution image.

Related tools

More from QR codes.