Barcodes have been around for more than 50 years now, and there’s no end in sight. They first gained traction with the use of UPC and EAN codes on products, making supermarket checkouts much faster. Since then, a lot of different barcode types emerged.
One-dimensional (1D) barcodes or linear barcodes
One-dimensional barcodes can only hold a very limited amount of data. Since they can be detected by optical laser scanners and a lot of this hardware is still around, they are widespread. That is about to change with mobile scanning solutions like an SDK that can be used in any app to scan lots of barcode types.
Type: Lines with two widths
Max. numerical characters: Variable
Max. alphanumeric characters: N/A
Common usage: Industrial
ISO/IEC certification: ISO/IEC 16390
Type: Lines with many widths
Max. numeric characters: Variable
Max. alphanumeric characters: Variable
Common usage: General purpose, product identification (GS1)
ISO/IEC certification: ISO/IEC 15417
The GS-1 barcode is a sub-standard of Code 128 and was heavily adopted by the industry because it was introduced as a new standard to encode commonly used data together with an identifier. For example expiration dates, lot numbers, serial numbers and so on. The identifier tells you what data follows and it’s possible to chain multiple kinds of data as well.
Two-Dimensional (2D) Barcodes or Matrix Codes
Two-dimensional barcodes are made of a grid of „pixels“ which can have either an on (black) or off (white) state. These pixels usually have a fixed width and height. A visual anchor, called a marker or symbology, makes it easier for the reading devices to find the code. You most certainly know the squares in the corners of a QR code. But there are many more patterns in these types of barcodes, like the central squares of the Aztec code or black lines of the Data Matrix code.