The difference between the two Barcode symbology types, Code 128 and Data Matrix

Modified on Thu, 14 Jul, 2022 at 11:41 AM

A barcode’s symbology is the encoding of information into the barcode image. While numerous barcode symbologies exist, Code 128 and Data Matrix are among the most commonly used. 


  1. Code 128 is a one-dimensional (1D), linear barcode symbology. It is used for alphanumeric or numeric-only barcodes. 
  2. Data matrix is a two-dimensional (2D) code consisting of black and white "dots" or dots arranged in either a square or rectangular pattern, also known as a matrix. The information to be encoded includes up to 2,335 characters of alphanumeric data.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article