Skip to content
StylQR home

Matrix 2 of 5 Barcode Generator

Create Matrix 2 of 5 barcodes for sorting, warehouse and labelling systems that require them. Enter digits and download a print-ready numeric barcode.

  • Free & unlimited
  • Validated live
  • Print-ready SVG, PDF & PNG
  • Nothing uploaded
1

Enter your data

Checked live against the official rules for this barcode type.

Digits only.

2

Design your barcode

Pick a label template or adjust size, text, colors and style.

Start from a template

One click styles the label. Your data and size stay as they are.

Check your data

Tap to preview

Preview & download

Loading barcode engine…

Format

Resolution

Print labels

A vector PDF filled with your barcode — print on label stock, stickers or plain paper.

Square cells with dashed cut guides; choose 2–6 columns.

Labels per row

What is Matrix 2 of 5?

Matrix 2 of 5 (also known as Code 2 of 5 Matrix or Europe 2 of 5) was developed by Nieaf in the Netherlands in the 1970s. It became popular for warehouse sorting, photo finishing and airline ticket marking, and variants of it are still used in some Asian postal and industrial systems.

Like other 2 of 5 codes, each digit has five elements, two of them wide. The difference is that Matrix 2 of 5 uses three bars and two spaces per digit, so the spaces carry data too. That makes it noticeably denser than Industrial 2 of 5, which uses five bars and narrow spaces only.

Matrix 2 of 5 has its own start and stop patterns and no mandatory check digit; an optional modulo-10 check digit can be added through the advanced options. Characters are separated by a narrow gap, so it is a discrete barcode.

Specification

Matrix 2 of 5 at a glance

Type
Linear (1D), discrete; three bars and two spaces per digit
Characters
Digits 0–9 only
Length
Variable
Check digit
Optional modulo 10
Nominal bar width
0.33 mm default
Wide-to-narrow ratio
2:1 to 3:1
Quiet zone
10 modules each side
Standard
No ISO standard; Nieaf specification

How to create a Matrix 2 of 5 barcode

Four steps from data to a print-ready file.

  1. 1

    Step 1

    Enter your Matrix 2 of 5 data. Digits only.

  2. 2

    Step 2

    Check the live validation — check digits are added for you and any problem is explained in plain words.

  3. 3

    Step 3

    Pick a label template or adjust bar width, height, text, colours and style. The printed size updates as you go.

  4. 4

    Step 4

    Download a PNG at up to 1200 DPI, vector SVG or PDF — or print it on label sheets — and test it with your scanner.

Built for people who print barcodes

Details most barcode generators charge for — all free in the studio above.

  • Check digits, fixed for you

    Type 12 digits and the EAN-13 check digit is added. Type a wrong one and you get the correct digit with a one-click fix.

  • Frames & label templates

    Banners, tickets, hang tags, shelf prices, coupons and more — ready-made labels that never cover the bars.

  • Sized in millimetres

    Set the bar width and height and see the finished printed size update live, in mm or inches.

  • Crisp at any DPI

    PNG at 300, 600 or 1200 DPI with every bar a whole number of pixels, plus vector SVG and exact-size PDF.

  • Scanner-safe colours

    Warnings for red bars laser scanners cannot see, low contrast, thin bars and tight quiet zones.

  • GS1 helper

    Insert Application Identifiers like GTIN, expiry, batch and serial with one click — validated by the official rules.

  • Avery label sheets

    Fill Avery 5160, L7160 and 22805 sheets, sticker sheets or a label grid with one click.

  • Save, open & share

    Keep a barcode as a design file, reopen it later, share a link, and undo or redo any change.

Where Matrix 2 of 5 is used

Real-world applications for this symbology.

  • Warehouse sorting

    Tote, bin and carton numbers on conveyor sorting systems.

  • Photo finishing

    Film and print order envelopes in older photo-lab equipment.

  • Ticketing

    Numeric ticket numbers in legacy airline and transport systems.

  • Industrial labelling

    Equipment and process labels in plants with Matrix 2 of 5 scanners.

Printing Matrix 2 of 5 that scans first time

Small details that make the difference between a code people ignore and one they scan.

  • Make sure the scanner is set to Matrix 2 of 5 specifically; it will not decode as Industrial or Interleaved 2 of 5.

  • Use a fixed length in your scanner settings to reduce the risk of partial reads.

  • Add the optional modulo-10 check digit if your system expects it.

  • Test with your own sorting or hand-held scanner; browser Test scan does not support Matrix 2 of 5.

Matrix 2 of 5 questions, answered

What is the difference between Matrix and Industrial 2 of 5?

Matrix 2 of 5 encodes each digit in three bars and two spaces, so it is denser. Industrial 2 of 5 uses five bars with narrow spaces, which is simpler but wider.

How is it different from Interleaved 2 of 5?

Interleaved 2 of 5 encodes two digits at once, one in the bars and one in the spaces, and needs an even number of digits. Matrix 2 of 5 encodes one digit at a time and takes any length.

Can Matrix 2 of 5 encode letters?

No, only digits. Use Code 128 for alphanumeric data.

Do I need a check digit?

It is optional. Add the modulo-10 check digit in the advanced options if your system requires one.

Every other barcode type

Retail, logistics, 2D, healthcare and postal symbologies — validated with the official rules and ready to print.

The barcodes people make most.