Data Matrix code is two dimensional (2D) bar code that contains the black and white modules that are arranged in square pattern. In datamatrix code, more data is encoded as increasing the number of modules. The data matrix code can store data up to 2,335 alphanumeric characters. This barcode symbology encodes characters in the form of bit sequence. The size of data-matrix code is depend upon the quantity of data that is to be encoded and the type of data i.e. whether it is numeric, alphanumeric or special characters.