Barcode types: An overview

October 5, 2018

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

Different types of 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.

Code 25


Code 128

Code-128 Example


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

Different types of matrix barcodes

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.


PDF417 barcode example

Learn more about PDF417

Data Matrix

Data Matrix

Learn more about Data Matrix

QR Code

QR Code example

Aztec Code

Aztec Code

Other types of 2D barcodes

Other 2D barcodes use dots or colored triangles to be more efficient. These standards are not very common, and the industry mainly focuses on the three options that have been displayed previously.

Learn more about the scanning solutions

Back to overview

Max Stratmann

Chief Sales Officer

Find the best scanning solution for your app. Our expert team will be happy to assist with all of your questions concerning functionality, integration, best practices and the license model.

Related articles

Let’s stay in touch

Follow what we’re up to and stay in touch with our latest developments and updates…

Thank you! Please activate your email address in the confirmation mail.
Your email address could not be added. Please check the spelling.

We will use the data to send you updates and helpful content about the Scanbot SDK. By submitting this form you agree to the Privacy Policy.