Barcode not scanning? A troubleshooting checklist

When a barcode fails, the cause is almost always in one of three places: the print, the data, or the scanner's settings. Start with the two-minute test below, because it tells you which of the three you are dealing with. Then find your symptom in the checklist.

The two-minute test

  1. Make a fresh barcode. Type the same value into the bulk barcode generator with the same barcode type, and scan it from the screen with a camera-based scanner or a phone app. Laser scanners usually cannot read screens, so use a camera for this step.
  2. Print that one barcode at 100% on plain white paper and scan it with the scanner you really use.
  3. Scan something known to work, such as the EAN-13 on a product from a shop.

Then read the result:

ResultWhere the problem is
The fresh print scans, your label does notThe label: size, material, quiet zone or print quality
Nothing of that barcode type scans, but the shop product doesThe scanner's settings for that type
It scans, but the text or the item found is wrongThe data, or the keyboard and check digit settings
Not even the shop product scansThe scanner, its cable or its connection

The checklist

SymptomLikely causeFix
No beep from any label, though bars look sharpText, a border or the label edge cuts into the white quiet zoneLeave at least 10 bar widths of white on each side; move text and frames away
No beep on coloured or brown boxesToo little contrast for a red-light scanner: red or orange bars, or black on brown cardBlack bars on white; stick a white label on kraft board
Bars look grey, speckled or brokenToner saving, draft mode, an empty cartridge, or low darkness on a thermal printerNormal or best quality; new toner; raise the darkness setting
Scans only from very close, or after several triesBars too thin for the scanner or the distanceRaise the bar width; shorten the value
Printed barcode narrower than the previewFit to page or shrink scaling, or the image was squeezed in a documentPrint at 100%; resize images only from a corner
Shop products scan, your Code 39 or EAN-8 never doesThat barcode type is switched off in the scannerEnable it by scanning the setting barcode in the scanner's manual
Code 39 never scans, though it looks fineThe scanner requires a mod 43 check characterSwitch the requirement off, or add the character as shown on the Code 39 page
Digits come out as &é"'(, or SKU-1001 arrives as SKUß1001The scanner and the computer use different keyboard layoutsSet the scanner's keyboard country to match the computer
Upper and lower case are swappedCaps Lock is onTurn Caps Lock off and scan again
Several scans run together in one cell or fieldThe scanner sends no Enter or Tab after each codeProgram an Enter suffix, or Tab for forms
Code 39 text changes, such as PART+B arriving as PARTbFull ASCII mode is onSwitch Full ASCII off, or avoid + $ % / before letters
It beeps, but the system says item not foundThe database stores the number in another form: without the check digit, with or without a leading 0, or with a trailing spaceCompare the scanned text with the stored text character by character and make them match
Glossy or laminated labels fail under bright lightThe surface reflects the scanner's light straight backTilt the scanner 10 to 15 degrees; use matte labels
Thermal labels all fail in the same placeA dead dot on the print head leaves a thin white line in every labelClean the head; print with the bars across the direction of travel; replace the head
A laser scanner will not read a phone or tablet screenMost laser scanners cannot read screensUse a camera-based 2D scanner or print the code

Print sizes, label sheets and printer settings are covered step by step in how to print barcode labels that scan.

Keyboard layout and other scanner settings

Most USB and Bluetooth scanners act as a keyboard. They do not send characters. They send key presses, and the computer turns those into characters with its own keyboard layout. If the scanner thinks it is typing on a US keyboard and the computer uses another layout, the wrong characters appear even though the barcode was read perfectly.

  • French AZERTY: the top row gives & é " ' ( - è _ ç à without Shift, so a US-mode scanner types those instead of 1 to 0.
  • German QWERTZ: Y and Z are swapped, and the key a US layout uses for the hyphen gives ß.
  • UK: letters and digits are fine, but Shift+2 gives " instead of @, and Shift+3 gives £ instead of #.

The fix is in the scanner: its manual has setting barcodes for the keyboard country.

Three more settings cause most other surprises:

  • Check digit transmission. For EAN and UPC the check digit is part of the number, and scanners normally send it. Some are set to drop it, which makes every lookup fail against a database that stores the full number.
  • UPC-A conversion. Depending on its settings, a scanner reports a UPC-A as 12 digits, as 13 with a leading 0, or with its first digit missing. The UPC barcode generator page explains why both forms are the same product.
  • Suffix. Most systems expect an Enter after each scan. Without it the cursor stays put and the next scan is added to the same field.

Print faults in more detail

Thermal print heads. A thermal printer heats a row of tiny dots that spans the label. When one dot fails, it leaves a thin unprinted line along the label in the direction the label moves. If the bars run the same way as that line, an orientation often called picket fence, the line can split a bar in two and the barcode fails. If the bars run across the direction of travel, called ladder, the line crosses every bar at the same height and the scanner can usually still read above or below it. Turning a picket fence barcode 90 degrees in the label software is a stopgap. Clean the head first, and if the line stays, the head needs replacing.

Ink spread. Inkjet ink spreads into paper, which thickens bars and narrows the gaps between them. Wider bars and matte, inkjet-grade labels help.

Data faults in more detail

  • Wrong barcode type. A Code 128 barcode of 13 digits scans as the same 13 digits, but a scanner that has Code 128 switched off ignores it, and a retailer may reject it. Retail products need EAN-13 or UPC-A.
  • Wrong check digit. The generator refuses to draw an EAN or UPC with a wrong 13th or 12th digit, so a printed retail barcode from this site always has a valid one. If the scanner reads it but your system disagrees, the number itself is different from the one in your system. See the EAN-13 barcode generator page for how that happens.
  • Hidden characters. A space or a non-breaking space inside a value is encoded like any other character. The scan then contains it and no longer matches. The Excel and Google Sheets guide shows how to remove them.

Frequently asked questions

Why does my phone read the barcode when my scanner does not?

Phone apps read many barcode types with the camera. A dedicated scanner may have that type switched off, may require a check character, or may be a laser model that cannot read the screen you are showing it.

How can I tell whether the print or the data is the problem?

Make the same value fresh in the generator and print it at 100% on plain paper. If that scans and your label does not, the label is the problem. If neither scans, look at the scanner settings and the value.

Does the text under the barcode affect scanning?

Scanners ignore the text. It only causes trouble when it touches the bars or sits in the white space at the sides.

A barcode scans in one shop but not in another. Why?

Scanners differ in what they can read and how they are set up. A barcode that is close to the minimum size or contrast works on a good scanner and fails on a weaker one, so print it larger and darker.

Open the Bulk Barcode Generator