How do I read a barcode?
Read EAN, UPC and Code 128 barcodes with your camera or a photo, with the check digit verified.
What you enter stays on your device while you use this tool. Opening a shared link sends the settings in its address to HowToolbox to prepare the page.
The camera starts only when you choose. The image stays on your device.
Image or text
You can also paste an image. Files stay on your device.
Paste what a code says to check it. Scanned codes appear here too.
Result
Nothing scanned yet
You'll see
- What the code holds
- Where a link really leads
- Warning signs in plain words
- Wi-Fi, contact and payment details
Read EAN, UPC and Code 128 barcodes with your camera or a photo, with the check digit verified.
How to use
- Choose Barcodes in Look for, then press Start camera and hold the barcode across the wide frame, or choose a photo of it.
- Read the number and its type: product, book (ISBN) or another barcode.
- Check the check digit line: Correct means the number is consistent, Wrong means a misread or an invented number.
Check digits of sample product numbers
| Number | Digits | Type | Check digit |
|---|---|---|---|
| 4006381333931 | 13 | Product (GTIN) | Correct |
| 9780306406157 | 13 | Book (ISBN) | Correct |
| 400638133393 | 12 | Product (GTIN) | Wrong: misread, or not a real product number |
The last number is a 12-digit number with a wrong check digit, as a misread would give.
How it works
A product barcode is a number printed as bars. The scanner reads the bars into the digits and the last digit is a check digit: multiply the other digits alternately by 3 and 1, starting with 3 at the right, add them up, and the check digit is what brings the sum up to the next multiple of ten. Because the rule is so simple, a single misread digit almost always breaks it, which lets the reader tell a clean scan from a bad one.
The common retail barcodes are EAN-13, EAN-8, UPC-A and UPC-E, and books use an EAN-13 that starts with 978 or 979 as their ISBN. Other linear codes such as Code 128, Code 39 and Codabar hold free text or an internal number that this check digit does not apply to. The Finnish bank barcode on invoices is a longer, 54-digit code.
The check digit proves the number is well formed, not that the product exists: it says nothing about price, maker or stock, and the page never looks the number up. The table checks a few sample numbers; the example works one out step by step.
Worked example
What is the check digit of the product number 400638133393?
- Multiply the digits by 3 and 1 alternately from the right and add them: the sum is 89.
- The next multiple of ten is 90.
- 90 − 89 = 1, so the full number is 4006381333931.
The check digit is 1, which makes the number 4006381333931.
Sources
- EPC069-12: Quick Response Code, Guidelines to Enable the Data Capture for the Initiation of an SCTUsed for: definitions
- Finanssiala: Pankkiviivakoodi-opas (Finnish bank barcode guide)Used for: definitions
- GS1: General SpecificationsUsed for: definitions
- ISO/IEC 18004:2015: QR Code bar code symbology specificationUsed for: definitions, limits and cut-offs
- ZXing: Barcode ContentsUsed for: definitions
Frequently asked questions
Which barcodes can it read?
EAN-13, EAN-8, UPC-A, UPC-E, Code 128, Code 39, Code 93, Codabar and ITF. Product numbers get their check digit verified, and ISBN numbers are marked as books.
Can it read a Finnish bank barcode on an invoice?
Yes. The 54-digit bank barcode shows the IBAN, amount, reference and due date. Compare them with the invoice before you pay.
Why does the check digit say Wrong?
Most often one digit was misread because of glare, a crease or a partial view. Scan again with the barcode flat and fully inside the frame. If it stays wrong, the number may be an internal code or invented.
Does the scanner tell me the product name or price?
No. It reads the number and checks that it is well formed, but never looks it up anywhere, so nothing about the product, the maker or the price is known to the page.




