Barcodes and Basic Warehouse Scanning

When working with inventory management in warehouses or retail stores you will become acquainted with barcodes. At Tasklet Factory we often experience a high demand for information about barcodes when we are presenting our Mobile WMS solution to new partners and customers. But what is a barcode exactly and what lies behind the lines, numbers, and pixels? To answer these questions, we have gathered the most important facts about barcodes in this post. You will learn about:

- How barcodes work
- Types of barcodes
- The most common barcodes

In this blog we have chosen to focus on the barcodes we most often encounter with our existing customers.

The story of barcodes (very short version)

Since the barcode was used for the first time to automate Troy’s Marsh Supermarket checkout system, the development and the use of barcodes have come a long way. The barcode, which was placed on a packet of chewing gum, was scanned in Ohio, USA, back in 1974. Subsequently, the barcode has revolutionized most industries, including the warehouse and logistics industry. There are over 200 different barcode systems and over 100 different barcode types, but the best-known and most widely used is the EAN code that we all know from the supermarket.

1D and 2D barcodes

There are two general classes of barcodes: one-dimensional (1D or linear) and two-dimensional (2D). The difference between 1D and 2D barcodes is determined by the layout and amount of data that can be stored in each, but both can be used effectively in several automatic identification programs.

The 1D barcode is the most used and is especially used in retail stores for product labeling. In addition, it is also often used in the warehouse industry for marking locations and bins. A 1D barcode is a visual representation of information that can be read and decoded mechanically. Reading and decoding are done using a scanner, like a laser beam, that reflects the code of the reading head in the scanner, which interprets the information stored in the lines. The barcode can therefore be seen as the personal identification number of the goods. As the social security number tells a person’s birthday, the barcode gives information about the origin of the product in the form of a numerical code.

The 2D barcode can contain up to 100 times as much information as the 1D barcode and more complex information, such as links and pictures. 2D barcodes always have the same size and are typically easier to scan at long distances. They are used, among other things, for labeling medical products, downloading apps, sharing information with consumers by placing the codes on advertisements on the bus or standers in the city, and so on. 2D barcodes can only be read with an Imager barcode scanner. 2D is not yet widely used in retail, as 2D scanning is not yet available for output boxes, but the 2D barcode is predicted to have a bright future. This is due to the large amount of data the codes can contain, as well as many of the scanners currently manufactured being able to scan 2D.

Using Mobile WMSTasklet Factory always recommends imager barcode scanners for 1D and 2D scanning over the laser scanner for only 1D scanning.

Next up, we will go deeper into the different types of 1D barcodes, what information they hold, and where they are used.

EAN, UPC, and GS1-128

Under the two classes of barcodes, 1D, and 2D, there are many types of individual barcode classes. The 1D barcode includes some of the most traditional and well-known barcodes, such as EAN and UPC. These are both known by retailers. The EAN and UPC barcodes are created according to an international standard, which can be read across national borders. They both refer to a Global Trade Item Number (GTIN). The GTIN is compiled by the global standardization organization GS1.

The GTIN contains information such as registration country, marketing number, the individual product’s internal item number, and finally a check digit.

EAN barcodes are used by manufacturers to label products, regarding sales and inventory management, and in retail. The barcode type was previously used primarily in Europe, thereby the name EAN stands for “European Article Number.” As the code is now used globally, it has been renamed “International Article Number” but with the same abbreviation. The two most famous are EAN-13 consisting of 13 digits, and EAN-8 consisting of 8 digits. The EAN-8 is the compact version of EAN-13 and is used on smaller products where the space is tight.

EAN-13 is composed as follows: The first two digits indicate the country where the product is registered and not where it is produced, as many believe. For example, is 57 the code for Denmark. The following five digits are the marketing number (a unique identification number of the individual manufacturer, importer, retailer, or wholesaler), followed by five digits, which is the marketer’s internal item number. The last digit is a check digit.


UPC is used in the same way as the EAN barcode, mainly for labeling of goods, however, this type of barcode is most common in the US and Canada. UPC stands for “Universal Product Code”. The two most known are UPC-A consisting of 12 numbers and UPC-E consisting of 6 numbers. UPC-E, like EAN-8, is the compressed version of UPC-A, and is likewise used on products where space is cramped.

EAN and UPC are very similar to each other, the main distinction being their geographical application.


Previously known as EAN / UPC 128, GS1-128 can contain letters in relation to the previously mentioned barcodes, which can only contain numbers. GS1-128 is a so-called information-bearing barcode. In addition to containing GTIN, it may also contain Lot number/batch number, serial number, weight, etc. why it’s often used for items with tracking. Information in the bar code is identified using an AI code, this code is surrounded by a parenthesis. E.g. (01) = GTIN, (10) = Batch / Lot number, (11) = Production date, (17) = Exp. Date.

GS1-128 is usually the type of barcode used for pallet labels, as traceability is available, and to track items during transport, thus keeping track of goods receipt and departure.

In the Tasklet Factory registry, the GS1-128 code is often used to log in to the Mobile WMS solution, as this type of barcode can contain both usernames, login code, and domain.

In the next part, we will focus on different types of 2D barcodes, what information they can hold, and how and where they are used. Lastly, we will tell you about the alphanumeric barcodes, which are mostly used in logistics and transport.

GS1 DataMatrix and GS1 QR

GS1 DataMatrix and GS1 QR are both 2D barcodes. GS1 DataMatrix is often used in the electronics, food, and pharmaceutical industry to add additional information to these products. GS1 DataMatrix is the only 2D code that is legal to use in relation to the label of healthcare products. By 2019, GS1 DataMatrix should be applied to all prescription drugs. The data content is built through the GS1-128 structure using Application Identifiers (AIs). Therefore, GS DataMatrix can also contain GTIN (EAN / UPC), Lot Number, Serial Number, Production Date, Expiration Date, etc. Due to their size, they are ideal for smaller products.

Many people know QR codes from the cityscape, in magazines, on Business cards, etc. The vast majority of mobile phones can decode a QR code, and the code is also used mainly for marketing purposes. It is not yet approved in the world of logistics for use on, for example, pallet labels or for labeling products in the pharmaceutical industry. The QR code may not be used for product labeling without adding an EAN or UPC barcode.

The GS1 DataMatrix code is also often used to log in to the Mobile WMS solution.

Barcodes for Locations and Placements in the Warehouse

Code 128 and Code 39 are two alphanumeric codes commonly used for inventory management. They are used in the warehouse for shelf edges and printing barcodes on leaflets. Code 39 can encrypt letters from A to Z, digits from 0 to 9, and an additional set of special characters – “. $% + – / *”. In contrast, Code 128 supports all 128 ASCII symbols in the ASCII character set. This means that it can contain diversified information and it makes it somewhat “stronger” than Code 39.

The two codes are similar to each other, but Code 128 is compressed. If you haven’t got much space on e.g. shelf edge, but you need a barcode to contain a lot of information, you can choose Code 128. However, be aware that the barcode is printed big enough so that the scanner can read the code. You also have to decide from how far away you have to read the code with the scanner.

Common to Code 39 and Code 128 is that they are aimed at non-POS products such as placements, locations, and freight tags. They are therefore often used in logistics and transport.

How the GS1 Data Matrix Barcode Works with Mobile WMS

We have also created a short video showing how a GS1 Data Matrix barcode works in a warehouse:

We hope you enjoyed our quick guide to barcodes and got an insight into how you can use the different types of barcodes. If you want to learn more about how you can optimize your warehouse processes with the use of scanners and barcodes, please don’t hesitate to contact us.