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 & reliable Java barcode API to generate and recognize 1D & 2D barcodes from any image, at any angle. API supports the most commonly used image formats including TIFF, BMP, GIF, JPEG, EXIF & PNG.

Aspose.BarCode for Java exports the generated barcodes in high quality. Moreover, the developers can easily manipulate the appearance of the generated barcodes such as background color, bar color, image quality, rotation angle, captions, size, resolution and much more.


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

Barcode Imaging Features

  • Manipulate border color, style, margins & width
  • Set bar & background color
  • Rotate barcode images at any angle
  • Create high quality barcode images
  • Anti-Aliasing for images
  • Manage MarginsF
  • Customize image resolution
  • Set size in inches or millimeters
  • Auto size images
  • Render images on any device
  • Create device resolution dependent images
  • Print barcode images

Export Barcodes in Image Formats

With the help of Aspose.BarCode for Java, you can create barcode images and export to any desired output image format like JPEG, GIF, PNG, BMP, TIFF, EMF, WMF, EXIF & ICON.

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)

Advanced Barcode Image Manipulation

Aspose.BarCode for Java API provides the ability to manipulate barcode image borders, border colors, style, margins and width as well image color, 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 can be managed and you can set customized resolutions. Aspose.BarCode for Java also allows to specify size in inches and millimeters as well as setting the auto-sizing of barcode images.

Customizing Barcode Appearance

Aspose.BarCode for Java API allows you to easily customize barcodes by specifying different kinds of symbologies, setting code text (data to be encoded to barcode image) and appearance related properties like font, background color, foreground color, as well as alignment and location (hide, above, below). You can also easily manage caption settings such as font, background color, foreground color, alignment and location (hide, above, below).


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