About the barcode reader
This tool reads a barcode or QR code from an image. Drop a photo of a barcode and it decodes the number or text inside — supporting common formats like EAN, UPC, Code 128, Code 39, QR, Data Matrix and PDF417. It uses your browser built-in barcode detector, so the image stays on your device.
How Barcode Reader works
How to use it
- Drop or choose an image containing a barcode or QR code.
- The tool scans it automatically.
- Copy the decoded value, or open it if it is a link.
How it works
The tool uses the browser BarcodeDetector API to locate and decode the code in your image. Because the detection runs locally, your picture is never uploaded. It can recognise many one-dimensional and two-dimensional formats.
For best results
Use a sharp, well-lit image where the barcode is in focus and not at a steep angle. Cropping closely to the code helps. This feature is available in Chrome, Edge and most Android browsers; some browsers do not include the detector.
Common uses
- Decode a barcode from a photo
- Read a QR code from an image
- Look up a product EAN or UPC number
- Extract a link from a QR code
- Read a Code 128 or Code 39 barcode
- Decode a Data Matrix or PDF417 code
- Check what a barcode contains
- Read a code without a scanner app