QRCodeChamp Logo
File Sharing

Stacked Barcode Generator

Several linear rows stacked to hold more data in a small space.

Code 16K

20 characters
Valid Code 16KAllowed: All ASCII

Live preview

Code 16K barcode for Abcd-1234567890-wxyZ
Download format

Stacked barcodes put several short rows of linear bars on top of each other. This fits more data on a small label than one long barcode. They came before today’s 2D codes and were made for small items.

Codablock-F is still used on some healthcare and small product labels, while Code 16K and Code 49 are mostly found in older systems. If you are starting fresh, a 2D code such as Data Matrix or PDF417 usually holds more and scans more easily. Pick a stacked code when your scanner or partner needs one.

3 barcode types in Stacked Codes

Which Stacked Codes barcode should I use?

Barcode typeAllowed dataBest for
Code 16KAll ASCIISmall space, more data
Code 49All ASCIISmall items, legacy
Codablock-FAll ASCIIHealthcare, small labels

How Stacked Barcodes Are Built

A stacked barcode is a set of short linear rows, each with its own start and stop pattern and a row indicator, so the reader knows where each row belongs. Separator bars between rows keep them apart. Check characters cover the whole message, not just one row.

Because each row is a normal 1D pattern, many laser and linear imager scanners can read stacked codes row by row and then rebuild the full message, as long as the symbology is enabled. That was the main reason they were invented: more data without needing a camera-based reader.

Code 16K, Code 49 and Codablock-F Compared

AIM published symbology specifications for all three, so any scanner that claims support should read a correctly printed symbol.

  • Code 16K is built on the Code 128 character set and stacks up to 16 rows
  • Code 49 was developed at Intermec and stacks up to 8 rows using its own character encoding
  • Codablock-F uses Code 128 characters in each row, lets you set the number of columns and rows, and can hold much longer messages than the other two
  • Codablock-F is also one of the data carriers listed in the HIBC healthcare labeling standard

When a Stacked Code Still Makes Sense

Choose a stacked code when your reading equipment is laser-based and cannot read matrix codes, when a customer or regulator names the symbology, or when you must replace a worn label in a system that already uses one. Codablock-F is the most common of the three in current use.

If you control the scanners, a 2D code such as Data Matrix or PDF417 holds more, includes stronger error correction and reads at any angle with an imager.

Printing Tips for Stacked Symbols

Keep each row tall enough for the scanner line to cross it cleanly; very flat rows are the most common cause of failed reads. A wider, shorter block with fewer rows is usually easier for a handheld scanner than a tall, narrow one.

Leave a quiet zone on the left and right of the block as you would for Code 128, and do not let label edges or perforations cut through a row. A vector download such as SVG, EPS or PDF keeps the row and separator lines sharp at any print size.

Common Mistakes with Stacked Barcodes

  • Assuming a scanner reads stacked codes because it reads Code 128; Code 16K, Code 49 and Codablock-F each need to be enabled
  • Squeezing the row height to save space, so rows overlap under the scan line
  • Using a stacked code for GS1 data without checking that the reader and the receiving system support it
  • Scaling the image unevenly, which distorts the bar widths in every row

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.

Stacked Codes FAQs

Stacked codes are sometimes called 2D because they use height as well as width, but they are rows of linear bars. True matrix codes such as Data Matrix and QR Code use a grid of square cells and need an image-based reader.

Many can, because each row is a Code 128-style pattern. The scanner must support Codablock-F and have it switched on, and you may need to sweep the beam across the rows.

It depends on the number of rows and the type of data, since digits are packed more tightly than letters. With up to 16 rows, Code 16K holds far more than a single Code 128 line of the same width, but much less than Codablock-F or PDF417.

If you must use a stacked code, Codablock-F is the most flexible and the most widely supported today. If you can choose freely, a 2D code such as Data Matrix is usually the better long-term option.

They have check characters that detect errors, but not the strong Reed-Solomon error correction found in PDF417 or Data Matrix. A damaged row usually means the whole symbol cannot be read.