What is the DM code (Data Matrix)? GS1/HIBC /UDI/GTIN/ECC? Find it out in one article!

DM (Data Matrix) code: According to Wikipedia, a DM code is "a two-dimensional barcode (also known as a matrix) consisting of black and white color blocks (cells) in a square or rectangular shape". It looks and is used much like the QR Code which we are familiar with. In simple terms, a DM code is a code that converts a human-readable text into a machine-readable code to facilitate the transmission and reading of data.

The image below shows the DM code on the left and the QR Code on the right. Both scans show the same URL - https://www.holoteam.com.

What is the DM code (Data Matrix)? GS1/HIBC /UDI/GTIN/ECC? Find it out in one article!

Compared to QR Code, DM (Data Matrix) code is more baffling. One reason for this is that DM codes are mostly used by manufacturers or inspection units of goods, and are less likely to be used by the general public. At the end of the spectrum, the users of DM codes are likely to be mainly shopkeepers operating POS machines. Another reason for this is that international standards have been developed in response to the needs of these manufacturers. As you can imagine when you look at international standards, there are a lot of unintelligible codes and specifications, and that's where the main confusion lies!

It's the international standards that you don't understand, not the DM (Data Matrix) code!

The English system really likes to use a lot of abbreviations. Although convenient, they are often confusing and difficult to understand. Therefore, except for the key terms that need to be explained, we have tried to omit the abbreviations in this article to make it easier for beginners to understand. For those who wish to go deeper, look up the individual abbreviations! In addition, the term "barcode" is actually a generic term for 1D and 2D codes. In the early days, 1-dimensional codes were used in the mainstream, meaning some pieces of black lines, called barcode. In between the 1D and 2D codes, there was a kind of "Stacked Linear Code", which consisted of multiple 1D codes stacked on top of each other. Later, two-dimensional codes, such as QR code and DM code, were developed. The name "barcode" may not seem appropriate to imagine these 2D codes, but no new name has been invented for them in the English and Chinese systems. Since no new name has been invented in the Chinese and English systems, they are all still referred to as "barcode".

What are GS1 and HIBC?

Both GS1 and HIBC are international standards for commodity coding.

We can think of GS1 and HIBC as specifications for the writing of basic product information. For example, the relevant information must include the Global Trade Item Identification Number (GTIN), batch number, manufacturing date, best taste period, expiry date, serial number, etc. When these basic data are written in an internationally standardized way, they can be automatically identified, accessed, and even managed automatically or intelligently by machines.

The difference between GS1 and HIBC is that they have different coding principles, so which international standard to use depends on your needs! As HIBC is mostly used in medical-related systems and GS1 is relatively common for various products, this article thus will first explain the coding principles related to GS1, so that you can have a more practical understanding of its usage.

How should I write my GS1 code?

This article will briefly explain the principles of GS1 coding. For internal use, you can of course write your own code according to these principles. However, if the code is to be used for certain standard labeling, it should be written in accordance with the code specifications. For example, the UDI is a standard for the labeling of medical devices.