QRCodeChamp Logo
File Sharing

Standard 2 of 5 Barcode Generator

Legacy warehouse, airline tickets

Standard 2 of 5

8 characters
Valid Standard 2 of 5Allowed: Digits

Live preview

Standard 2 of 5 barcode for 01234567
Download format

What Is a Standard 2 of 5 Barcode?

Standard 2 of 5, also called Code 2 of 5 or straight 2 of 5, is a simple numbers-only barcode dating from the 1960s. It is one of the first members of the 2 of 5 family and still appears in some older warehouse, photofinishing and ticketing systems.

Each digit is made of five bars, two of them wide, which is where the name comes from. The spaces carry no data, so the code is easy to print but takes a lot of room. In many software libraries, Standard 2 of 5 and Industrial 2 of 5 refer to the same bar pattern, but some vendors use the names differently, so check what your scanner expects.

For new numeric barcodes, Interleaved 2 of 5 or Code 128 hold the same digits in much less space. Use Standard 2 of 5 only to match an existing system.

What Data Can Standard 2 of 5 Hold?

Digits 0-9 only, any length. Spaces are removed. An optional modulo 10 check digit can be added.

Recommended Size

Keep a quiet zone of at least 10 times the narrowest bar on each side. This code is wide, so keep numbers short and make sure your label has enough horizontal room.

How 2 of 5 Weights Turn Bars into Digits

In the 2 of 5 family, the five elements of a character carry the weights 1, 2, 4, 7 and a parity position. Exactly two are wide, and the digit is the sum of the weights of the wide elements: wide bars at 1 and 2 make 3, at 2 and 7 make 9. The pair 4 and 7 would make 11, so that combination is used for 0.

Because every valid character has exactly two wide elements, a single misread element breaks the pattern and the scanner rejects it. That built-in check is what makes the family self-checking.

Fitting a Standard 2 of 5 Code on a Label

Spaces in Standard 2 of 5 carry no data but still take up room, so the symbol is long. Before you settle on a label size, generate the longest number you expect and measure it at the bar width your scanner needs, rather than at the default size. If it will not fit, check whether your system can read Interleaved 2 of 5 instead.

How to Create a Barcode in 3 Steps

STEP : 1

Choose a barcode type

Select a category on the left (e.g. Linear Codes), then the exact type like Code-128.

STEP : 2

Enter data & customise

Type your data — we check it live and add check digits. Adjust size, font and colors.

STEP : 3

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.

Standard 2 of 5 FAQs

Often yes: many generators and scanners treat the two names as the same symbology. Some older documentation uses Standard 2 of 5 for other variants, so test with your scanner before printing in bulk.

No. It encodes digits only. Use Code 39 or Code 128 if you need letters.

Interleaved 2 of 5 is much more compact for digits, and Code 128 is the most flexible general choice. Both are widely supported.

No. The symbology checks each character through its two-wide-element rule, so the extra modulo 10 digit is optional. Add it only if your reading system expects it.

Yes. Each digit is encoded on its own, so any length works, unlike Interleaved 2 of 5.