SourceForge Project Page

Welcome to Barcode4J


Barcode4J is a flexible generator for barcodes written in Java. It's free, available under the Apache License, version 2.0.


  • 1D barcode implementations [examples] [xml-format]:
    • Interleaved 2 of 5
    • ITF-14
    • Code 39
    • Code 128
    • EAN-128, GS1-128 (based on Code 128)
    • Codabar
    • UPC-A and UPC-E (with supplementals)
    • EAN-13 and EAN-8 (with supplementals)
    • Royal Mail Customer Barcode (Four State)
    • USPS Intelligent Mail (4-State Customer Barcode)
  • 2D barcode implementations [examples] [xml-format]:
    • PDF 417 (ISO/IEC 15438:2001(E))
    • DataMatrix (ISO/IEC 16022:2000(E))
    • QR Code (ISO/IEC 18004:2006(E)) (requires ZXing, available from CVS HEAD only)
  • Support for multiple output formats [output-formats]:
    • SVG
    • EPS (Encapsulated PostScript)
    • Bitmap images (such as PNG or JPEG)
    • Java2D (AWT)
    • Text (for testing and debugging only)
  • Servlet with support for SVG, EPS and bitmap output [more info]
  • Command-line interface [more info]
  • Plug-ins/extensions for third-party products:
    • Apache Xalan: SVG-generating XSLT extension [more info]
    • SAXON XSLT Processor from Michael Kay: SVG-generating XSLT extension [more info]
    • Apache FOP: support as fo:instream-foreign-object [more info]

Important Krysalis Barcode News

Krysalis Barcode has been renamed to Barcode4J and moved to its own SourceForge project. More...