Scan a barcode
Allow the camera and hold the barcode inside the frame, flat and about 10–20 cm away. Codes are read automatically several times per second; each new one appears in the list with its format and value. Copy the value, search the web for a product code, or open a link. You can also scan an image (a photo or screenshot).
Supported formats
| Type | Formats | Found on |
|---|---|---|
| Retail (1D) | EAN-13, EAN-8, UPC-A, UPC-E | Products in shops worldwide |
| Logistics (1D) | Code 128, Code 39, Code 93, ITF, Codabar, GS1 DataBar | Shipping labels, pallets, libraries, coupons |
| 2D | QR code, Data Matrix, PDF417, Aztec | Tickets, boarding passes, IDs, medicine packs |
For EAN and UPC codes, the check digit is verified, a quick sign that the code was read correctly.
How it works
Where the browser has a built-in barcode reader (Chrome on Android, macOS and ChromeOS), it's used: fast and often hardware-accelerated. Elsewhere, the page uses ZXing, the most widely used open-source barcode library, compiled to WebAssembly and served from this site. Either way, decoding happens on your device.
Tips
- Light: avoid glare on shiny packaging; tilt slightly.
- Distance: too close and the camera can't focus; 10–20 cm suits most codes.
- Long 1D codes: hold the phone sideways so the code fills the width.
- Damaged codes: try the image scan with a sharp, straight photo.
Scanning QR codes with Wi-Fi details, links and contacts? The QR Scanner shows them in a friendlier way.
Private by design
The camera picture is analysed in your browser, a few times per second, on your device. Nothing is recorded, stored or uploaded, and the camera turns off when you leave the page.