DataMatrix

Description of DataMatrix

DataMatrixOne of the best known 2D codes is the DataMatrix code and it consists of 4 main components:
  • Data area: This area contains the data in codified form.
  • Closed limitation line: This is the corner that is represented in normal alignment to the left and below the data area with an uninterrupted line. Based on this, the code and its alignment is recognized while scanning.
  • Open borderline: This is the opposite corner of the closed limitation line. These lines above and to the right consist of alternating black and white dots. These are used to the determination of lines and columns while scanning.
  • Quiet zone: This area surrounds the code. This area must be at least so wide as one dot of the code.
The development of the DataMatrix code began in the 1980s. Today, there are different stages of development, which differ in terms of error correction. These are named ECC, which stands for Error Checking and Correction Algorithm. There are basically two versions: ECC 000-140 and ECC 200. The most current and recommended variant is ECC 200 (Reed-Solomon error correction). ActiveBarcode uses ECC 200 to create DataMatrix codes. A DataMatrix code can still be read when up to 25% of it is covered or damaged.

A DataMatrix code can encode up to 3,116 numeric digits or 2,335 alphanumeric characters. The size of the symbol used depends on the amount of data to be encoded.

In ActiveBarcode you can choose between different options for creating a DataMatrix:
  • DataMatrix (Type #37)
    ActiveBarcode always selects the best symbol size that fits for the data to encode. The symbol sizes 12x12 and 8x18 and the symbol size 20x20 and 12x36 have the same number of data they can encode. ActiveBarcode always uses the square versions of the DataMatrix Symbol in this case.

  • DataMatrix Square (Type #42)
    ActiveBarcode always selects the optimal square symbol size for encoding the data.

  • DataMatrix Rectangular (Type #43)
    ActiveBarcode always selects the optimal rectangular, non square symbol size for encoding the data.

  • DataMatrix <Symbol size> (Types #44 to #73)
    The symbol size is selected by the user the type. For example selecting the type DataMatrix 18x18 will result in a code with a symbol size of 18x18.

List of the DataMatrix symbol sizes, complete with examples.Link
Each of these represents a different symbol size of the DataMatrix code. The choice determines how much data can be encoded and how large the code will appear.
Smaller symbols (e.g. 10x10, 12x12) can hold less data but take up less space.
Larger symbols (e.g., 20x20, 24x24, and up) can store more characters or additional GS1 elements.

If your data content always stays short, then using a smaller symbol is perfectly fine. If you later add more information, you'll need to select a larger version so the data still fits.

The choice partly depends on the amount of data and partly on the available space. The software automatically ensures that whichever size you pick still produces a valid, scannable GS1 DataMatrix.

ActiveBarcode offers three automatic types: AUTO, SQUARE and RECTANGLE. These always select the smallest possible symbol size that can accommodate all your data. SQUARE and RECTANGLE are limited to square and rectangular formats, respectively, while AUTO uses both. If you choose a fixed type such as 64x64, that specific symbol size will be enforced, even if a smaller and more compact code would also work.

ActiveBarcode: DataMatrix / GS1-DataMatrix
AUTO
DataMatrix
Typeno: 37
Code: CODEDATAMATRIX

GS1-DataMatrix
Typeno: 74
Code: CODEGS1DATAMATRIX

Max numbers: 6-3116
Max characters: 3-2335
Max bytes: 1-1556
Max error correction: 2-310
ActiveBarcode: DataMatrix / GS1-DataMatrix
SQUARE
DataMatrix
Typeno: 42
Code: CODEDATAMATRIXSQUARE

GS1-DataMatrix
Typeno: 75
Code: CODEGS1DATAMATRIXSQUARE

Max numbers: 6-3116
Max characters: 3-2335
Max bytes: 1-1556
Max error correction: 2-310
ActiveBarcode: DataMatrix / GS1-DataMatrix
RECTANGLE
DataMatrix
Typeno: 43
Code: CODEDATAMATRIXRECTANGULAR

GS1-DataMatrix
Typeno: 76
Code: CODEGS1DATAMATRIXRECTANGULAR

Max numbers: 10-98
Max characters: 6-72
Max bytes: 3-47
Max error correction: 7-98
ActiveBarcode: DataMatrix / GS1-DataMatrix
10x10
DataMatrix
Typeno: 44
Code: CODEDATAMATRIX10X10

GS1-DataMatrix
Typeno: 77
Code: CODEGS1DATAMATRIX10X10

Max numbers: 6
Max characters: 3
Max bytes: 1
Max error correction: 2
ActiveBarcode: DataMatrix / GS1-DataMatrix
12x12
DataMatrix
Typeno: 45
Code: CODEDATAMATRIX12X12

GS1-DataMatrix
Typeno: 78
Code: CODEGS1DATAMATRIX12X12

Max numbers: 10
Max characters: 6
Max bytes: 3
Max error correction: 3
ActiveBarcode: DataMatrix / GS1-DataMatrix
8x18
DataMatrix
Typeno: 46
Code: CODEDATAMATRIX8X18

GS1-DataMatrix
Typeno: 79
Code: CODEGS1DATAMATRIX8X18

Max numbers: 10
Max characters: 6
Max bytes: 3
Max error correction: 7
ActiveBarcode: DataMatrix / GS1-DataMatrix
14x14
DataMatrix
Typeno: 47
Code: CODEDATAMATRIX14X14

GS1-DataMatrix
Typeno: 80
Code: CODEGS1DATAMATRIX14X14

Max numbers: 16
Max characters: 10
Max bytes: 6
Max error correction: 5
ActiveBarcode: DataMatrix / GS1-DataMatrix
8x32
DataMatrix
Typeno: 48
Code: CODEDATAMATRIX8X32

GS1-DataMatrix
Typeno: 81
Code: CODEGS1DATAMATRIX8X32

Max numbers: 20
Max characters: 13
Max bytes: 8
Max error correction: 11
ActiveBarcode: DataMatrix / GS1-DataMatrix
16x16
DataMatrix
Typeno: 49
Code: CODEDATAMATRIX16X16

GS1-DataMatrix
Typeno: 82
Code: CODEGS1DATAMATRIX16X16

Max numbers: 24
Max characters: 16
Max bytes: 10
Max error correction: 6
ActiveBarcode: DataMatrix / GS1-DataMatrix
12x26
DataMatrix
Typeno: 50
Code: CODEDATAMATRIX12X26

GS1-DataMatrix
Typeno: 83
Code: CODEGS1DATAMATRIX12X26

Max numbers: 32
Max characters: 22
Max bytes: 14
Max error correction: 32
ActiveBarcode: DataMatrix / GS1-DataMatrix
18x18
DataMatrix
Typeno: 51
Code: CODEDATAMATRIX18X18

GS1-DataMatrix
Typeno: 84
Code: CODEGS1DATAMATRIX18X18

Max numbers: 36
Max characters: 25
Max bytes: 16
Max error correction: 7
ActiveBarcode: DataMatrix / GS1-DataMatrix
20x20
DataMatrix
Typeno: 52
Code: CODEDATAMATRIX20X20

GS1-DataMatrix
Typeno: 85
Code: CODEGS1DATAMATRIX20X20

Max numbers: 44
Max characters: 31
Max bytes: 20
Max error correction: 9
ActiveBarcode: DataMatrix / GS1-DataMatrix
12x36
DataMatrix
Typeno: 53
Code: CODEDATAMATRIX12X36

GS1-DataMatrix
Typeno: 86
Code: CODEGS1DATAMATRIX12X36

Max numbers: 44
Max characters: 31
Max bytes: 20
Max error correction: 44
ActiveBarcode: DataMatrix / GS1-DataMatrix
22x22
DataMatrix
Typeno: 54
Code: CODEDATAMATRIX22X22

GS1-DataMatrix
Typeno: 87
Code: CODEGS1DATAMATRIX22X22

Max numbers: 60
Max characters: 43
Max bytes: 28
Max error correction: 10
ActiveBarcode: DataMatrix / GS1-DataMatrix
16x36
DataMatrix
Typeno: 55
Code: CODEDATAMATRIX16X36

GS1-DataMatrix
Typeno: 88
Code: CODEGS1DATAMATRIX16X36

Max numbers: 64
Max characters: 46
Max bytes: 30
Max error correction: 64
ActiveBarcode: DataMatrix / GS1-DataMatrix
24x24
DataMatrix
Typeno: 56
Code: CODEDATAMATRIX24X24

GS1-DataMatrix
Typeno: 89
Code: CODEGS1DATAMATRIX24X24

Max numbers: 72
Max characters: 52
Max bytes: 34
Max error correction: 12
ActiveBarcode: DataMatrix / GS1-DataMatrix
26x26
DataMatrix
Typeno: 57
Code: CODEDATAMATRIX26X26

GS1-DataMatrix
Typeno: 90
Code: CODEGS1DATAMATRIX26X26

Max numbers: 88
Max characters: 64
Max bytes: 42
Max error correction: 14
ActiveBarcode: DataMatrix / GS1-DataMatrix
16x48
DataMatrix
Typeno: 58
Code: CODEDATAMATRIX16X48

GS1-DataMatrix
Typeno: 91
Code: CODEGS1DATAMATRIX16X48

Max numbers: 98
Max characters: 72
Max bytes: 47
Max error correction: 98
ActiveBarcode: DataMatrix / GS1-DataMatrix
32x32
DataMatrix
Typeno: 59
Code: CODEDATAMATRIX32X32

GS1-DataMatrix
Typeno: 92
Code: CODEGS1DATAMATRIX32X32

Max numbers: 124
Max characters: 91
Max bytes: 60
Max error correction: 18
ActiveBarcode: DataMatrix / GS1-DataMatrix
36x36
DataMatrix
Typeno: 60
Code: CODEDATAMATRIX36X36

GS1-DataMatrix
Typeno: 93
Code: CODEGS1DATAMATRIX36X36

Max numbers: 172
Max characters: 127
Max bytes: 84
Max error correction: 21
ActiveBarcode: DataMatrix / GS1-DataMatrix
40x40
DataMatrix
Typeno: 61
Code: CODEDATAMATRIX40X40

GS1-DataMatrix
Typeno: 94
Code: CODEGS1DATAMATRIX40X40

Max numbers: 228
Max characters: 169
Max bytes: 112
Max error correction: 24
ActiveBarcode: DataMatrix / GS1-DataMatrix
44x44
DataMatrix
Typeno: 62
Code: CODEDATAMATRIX44X44

GS1-DataMatrix
Typeno: 95
Code: CODEGS1DATAMATRIX44X44

Max numbers: 288
Max characters: 214
Max bytes: 142
Max error correction: 28
ActiveBarcode: DataMatrix / GS1-DataMatrix
48x48
DataMatrix
Typeno: 63
Code: CODEDATAMATRIX48X48

GS1-DataMatrix
Typeno: 96
Code: CODEGS1DATAMATRIX48X48

Max numbers: 348
Max characters: 259
Max bytes: 172
Max error correction: 34
ActiveBarcode: DataMatrix / GS1-DataMatrix
52x52
DataMatrix
Typeno: 64
Code: CODEDATAMATRIX52X52

GS1-DataMatrix
Typeno: 97
Code: CODEGS1DATAMATRIX52X52

Max numbers: 408
Max characters: 304
Max bytes: 202
Max error correction: 42
ActiveBarcode: DataMatrix / GS1-DataMatrix
64x64
DataMatrix
Typeno: 65
Code: CODEDATAMATRIX64X64

GS1-DataMatrix
Typeno: 98
Code: CODEGS1DATAMATRIX64X64

Max numbers: 560
Max characters: 418
Max bytes: 278
Max error correction: 56
ActiveBarcode: DataMatrix / GS1-DataMatrix
72x72
DataMatrix
Typeno: 66
Code: CODEDATAMATRIX72X72

GS1-DataMatrix
Typeno: 100
Code: CODEGS1DATAMATRIX72X72

Max numbers: 736
Max characters: 550
Max bytes: 366
Max error correction: 72
ActiveBarcode: DataMatrix / GS1-DataMatrix
80x80
DataMatrix
Typeno: 67
Code: CODEDATAMATRIX80X80

GS1-DataMatrix
Typeno: 101
Code: CODEGS1DATAMATRIX80X80

Max numbers: 912
Max characters: 682
Max bytes: 454
Max error correction: 96
ActiveBarcode: DataMatrix / GS1-DataMatrix
88x88
DataMatrix
Typeno: 68
Code: CODEDATAMATRIX88X88

GS1-DataMatrix
Typeno: 102
Code: CODEGS1DATAMATRIX88X88

Max numbers: 1152
Max characters: 862
Max bytes: 574
Max error correction: 112
ActiveBarcode: DataMatrix / GS1-DataMatrix
96x96
DataMatrix
Typeno: 69
Code: CODEDATAMATRIX96X96

GS1-DataMatrix
Typeno: 103
Code: CODEGS1DATAMATRIX96X96

Max numbers: 1392
Max characters: 1042
Max bytes: 694
Max error correction: 136
ActiveBarcode: DataMatrix / GS1-DataMatrix
104x104
DataMatrix
Typeno: 70
Code: CODEDATAMATRIX104X104

GS1-DataMatrix
Typeno: 104
Code: CODEGS1DATAMATRIX104X104

Max numbers: 1632
Max characters: 1222
Max bytes: 814
Max error correction: 168
ActiveBarcode: DataMatrix / GS1-DataMatrix
120x120
DataMatrix
Typeno: 71
Code: CODEDATAMATRIX120X120

GS1-DataMatrix
Typeno: 105
Code: CODEGS1DATAMATRIX120X120

Max numbers: 2100
Max characters: 1573
Max bytes: 1048
Max error correction: 204
ActiveBarcode: DataMatrix / GS1-DataMatrix
132x132
DataMatrix
Typeno: 72
Code: CODEDATAMATRIX132X132

GS1-DataMatrix
Typeno: 106
Code: CODEGS1DATAMATRIX132X132

Max numbers: 2608
Max characters: 1954
Max bytes: 1302
Max error correction: 248
ActiveBarcode: DataMatrix / GS1-DataMatrix
144x144
DataMatrix
Typeno: 73
Code: CODEDATAMATRIX144X144

GS1-DataMatrix
Typeno: 107
Code: CODEGS1DATAMATRIX144X144

Max numbers: 3116
Max characters: 2335
Max bytes: 1556
Max error correction: 310
This list represent an overview for orientation purpose but does not claim any correctness regarding the max values.


More information about this can be found at https://en.wikipedia.org/wiki/DataMatrix.

Technical data

Valid characters: ASCII 1-255
Length: Variable with no fixed length.
Check digit: Calculated according to Reed-Solomon-Error correction
ActiveBarcode calculates the check digit automatically.
Type#: DataMatrix - #37 - CODEDATAMATRIX
List of all symbol sizes
Info: This barcode types has no human readable text based on the specification. The ShowText property has no effect, when using one of this codes.

Other types...

Want to learn about other barcode types?