Camera / Barcodes
Barcode Scanner Online: Scan EAN, UPC, Code 128 with Your Camera
Scan barcodes with your phone or laptop camera, or read them from a photo: EAN-13, EAN-8, UPC-A, UPC-E, Code 128, Code 39, ITF and QR. Keep a list and export CSV.
Barcode Scanner Online: Scan EAN, UPC, Code 128 with Your Camera: Read the barcodes on products, parcels, shelf labels and cartons with your phone or laptop camera, or from a photo or screenshot. The scanner reads EAN-13, EAN-8, UPC-A and UPC-E retail codes, Code 128 and Code 39 labels, ITF carton codes, and QR codes. Point the rear camera at a code and fill most of the frame; each new code is added to a list with a short beep, and scanning the same item again raises its count, so the list doubles as a quick stock count. On phones that allow it you can switch on the torch or zoom in. For EAN and UPC codes the check digit is verified and the GS1 prefix region is shown; Code 128 has its own check character. Code 39 and ITF carry no check digit, so confirm important values by eye. Download the list as a CSV file with the time each code was first scanned. Recognition runs on your device with the browser's own barcode detector where available and this page's decoder everywhere else, so it also works in Firefox, Safari and Windows browsers. The page does not look up product names or prices. To make a barcode, use the Barcode Generator; for QR codes alone, the QR Code Scanner. Runs 100% locally in your browser with zero server file uploads.
- Category
- Everyday tools
- Runs
- In your browser
- Cost
- Free · no sign-up
- Availability
- Ready to use
Runs entirely in your browser
Hold the barcode inside the frame, filling most of its width, in good light. Frames are read on your device and never sent anywhere.
How the scanner reads a barcode
Many scan lines are sampled across the image at several angles. Bar edges are located to a fraction of a pixel, both against a local light/dark level and at peaks of the brightness gradient, so thin bars that blur together are still separated. Each line is decoded with every symbology in both directions, using the quiet zones, guard patterns and character tables in the GS1 General Specifications for EAN and UPC, ISO/IEC 15417 for Code 128, ISO/IEC 16388 for Code 39 and ISO/IEC 16390 for ITF. A value is reported only when several lines agree and, where the symbology has one, its check digit matches.
Check digits and prefixes
EAN and UPC end in a modulo-10 check digit weighted 3 and 1, and Code 128 ends with a modulo-103 check character, so a misread bar almost always fails the check. The first three digits of an EAN-13 are a GS1 prefix: they identify the GS1 member organisation that issued the company number, not the country of origin. QR codes are read with jsQR (Apache 2.0) or the browser's detector.
How to use it
- Start the camera and hold the barcode inside the frame, or open a photo of it.
- Each new code is added to the list with its symbology and check-digit status.
- Copy a value, or download the whole list as CSV.
Privacy & limitations
Camera frames and images are read on your device and never uploaded.
Related tools
Frequently asked questions
Which barcodes can it read?
EAN-13, EAN-8, UPC-A and UPC-E retail codes, Code 128, Code 39, ITF (including ITF-14 carton codes) and QR codes, from the camera or from a photo.
Does it work on a laptop or in Firefox and Safari?
Yes. Browsers without a built-in barcode detector use this page's own decoder, which runs in any modern browser. A laptop webcam works if it can focus on the code; holding the code 15 to 25 cm away usually helps.
Why won't my barcode scan?
Fill most of the frame with the barcode, keep it flat and in focus, and avoid glare across the bars. Very small or blurred codes, and codes cut off by the edge of the frame, cannot be read; move closer or use the zoom.
Can it tell me what product a barcode is?
No. The scanner reads the number in the barcode and checks it, but it does not search product or price databases. The GS1 prefix only says which national GS1 organisation issued the company number, not where the product was made.
Can I use it for a stock count?
Yes. Keep scanning; repeated items raise the count instead of adding new rows. Download the list as CSV with the code, its type, the count and the time it was first scanned.
Is the check digit always verified?
For EAN, UPC and Code 128 the check digit is part of the symbol and must match, so a misread is rejected. Code 39 and ITF have no check digit, so the scanner asks several scan lines to agree before reporting one.
Free tool · runs in your browser · no account required