Barcode Scanner

Upload a photo of a barcode or point your webcam at it to read EAN-13, UPC, Code 128 and other barcodes, with the GS1 country prefix and a check-digit test. Nothing is uploaded.

Choose a barcode image Drop it here or paste a screenshot with Ctrl+V · Images never leave your device

Check a barcode number

QR Code & Barcode ScannerScan any QR code or barcode instantly and keep a history of codes you create.
Get the iPhone app

About the Barcode Scanner

This online barcode scanner reads the barcodes printed on products, books and shipping labels from a picture or a live camera, and turns them into numbers and text – no scanner hardware or app needed, on desktop or mobile.

For retail barcodes (EAN-13, UPC-A, UPC-E) it also shows the GS1 prefix (for example 000–139 = USA & Canada), whether the check digit is valid and, for books, the ISBN-10. If a barcode is too damaged to scan, type the digits into the box below to check them.

How to use

  1. Click Choose a barcode image to upload a photo, or paste a screenshot with Ctrl+V.
  2. To use a camera, click Scan with camera and hold the barcode horizontally so it fills the box.
  3. See the barcode type, number, GS1 prefix and check digit. If a picture has several barcodes, all of them are listed.
  4. Use Copy number or Search the web to look up the product.

Supported barcode types

TypeLengthTypical use
UPC-A / UPC-E12 / 8 digitsRetail products in the US and Canada
EAN-1313 digitsRetail products worldwide, books (ISBN)
EAN-88 digitsSmall packages
Code 128Variable, letters and digitsShipping labels, logistics, inventory
Code 39Variable, letters and digitsIndustrial and asset labels
ITF / ITF-14Even number of digitsCartons and outer cases
Codabar, GS1 DataBarVariableLibraries, blood banks, fresh produce

2D codes such as QR, Data Matrix and PDF417 are read too. To see Wi-Fi or contact details from a QR code nicely formatted, use the QR Code Scanner.

What the first digits (GS1 prefix) mean

The first two or three digits of an EAN-13 identify the GS1 member organization that issued the company prefix. A UPC-A code is an EAN-13 with a leading 0, so US and Canadian products fall in 000–139.

PrefixCountry or use
000–019, 060–139USA & Canada
500–509United Kingdom
400–440Germany
450–459, 490–499Japan
690–699China
930–939Australia
978–979Books (ISBN)
977Magazines and periodicals (ISSN)
020–029, 200–299In-store use (weighed items, store labels)

Keep in mind that the prefix shows where the company registered its barcode, not the country of origin. Check the packaging for where a product was actually made.

How the check digit is calculated

The last digit of a UPC or EAN is calculated from the others. Starting from the right, multiply the digits alternately by 3 and 1, add them up, and subtract the last digit of the sum from 10 (a result of 10 becomes 0).

Example: 03600029145 → sum 58 → 10 − 8 = 2, so the full UPC-A is 036000291452. A mistyped number almost always fails this test.

FAQ

Can I see the product name or price from a barcode?

No – a barcode only stores a number. To find the product, use the “Search the web” button or a product database such as GS1’s Verified by GS1 lookup.

Does a US prefix (000–139) mean the product was made in the USA?

Not necessarily. It only means the company registered its barcode with GS1 US. Imported goods and products made abroad can carry it too; the label on the package tells you the country of origin.

The barcode won’t scan – what can I do?

Fill the box with the barcode held horizontally, keep it in focus about 10–20 cm (4–8 in) from the lens, and tilt shiny packaging slightly to avoid glare. If it still fails, type the digits printed under the bars into “Check a barcode number”.

Are my photos or camera images stored?

No. Everything is processed in your browser and no image or video is sent or saved anywhere.