How to use it
- Choose a picture or a screenshot, paste it with Ctrl+V (⌘V on Mac), drop it on the box, or start the camera and hold the barcode in front of it.
- Read the type of each barcode and its digits, grouped as they are printed under the bars.
- Check the check digit, and for UPC codes the same number as EAN-13 or UPC-A.
- Copy the data or share it.
Rules and limits
What the scanner reads and shows
- Barcodes with one row of bars: EAN-13, EAN-8, UPC-A, UPC-E, Code 128 (GS1-128 when it starts with FNC1), Code 39, Code 93, ITF and Codabar, read by zxing, the open-source decoder built into the page. The bars may run across or up and down.
- EAN and UPC: the digits as printed under the bars and the check digit computed again by the GS1 rule (weights 3 and 1 from the right). The decoder reads these codes only with a right check digit. UPC-E is also shown as the UPC-A number it stands for, and an EAN-13 that starts with 0 as UPC-A: their bars are the same.
- ITF: 6, 8, 10, 12, 14 or more digits; with 14 digits as ITF-14 with its GS1 check digit, which the decoder does not check, so a wrong one is shown with the right digit. ITF with 2 or 4 digits is not read: such short patterns turn up by chance in other pictures.
- Code 39 as plain Code 39: Full ASCII pairs such as
+Astay as they are, and a mod 43 check character stays in the text; the page says whether the last character matches. Codabar keeps its start and stop letters (A–D). - GS1-128: the separator after a field of variable length (FNC1) is shown as ␝ and copied as the GS character (code 29). The fields are not split into application identifiers.
Tested limits
- Tested with pictures drawn by this site’s barcode generator (214 files: every symbology and option, 2–4 px per module) and by zxing-cpp’s own writer (270 pictures of the 9 symbologies at 2–4 px per module): every one was read, with the same content as the separate decoder zxing-cpp reads.
- Turned a quarter, a half or three quarters: 18 of 18 read. Six codes in one picture: 6 of 6 in a column 40 px apart and 6 of 6 in two columns. A Codabar code with another code beside it on the same rows: neither was read (one test picture), so give Codabar a picture of its own.
- Time on the test laptop (the page’s code run in Node.js 24, not timed in the browser): an EAN-13 in a 1000 × 750 picture 0.7–1.3 s, in 1600 × 1200 about 2.2 s; a picture without a code takes longest, up to 6 s for 1000 × 750 of grey noise.
- Not read: EAN and UPC codes with a wrong check digit, ITF with 2 or 4 digits (3 of 3 test pictures refused) and square codes. Not tested: real photos, printed labels and the camera; the camera uses the QR code reader’s code (frames of at most 900 px, the next one after the last is read).
Questions and answers
Which codes can it read?
Barcodes with one row of bars. QR codes, Data Matrix, Aztec and PDF417 are square or stacked codes: open them in the QR code reader, which reads those too.
Why is a barcode with a wrong check digit not read?
A wrong check digit almost always means the scanner saw a bar wrongly, so the decoder rejects the reading, as shop scanners do. You then see “No barcode found” rather than a wrong number.
Does it tell me the product or the country of origin?
No. The page does not look the number up anywhere. The first digits of an EAN show which GS1 member organisation gave out the company prefix, not where the product was made.
Is my picture uploaded?
No. The picture and the camera frames are read in your browser and never leave your computer or phone; the page sends nothing.
Related tools
QR Code is a registered trademark of DENSO WAVE INCORPORATED.