Read GS1 data from barcode images using Java
Barcode Reader

How to read GS1 data from GS1 barcodes in Java class, Servlet, web, console, J2EE applications?

GS1 data and Barcode Symbologies for GS1 data encoding

The GS1 identification system provides the world a globally unique and unambiguous identification system for physical entities, parties and relationships exchanged in the supply chain.

A GS1 data message includes a list of data element. Each data element is a pair of a GS1 Application Identifier (2 to 4 digits) and its data field.

A GS1 data message could be encoded in independent of data carrier, such as barcode, RFID (radio frequency identification), and business message. The GS1 System has specified the following barcode symbologies to encode GS1 data messages.

  • EAN/UPC symbology
  • ITF-14
  • GS1-128
  • GS1 DataBar
  • GS1 DataMatrix
  • GS1 QR Code
  • GS1 DotCode


OnBarcode Java Barcode Reader library supports reading and decoding all of the above 2d and linear barcode symbologies, except GS1 DotCode.




How to read, decode GS1 data from barcodes in Java class using Java Barcode Reader?

The barcode with GS1 data message encoded will include the following information:
  • List of data elements
  • Special characters, such as FNC1

Using Java Barcode Reader library, you do not need to process special characters by yourself. The Java library will automatically handle the characters, and return the list of GS1 data message. Each GS1 Application Identifier will be surrounded by '(' and ')', and followed by its data field.

A sample GS1 data message scanned and returned data message from a barcode using Java barcode reader.
"(01)09012345678901(17)240915(10)abc123(3930)978112"




















OnBarcode is a market-leading provider of barcode imaging generator, reader controls and components for ASP.NET, Windows Forms, WPF, as well Java, Android, iOS (iPhone, iPad) across all major enterprise development platforms. We provides comprehensive tutorials and how-tos for various linear, 2d barcode information, such as C# in ASP.NET, C# .NET, C# Barcode Encoding, C# Barcode Image, VB.NET in ASP.NET, VB.NET Winforms, VB.NET Barcode Encoding. OnBarcode barcode products are supported by RasterEdge ASP.NET Document Viewer, which supports ASP.NET PDF Viewer, ASP.NET MVC Document Viewer, ASP.NET PDF Editor, MVC PDF Viewer. And provide high quality C# Convert PDF to Tiff, C# Convert PDF to Word, C# Convert PDF to HTML, C# Convert PDF to Jpeg images, and their easy and simple documents, like C# PDF SDK, C# extract text from PDF, C# Compress PDF, Print PDF in C# and C# extract image from PDF.
Terms of Use | Privacy Policy
Copyright © OnBarcode.com . All rights reserved.