How to read a barcode from an image
- Get the image in. Drop a file on the box, click to choose one, or paste a screenshot from your clipboard.
- Or use the camera. Press Use camera, allow access, and hold the barcode level in the frame.
- Read the result. You get the value, the barcode type, and for retail numbers a note on whether the check digit is valid.
- Reuse it. Copy the value, or open it in the matching generator to make a clean new image.
What you can use it for
- Proofing a print run. Photograph a proof and confirm it reads as the number you meant before you approve 5,000 boxes.
- Checking supplier packaging. Make sure the barcode a factory printed matches the number on your listing.
- Getting a number off a product. Read the UPC from a photo instead of typing 12 digits by hand.
- Replacing a damaged barcode. Read what you can from the old label, then regenerate it cleanly.
- Finding out what type a barcode is. Useful when a customer sends a sample label and asks you to match it.
Barcode types and what they look like
| Type | Looks like | Usually found on |
|---|---|---|
| UPC-A | 12 digits under bars, one digit hanging off each end | Retail products in North America |
| EAN-13 | 13 digits, one hanging off the left | Retail products elsewhere, and books |
| Code 128 | Dense bars, letters and digits under | Shipping labels, FNSKU labels, stock labels |
| Code 39 | Wider and sparser, capitals only | Part labels, ID badges |
| ITF | Thick bars, often in a black frame | Outer cartons |
| Data Matrix | Small square with an L-shaped solid border | Electronics, medical packs |
| QR Code | Square with three corner squares | Links on packaging and signs |
When a barcode will not read
If the scanner finds nothing, the image is nearly always the cause. Work through these in order:
- Crop closer. The barcode should fill most of the picture.
- Keep the white margins. Readers need the blank space at each end to find where the barcode starts and stops.
- Remove glare. Glossy packaging reflects light across the bars. Tilt the product or move the light.
- Hold it level. A linear barcode at a steep angle may not be read end to end.
- Check focus. Phone cameras struggle very close up. Move back and crop afterwards.
If a sharp, level, well-lit image still fails, the barcode itself may be faulty: bars printed too thin, a stretched image, or no quiet zone. The guide to barcode size and printing lists the causes.
A valid scan is not the same as a valid number
The scanner confirms what the bars say and whether the check digit adds up. For more detail on a retail number, paste it into the check digit calculator to see the working. Neither tool can tell you who the number is registered to. For that, and for when it matters, read whether you need a GS1 UPC.
Remaking a barcode
After a successful read, the result links to the right generator with the value filled in. You can also go straight to the barcode generator and choose the type yourself.