Types of barcodes and their usage

July 5, 2020

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 focuses on the three options that have been displayed previously.

If you want to implement the Scanbot Barcode Scanner SDK into your workflow, don't hesitate to contact us. We'd love to bring your ideas to life. For more information about the use cases of the PDF 417-, and the Data Matrix Code, feel free to check out our blog posts.

Get the Scanbot SDK fact sheet

To access the fact sheet, Scanbot will process and use the information you provide to contact you about our products and to send you the monthly newsletter. You may unsubscribe from these communications at any time. For more information, please review our Privacy Policy.

Ready to try it out?

Talk to one of our solutions experts to discover how we can solve your mobile data capture requirements or simply integrate it into your own mobile app or website right now.

Contact our solution experts
Try it

Developers, ready to get started?

Adding our 30 day free trial to your app is easy. Download the Scanbot SDK now and discover the benefits of mobile data capture.