Java barcode API to generate, customize & recognize barcodes

Develop Java applications having the ability to Generate, Customize & Recognize Linear and 2D barcode images from JPG, TIFF, PNG, BMP, GIF & EXIF formats.

  Download Free Trial
Aspose.BarCode for Java

Aspose.BarCode for Java


Aspose.BarCode for Java is a robust and reliable barcode generation and recognition component. It allows the developers to quickly and easily add barcode generation and recognition functionality to their Java applications based on Java SE, Java EE and Java ME platforms.

Aspose.BarCode for Java supports most established barcode standards and barcode specifications. Java barcode API allows to read 1D & 2D barcodes from images, at any angle. Moreover, the API supports to render the barcode labels in a verity of image formats with highly flexible imaging options.


Advanced Java barcode API Features



Specify different kinds of symbologies


Support for Checksum & Supplement data


Customizable barcode images


Support for X & Y dimension for 2D codes


Code128 encoding is exceptionally optimized


Wide to Narrow Ratio for supported symbologies


Customizable caption & font styles


Adjustable barcode text & appearance

Manipulate Barcode Labels in Many Ways

Aspose.BarCode for Java API provides the ability to manipulate barcode image borders, border color, style, margin and width as well image's background color and bar color. You can also rotate images to any angle and produce high quality bar code images with anti-aliasing. In addition to this, barcode image margins & resolution can be customized.

Customize barcode label - Java

// set code text & encoding type
BarCodeBuilder barCodeBuilder = new BarCodeBuilder("1234567", EncodeTypes.CODE_128);
// format label

Supported Barcode Symbologies

Aspose.BarCode for Java API includes support for a large number of linear, 2D and postal barcode symbologies:

  • EAN13 (Encode, decode)
  • EAN8 (Encode, decode)
  • UPCA (Encode, decode)
  • UPCE (Encode, decode)
  • Interleaved2of5 (Encode, decode)
  • Standard2of5 (Encode, decode)
  • MSI (Encode, decode)
  • Code11 (Encode, decode)
  • Codabar (Encode, decode)
  • EAN14(SCC14) (Encode, decode)
  • SSCC18 (Encode, decode)
  • ITF14 (Encode, decode)
  • Matrix 2 of 5 (Encode, decode)
  • PZN (Encode, decode)
  • Code128 (Encode, decode)
  • Code39 Extended (Encode, decode)
  • Code39 Standard (Encode, decode)
  • Code93 Extended (Encode, decode)
  • Code93 Standard (Encode, decode)
  • IATA 2 of 5 (Encode, decode)
  • OPC (Encode, decode)
  • GS1Code128 (Encode, decode)
  • ISBN (Encode, decode)
  • ISMN (Encode, decode)
  • ISSN (Encode, decode)
  • ITF6 (Encode, decode)
  • VIN (Encode, decode)
  • Pharmacode (Encode, decode)
  • DatabarOmniDirectional (Encode, decode)
  • DatabarTruncated (Encode, decode)
  • DatabarLimited (Encode, decode)
  • DatabarExpanded (Encode, decode)
  • PatchCode (Decode)
  • Supplement (Decode)

Supported 2D Barcode Symbologies

  • PDF417 (Encode, decode)
  • MacroPDF417 (Encode, decode)
  • DataMatrix (Encode, decode)
  • Aztec (Encode)
  • QR (Encode, decode)
  • Italian Post 25 (Encode, decode)
  • GS1DataMatrix (Encode, decode)

Supported Postal Barcode Symbologies

  • Postnet (Encode, decode)
  • Planet (Encode, decode)
  • USPS OneCode (Encode, decode)
  • Australia Post (Encode, decode)
  • Deutsche Post Identcode (Encode, decode)
  • Deutsche Post Leticode (Encode, decode)
  • RM4SCC (Encode, decode)
  • SingaporePost (Encode, decode)
  • AustralianPosteParcel (Encode, decode)
  • SwissPostParcel (Encode, decode)

Support and Learning Resources


Aspose.BarCode offers individual Barcode generation and recognition APIs for other popular development environments as listed below: