---
title: "Matrix 2 of 5 Barcode Generator – Free Online"
description: "Free Matrix 2 of 5 barcode generator. Create numeric Matrix 2 of 5 barcodes with an optional mod 10 check digit. Download PNG, SVG, JPG or PDF instantly."
url: https://barcodejar.com/matrix-2-of-5-barcode-generator
source: BarcodeJar (free barcode tools)
---

# 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.

_Interactive tool: open https://barcodejar.com/matrix-2-of-5-barcode-generator to use it in your browser. It is free with no sign-up._

## 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](https://barcodejar.com/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](https://barcodejar.com/industrial-2-of-5-barcode-generator).

It is used in some warehouse sorting, photo finishing and ticketing systems, and variants such as [COOP 2 of 5](https://barcodejar.com/coop-2-of-5-barcode-generator) and [Datalogic 2 of 5](https://barcodejar.com/datalogic-2-of-5-barcode-generator) are based on it.

## Where Matrix 2 of 5 is used

-   Warehouse sorting
-   Photo finishing
-   Legacy industrial labels

## Matrix 2 of 5 specifications

-   **Type:** Linear (1D), variable length, discrete
-   **Characters:** Digits 0–9
-   **Encoding:** 3 bars and 2 spaces per digit, 2 wide
-   **Check digit:** Optional 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](https://barcodejar.com/interleaved-2-of-5-barcode-generator) 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

[![Interleaved 2 of 5 (ITF) Generator example](/thumbs/interleaved2of5.svg)**Interleaved 2 of 5 (ITF) Generator**Create Interleaved 2 of 5 (ITF) barcodes free. PNG, SVG, PDF.](https://barcodejar.com/interleaved-2-of-5-barcode-generator)[![Code 25 Generator example](/thumbs/code2of5.svg)**Code 25 Generator**Create Code 25 barcodes free. PNG, SVG, PDF.](https://barcodejar.com/code-25-barcode-generator)[![Industrial 2 of 5 Generator example](/thumbs/industrial2of5.svg)**Industrial 2 of 5 Generator**Create Industrial 2 of 5 barcodes free. PNG, SVG, PDF.](https://barcodejar.com/industrial-2-of-5-barcode-generator)[![IATA 2 of 5 Generator example](/thumbs/iata2of5.svg)**IATA 2 of 5 Generator**Create IATA 2 of 5 barcodes free. PNG, SVG, PDF.](https://barcodejar.com/iata-2-of-5-barcode-generator)[![ITF-14 Generator example](/thumbs/itf14.svg)**ITF-14 Generator**Create ITF-14 barcodes free. PNG, SVG, PDF.](https://barcodejar.com/itf-14-barcode-generator)[![Code 128 Generator example](/thumbs/code128.svg)**Code 128 Generator**Create Code 128 barcodes free. PNG, SVG, PDF.](https://barcodejar.com/code-128-barcode-generator)[**Online Barcode Scanner**Scan any barcode with your phone or webcam camera.](https://barcodejar.com/barcode-scanner)
