Barcode types: Code 128, QR and the rest
For shelf and bin labels that hold your own SKUs, Code 128 is a sensible place to start. It handles letters and numbers, and it stays compact.1 QR is the pick if people will scan with a phone camera.2
Here's why, one format at a time.
Two families
GS1 US sorts barcodes into two groups. Linear barcodes use vertical bars. 2D barcodes use squares or grids and can hold more data, such as web links.2
The family matters for a practical reason. A short SKU suits a linear barcode. A long web link or a pile of details is where 2D symbols, which hold more data, come in.2
Why not UPC for your own codes?
UPC-A is the barcode on retail packages, but it only carries numbers. Wikipedia says no letters, symbols or other characters of any kind can appear on a UPC-A barcode.3 If your SKU is TEE-BLU-M, UPC-A can't hold it.
Code 128
Wikipedia calls Code 128 a high-density linear symbology, used for alphanumeric or numeric-only barcodes. It can encode all 128 characters of ASCII.1
The same page says it generally makes more compact barcodes than methods like Code 39, especially when the text is mostly digits.1
For a small shop, that means SKUs with capital letters, small letters, digits and hyphens all fit, since those are ordinary ASCII characters. Check that your scanner's manual lists Code 128 before you print a roll.1
Code 39
Code 39 is older and simpler. The base specification defines only 43 characters: uppercase letters, digits and a few special characters.4
Lowercase letters are outside that set. Wikipedia describes a "Full ASCII Code 39" variant that represents them with two-character sequences.4 So stick to capitals unless your printer and scanner both support an extended "Full ASCII" mode. If someone writes Tee-Blu-M, it may not encode as written.
QR codes
A QR code is a square grid. GS1 US says it's routinely scanned using mobile devices to open online content.2
QR also has built-in repair. Wikipedia says the standard has several error correction levels, and higher levels add more backup data so the code can survive heavier damage. The trade-off is that the code gets bigger or denser to hold the same message.5
Good uses: a bin label that opens a web page for the item, or a label staff scan with a phone. A plain short SKU on a shelf tag doesn't need it.
Data Matrix
GS1 US says a Data Matrix barcode can encode up to 2,335 characters in a relatively small space.2 Check that your scanner supports it before you print a roll.
A quick comparison
| Format | Holds | Good for |
|---|---|---|
| Code 128 | Letters, digits, symbols | Shelf and bin labels with SKUs1 |
| Code 39 | Capitals, digits, a few symbols | Systems limited to those characters4 |
| QR | Lots of text, links | Phone scanning2 |
| Data Matrix | Lots of text, small area | Labels with little space2 |
Test before you print a roll
Pick a format, print one label, and scan it with the exact scanner or phone your team will use. A label that looks right on screen can still fail. Printing barcode labels at a small scale covers what to check.
References
- Code 128, Wikipedia
- Types of Barcodes, GS1 US
- Universal Product Code, Wikipedia
- Code 39, Wikipedia
- QR code, Wikipedia