Barcode formats

Barcode types supported by Zint

Zint supports many barcode symbologies, including linear, matrix, stacked, and postal barcode formats. Different barcode types are designed for different use cases, ranging from retail labels to mobile QR Codes and industrial tracking systems.

How to choose a barcode type

Data size

Some barcode formats can only store small amounts of data, while others can encode large text payloads and binary data.

Scanning environment

Barcode choice often depends on whether the symbol will be scanned by phones, retail scanners, industrial readers, or postal sorting equipment.

Available space

Matrix formats such as QR Code and Data Matrix are useful when space is limited and a large amount of data must fit into a small label.

QR and matrix barcodes

Matrix barcodes store data in two dimensions, allowing large amounts of information to be encoded in a compact space. QR Codes are widely used for websites, mobile apps, tickets, product information, and digital workflows.

Common examples

QR CodeMicro QRrMQRData MatrixAztec
QR Code barcode example generated by Zint

Best for

Mobile scanning, compact labels, marketing, tickets, and machine-readable data.

Linear barcodes

Linear barcodes are the traditional barcode style made up of bars and spaces. They are commonly used in retail, logistics, warehousing, and inventory management systems.

Common examples

Code 128Code 39EAN-13UPC-ACodabar
Code 128 barcode example generated by Zint

Best for

Shipping labels, stock control, retail products, and asset tracking.

Stacked barcodes

Stacked barcodes combine multiple rows of barcode data into a compact symbol. They can store much more information than standard linear formats.

Common examples

PDF417MicroPDF417Code 16KCodablock F
PDF417 barcode example generated by Zint

Best for

Transport, identification cards, document encoding, and large data payloads.

Postal barcodes

Postal barcode formats are designed for automated mail sorting and delivery systems used by postal organisations around the world.

Common examples

RM4SCCPOSTNETKIXJapan PostMailmark
Royal Mail barcode example generated by Zint

Best for

Mail processing, shipping systems, and postal automation.

Barcode comparison overview

The table below gives a simplified comparison of several commonly used barcode formats supported by Zint.

Barcode TypeCategoryBest ForData Capacity
QR CodeMatrixMobile scanning and web linksHigh
Code 128LinearLogistics and inventoryMedium
EAN-13LinearRetail productsLow
Data MatrixMatrixSmall industrial labelsHigh
PDF417StackedLarge data storageVery High
RM4SCCPostalMail sortingMedium

Explore all supported symbologies

Zint supports many additional barcode formats beyond the examples shown here. The full manual includes detailed information about supported symbologies, rendering options, command-line usage, and developer integration.