Matrix 2 of 5 Barcode Generator

Create Matrix 2 of 5 barcodes from digits. It is a more compact 2 of 5 variant that uses both bars and spaces. A check digit is added for you.

  • 100% free
  • No sign-up
  • No watermark
  • Works offline in your browser

Digits 0–9 only, any length. A mod 10 check digit is added and shown at the end.

Customize size, color & style
Make many

How to create a Matrix 2 of 5 barcode

  1. Enter your data in the box above. Digits 0–9 only, any length. A mod 10 check digit is added and shown at the end.
  2. The barcode updates live as you type. Open Customize to change the bar height, colors, rotation or quiet zone.
  3. Click Download PNG for labels and documents, or SVG / PDF for print and packaging design.
  4. Test it with our online barcode scanner before you print a large run.

What is a Matrix 2 of 5 barcode?

Matrix 2 of 5 is a numeric linear barcode in the 2 of 5 family. Each digit is encoded in 3 bars and 2 spaces, 2 of which are wide, so it is shorter than Industrial 2 of 5.

It is used in some warehouse sorting, photo finishing and ticketing systems, and variants such as COOP 2 of 5 and Datalogic 2 of 5 are based on it.

Where Matrix 2 of 5 is used

  • Warehouse sorting
  • Photo finishing
  • Legacy industrial labels

Matrix 2 of 5 specifications

TypeLinear (1D), variable length, discrete
CharactersDigits 0–9
Encoding3 bars and 2 spaces per digit, 2 wide
Check digitOptional modulo 10 (on by default here)

Frequently asked questions

How is Matrix 2 of 5 different from Industrial 2 of 5?

Matrix 2 of 5 uses both bars and spaces to encode each digit, so it is more compact. Industrial 2 of 5 uses only the bars.

Is it the same as Interleaved 2 of 5?

No. Interleaved 2 of 5 puts one digit in the bars and the next in the spaces. Matrix 2 of 5 encodes each digit on its own.

Can it encode letters?

No, digits only.

Related free tools