Barcode is a graphic representation in which different information is encoded. To read a barcode requires special equipment. The first barcode was invented in 1932.

Barcodes are linear and two-dimensional (2d).

Linear bar code consists of stripes. Reading linear codes is performed in the horizontal plane.

Linear codes include:

- EAN / UPC (EAN-8 and UPC-E consists of 8 digits, UPC-A - consists of 12 digits in EAN-13 - used 13 digits)
- Codabar
- Code 128
- Code 39

The two-dimensional barcode encodes a large amount of information. Reading two-dimensional codes is performed in horizontal and vertical direction.

These codes consist of a stacked and matrix.

Stacked barcode is a linear bar code consisting of several rows.

Two-dimensional stacked barcodes include:

- PDF417
- RSS14
- Codablock-F

Matrix bar code consists of equal components of the horizontal and vertical.

Two-dimensional matrix barcodes include:

- Aztec Code
- Data Matrix
- MaxiCode
- QR code
- Han Xin