Linear barcodes, also called 1D barcodes, store data in the widths of parallel bars and spaces. They are cheap to print and almost every scanner can read them. This category covers general-purpose codes such as Code 128, Code 39, Interleaved 2 of 5 and Codabar, plus older and niche types.
For new labels with letters and digits, choose Code 128; it is compact and reads almost everywhere. Use Code 39 when an existing system or industry rule asks for it, Interleaved 2 of 5 for numbers on cartons, and Codabar for libraries and older systems. If your data is long, a 2D code is often a better fit.
22 barcode types in Linear Codes
Which Linear Codes barcode should I use?
| Barcode type | Allowed data | Best for |
|---|---|---|
| Code-128 | All 128 ASCII characters | Shipping, inventory, general purpose (most popular) |
| Code-11 | Digits 0-9 and dash | Telecom equipment labeling |
| Code-39 | A-Z, 0-9, space, - . $ / + % | Automotive, defense, ID badges |
| Code-39 Full ASCII | All 128 ASCII characters | When lowercase is needed in Code 39 |
| Code-93 | A-Z, 0-9, - . $ / + % space | Canada Post, logistics |
| Code-93 Full ASCII | All 128 ASCII characters | Extended Code 93 |
| Interleaved 2 of 5 (ITF) | Digits, even length | Cartons, warehouse |
| Standard 2 of 5 | Digits | Legacy warehouse, airline tickets |
| Industrial 2 of 5 | Digits | Legacy industrial |
| Matrix 2 of 5 | Digits | Legacy warehouse sorting |
| IATA 2 of 5 | Digits | Air cargo / baggage |
| Datalogic 2 of 5 | Digits | Chinese postal / legacy |
| COOP 2 of 5 | Digits | Legacy retail |
| Codabar | Digits, - $ : / . + with A-D start/stop | Libraries, blood banks, FedEx airbills |
| MSI Plessey | Digits | Retail shelf labels |
| Plessey UK | Hex digits 0-9 A-F | Library systems (UK) |
| Telepen Alpha | All ASCII | UK libraries & universities |
| Telepen Numeric | Digits (pairs) | UK libraries |
| Flattermarken | Digits | Printing/bookbinding sequence marks |
| Channel Code | Digits (short) | Very small numeric labels |
| BC412 (SEMI) | A-Z 0-9 | Semiconductor wafers |
| PosiCode | ASCII | Industrial marking |
How Linear Barcode Symbologies Differ
Some 1D codes use only two bar widths (narrow and wide), such as Code 39, Codabar and the 2 of 5 family. Code 128 and Code 93 use four module widths, which packs more data into the same length. The character set usually decides the choice:
- Full ASCII: Code 128, Code 93 Full ASCII, Code 39 Full ASCII, Telepen Alpha
- Upper-case letters, digits and a few symbols: Code 39, Code 93
- Digits plus - $ : / . + with letter start/stop characters: Codabar
- Digits only: Interleaved 2 of 5, Standard, Industrial, Matrix, IATA, Datalogic and COOP 2 of 5, MSI Plessey, Telepen Numeric, Channel Code
- Digits and a dash: Code 11, used for labeling telecom equipment
Check Digits in 1D Barcodes
Code 128 always ends with a modulo 103 check character, and Code 93 always adds two (C and K), so the scanner can catch a misread. Code 39 is self-checking and the modulo 43 check character is optional; turn it on only if your scanner or customer expects it, because a reader that is not set up for it will pass the extra character into your data.
MSI Plessey can use a modulo 10 or modulo 11 check, or two of them, and Code 11 uses one or two check digits. When a partner gives you a specification, match its check digit setting exactly.
Older and Specialist Linear Codes
Several types in this category exist for one industry. IATA 2 of 5 comes from air cargo handling, Codabar is still common on library books and in some blood bank systems, and Telepen has long been used by UK libraries and universities. BC412 was designed for marking semiconductor wafers, and Flattermarken are marks used in print finishing to check that sheets are collated in the right order.
Use these only to match an existing system. For a new project, Code 128 reads on almost every scanner and is the safer default.
Printing Linear Barcodes So They Scan
Leave a clear quiet zone at both ends; for Code 128 that is at least ten times the narrow bar width. Keep the bars vertical to the direction of travel on a conveyor, and print dark bars on a light background. On thermal label printers, set the narrow bar to a whole number of printer dots so every bar comes out the same width.
QRCodeChamp lets you set the bar width, quiet zone and output DPI, and its scannability badge warns when bars drop below 0.19 mm or the contrast is too low.
Common Mistakes with 1D Barcodes
- Typing lower-case letters into standard Code 39; they need Code 39 Full ASCII, and the reader must have Full ASCII turned on
- Giving Interleaved 2 of 5 an odd number of digits; it encodes digits in pairs, so add a leading zero
- Leaving ITF scanners on variable length, where a partial scan can decode as a shorter valid number; fix the expected length instead
- Stretching a barcode in a word processor, which changes the bar ratios
How to Create a Barcode in 3 Steps
Choose a barcode type
Select a category on the left (e.g. Linear Codes), then the exact type like Code-128.
Enter data & customise
Type your data — we check it live and add check digits. Adjust size, font and colors.
Download or print
Get PNG, JPG, SVG, PDF or EPS, or print a full sheet of labels in one click.
Why Use QRCodeChamp Barcode Generator
125+ barcode types
Linear, 2D, GS1, postal, healthcare and payment codes.
Live validation
Friendly errors with one-click fixes and automatic check digits.
Print-ready PDF
Exact mm sizes, label sheets (Avery, A4, 4×6 thermal).
Bulk barcodes
Paste a list or generate number sequences.
Choose the Type of Barcode You Need
Not sure which barcode to use? Start with what you need it for — we’ll pick the right type.
Linear Codes FAQs
For most new labels, yes. Code 128 holds all 128 ASCII characters, packs digits two per character and always includes a check character, so the barcode is shorter and safer. Code 39 is still the right choice when an industry rule or an older scanner setup asks for it.
Interleaved 2 of 5, the other 2 of 5 variants, MSI Plessey, Telepen Numeric and Channel Code are numeric only. Interleaved 2 of 5 is the most compact of these and the most widely supported.
Many scanner apps read Code 128, Code 39, Code 93, Codabar and Interleaved 2 of 5. Niche types such as Telepen, Plessey or Channel Code usually need a dedicated scanner with that symbology enabled.
Most symbologies have no fixed maximum, but every extra character makes the barcode wider and harder to scan. Beyond roughly 20 to 30 characters, a 2D code such as Data Matrix is usually the better choice.
Many scanners ship with only the common symbologies switched on. Check the scanner's configuration guide and enable Codabar or MSI Plessey, along with the matching check digit setting.
