Barcode Generator (CODE128, EAN, UPC)

Create retail, industrial, and logistics 1D barcodes instantly in Code 128, EAN-13, UPC-A, Code 39, and ITF formats with PNG and SVG vector export.

Supports all ASCII characters

Barcode Dimensions & Styling
Bar Width2px
Height100px
#0F172A
#FFFFFF
Font size:
Live Barcode PreviewCODE128
100% Private. Your data never leaves your device.
FreeToolsBox • Instant & Free

What is Barcode Generator (CODE128, EAN, UPC)?

The Barcode Generator creates standard 1D linear barcodes for retail, inventory management, logistics, and product packaging. It supports major symbologies including CODE128, EAN-13, UPC-A, CODE39, and ITF-14, with automated modulo checksum calculation, custom bar height/width adjustments, and instant SVG/PNG exports.

Designed for accuracy, speed, and privacy, this tool runs entirely on your local device with zero network latency.

How to Use the Barcode Generator (CODE128, EAN, UPC)

  1. 1
    Select your target barcode symbology (e.g., CODE128, EAN-13, UPC-A, CODE39, or ITF-14).
  2. 2
    Type or paste your numeric or alphanumeric product code into the value input field.
  3. 3
    Customize barcode dimensions, bar height, bar width multiplier, and toggle human-readable text display.
  4. 4
    Download your generated barcode as a crisp SVG vector file or standard PNG image.

Formula & Calculation Logic

Encodes numeric and ASCII characters into standard binary bar-and-space patterns with ISO/IEC compliant start/stop delimiters and modulo checksums.

EAN_13_Checksum = (10 - ((Sum(Odd_Pos) + 3 * Sum(Even_Pos)) % 10)) % 10

Barcode Generator (CODE128, EAN, UPC) Frequently Asked Questions

Related QR & Barcode

Explore more free tools in this category

View all in QR & Barcode