Loading Barcode Mint…

Barcode Mint

Free Online Barcode & QR Code Generator

Linear Barcode

Matrix 2 Of 5 Generator

Create a Matrix 2 of 5 barcode for legacy inventory and warehouse systems, right in your browser, no software to install.

Open the generator ↓
Preview
100%

01

Symbology

Code 128
All 106 β†’
02

Data

03

Properties

Properties

2
100
18
10
04

Bulk & batch generate

πŸ”’ Pro

Turn a CSV β€” or a numbered sequence β€” into hundreds of barcodes at once, exported as a ZIP of images or a print-ready PDF sheet. Launching with Pro.

Launching soon

Pricing β€” join the early list

The browser generator stays free forever. Paid plans are for teams who need bulk output and developers who need the REST API at scale β€” commercial license included. Tell us what you'd use; early-list members get first access and launch pricing.

For the generator

Free $0/forever

What you're using right now

  • 100+ barcode & QR symbologies
  • Live preview & customization
  • PNG & SVG export, no login
  • Copy to clipboard
Available now βœ“

For developers β€” REST API

Priced by requests. Commercial license and self-serve keys included; usage dashboard at launch.

Small $19/mo$190/yr 500 req / mo
Large $499/mo$4,990/yr 50K req / mo
Enterprise Custom Contact us

Get early access + launch pricing

Which features would you actually use? (optional β€” it helps us decide what to build first)

No spam β€” one email when it launches. The free tool isn't going anywhere.

What is Matrix 2 of 5?

Matrix 2 of 5 is a numeric-only linear barcode that belongs to the "2 of 5" family, a group of symbologies where every encoded digit is represented by five bars, exactly two of which are wide and three of which are narrow. It's one of the earliest barcode designs, dating back to the 1960s, and it predates the more familiar Interleaved 2 of 5 and Code 39 that eventually replaced it in most applications. The name comes directly from its structure: five elements per digit, two wide.

How Matrix 2 of 5 encodes data

Unlike Interleaved 2 of 5, which packs two digits into alternating bars and spaces to save space, Matrix 2 of 5 uses only the bars to carry data — the spaces between bars are just fixed-width separators and don't encode anything. Each digit 0–9 is assigned a unique pattern of two wide bars among five, so the symbol is read one digit at a time from a single sequence of bar widths. This makes Matrix 2 of 5 less space-efficient than Interleaved 2 of 5 for the same data, which is one of the main reasons it fell out of favor once printing and scanning technology improved enough that Interleaved 2 of 5 and Code 128 became practical.

The symbol encodes digits only (0–9), with no letters or punctuation, and a start and stop pattern frame the data so a scanner can tell where the code begins and ends and in which direction it's being read.

Technical Specifications

Matrix 2 of 5 encodes digits 0–9 only, with no upper length limit defined by the symbology itself, though practical labels tend to run 4–20 digits. Each character is 5 bars (2 wide, 3 narrow); the spaces between bars are fixed-width and carry no data, unlike the interleaved variant. A distinct start and stop pattern frames the symbol so scanners can detect orientation and boundaries. There's no mandatory check digit in the base specification — whether one is appended depends entirely on the conventions of the legacy system you're integrating with. Matrix 2 of 5 isn't maintained by a formal standards body like GS1 or ISO; it persists purely through legacy equipment and software that still expects it.

Where Matrix 2 of 5 is used today

Matrix 2 of 5 is largely a legacy symbology at this point. You'll mostly encounter it in older warehouse management systems, some airline ticket stock, and photofinishing envelope tracking — industries that adopted it decades ago and have kept the underlying label formats unchanged rather than migrate to newer standards. If you're generating a Matrix 2 of 5 barcode today, it's almost always because you're integrating with, or replacing labels for, an existing legacy system that specifically expects this format rather than choosing it fresh for a new application.

For new numeric-only barcode needs, Code 128 or Interleaved 2 of 5 are generally more practical choices because of their better data density and wider scanner support, but Matrix 2 of 5 remains necessary wherever a downstream system was built to read it.

How to create a Matrix 2 of 5 barcode in Barcode Mint

Select Matrix 2 of 5 from the symbology list on the left, then type your numeric string into the data field — only digits 0–9 are accepted. From there you can:

Print and scan best practices

Because Matrix 2 of 5 relies entirely on precise bar widths to distinguish wide from narrow elements, print quality matters more here than with symbologies that also use spacing to encode data. Use a printer resolution high enough that wide and narrow bars remain clearly distinguishable after printing — low-resolution thermal or dot-matrix output can blur the ratio between them and cause misreads. Keep the quiet zones clear of any other print or graphics, and test with the actual scanner model your legacy system uses, since older CCD and laser scanners can be less tolerant of print variation than modern imager-based scanners.

Matrix 2 of 5 vs. related codes

Matrix 2 of 5, Industrial 2 of 5, IATA 2 of 5, and Interleaved 2 of 5 all belong to the same "2 of 5" family and share the core idea of five bars per digit, two wide and three narrow. What separates them is where the data lives and how the standard was adopted: Matrix and Industrial 2 of 5 encode data only in the bars and treat spaces as fixed separators, making them wider for the same digit count; Interleaved 2 of 5 interleaves two digits into alternating bars and spaces, roughly halving the symbol length; and IATA 2 of 5 uses the same all-bars structure as Matrix and Industrial but is specifically the variant standardized for air cargo. If you're choosing fresh today rather than matching an existing system, Interleaved 2 of 5 or Code 128 will almost always produce a shorter, easier-to-scan barcode.

Common uses

Frequently asked questions

What is a Matrix 2 of 5 generator used for?
A Matrix 2 of 5 generator creates numeric-only barcodes for legacy systems that were built around this early 2-of-5 family symbology, such as older warehouse, airline ticketing, or photofinishing tracking systems.
What's the difference between Matrix 2 of 5 and Interleaved 2 of 5?
Matrix 2 of 5 encodes data only in the bars, treating spaces as fixed separators, while Interleaved 2 of 5 encodes data in both bars and spaces by interleaving digit pairs. This makes Interleaved 2 of 5 more compact for the same numeric string.
Can Matrix 2 of 5 encode letters?
No, Matrix 2 of 5 only encodes the digits 0 through 9. If you need to encode letters or mixed alphanumeric data, use Code 39 or Code 128 instead.
Is Matrix 2 of 5 still commonly used?
It's largely a legacy symbology today, kept alive mainly by older systems that were built around it decades ago. New applications generally use Interleaved 2 of 5 or Code 128 for numeric data instead.
Does Matrix 2 of 5 have a check digit?
Matrix 2 of 5 itself doesn't mandate a specific check digit scheme the way some other symbologies do; whether a check digit is appended depends on the conventions of the system you're integrating with.
Can I generate many Matrix 2 of 5 barcodes at once?
Yes, upload a CSV of numeric values and Barcode Mint will bulk-generate a ZIP of image files or a print-ready PDF of labels, or use the sequence tool for a numbered batch.

Related barcode types

Browse all 106 barcode & QR types β†’