CoderTools

Barcode Generator

Generate professional barcodes in multiple formats

Code 128
High-density alphanumeric, common in logistics
Code 39
Alphanumeric barcode, widely used in industry
EAN-13
13-digit European product barcode
EAN-8
8-digit compact product barcode
UPC-A
12-digit US product barcode
ITF-14
14-digit Interleaved 2 of 5, for logistics
MSI
Barcode for inventory management
Pharmacode
Pharmaceutical packaging barcode
Codabar
Used in libraries and blood banks

Customization

2px
80px
10px
16px

Higher scale produces clearer images, ideal for printing

Barcode will appear here

About Barcodes

What is a Barcode?

A barcode is a method of representing data in a visual, machine-readable form. It consists of parallel lines of varying widths and spacings that can be read by optical scanners. Barcodes are widely used in retail, logistics, healthcare, and many other industries.

How to Use This Tool

Basic Steps

  1. Enter the data to encode in the input field
  2. Select the appropriate barcode format (e.g., Code 128, EAN-13)
  3. Adjust customization settings (width, height, colors, etc.)
  4. Click 'Generate Barcode' button to preview
  5. Download as PNG or SVG, or copy to clipboard

Batch Generation Feature

Enable batch mode to generate multiple barcodes at once. Use template variables to auto-generate sequences:

  • {SEQ} Sequence number (e.g., 1, 2, 3...)
  • {SEQNUM} Zero-padded sequence (e.g., 0001, 0002..., digits controlled by setting)
  • {RANDOM} Random number (digits controlled by setting)
PNG

Raster format, suitable for web display and general printing

SVG

Vector format, infinitely scalable, ideal for high-quality printing

Barcode Types Explained

Code 128

A high-density linear barcode symbology capable of encoding all 128 ASCII characters. Widely used in shipping and logistics, forming the basis of the GS1-128 standard. Supports three character sets (A/B/C) with automatic switching for optimal encoding.

Character Set: All ASCII characters (0-127)
Length: Variable length
Check Digit: Auto-calculated
Usage: Logistics, shipping, GS1-128

Code 39

A variable-length discrete barcode symbology that can encode uppercase letters, digits, and some special characters. Widely adopted in non-retail environments due to its simplicity and self-checking capability.

Character Set: A-Z, 0-9, -. $/+%
Length: Variable length
Check Digit: Optional
Usage: Industrial, government, defense

EAN-13

European Article Number (EAN-13) is the most widely used retail barcode standard globally. Consists of 13 digits with the last digit being a check digit. Enter 12 digits and the check digit will be calculated automatically.

Character Set: Numeric only (0-9)
Length: 13 digits (enter 12)
Check Digit: Last digit (auto-calculated)
Usage: Global retail products

EAN-8

EAN-8 is a compact version of EAN-13, designed for small product packaging. Consists of 8 digits with the last digit being a check digit.

Character Set: Numeric only (0-9)
Length: 8 digits (enter 7)
Check Digit: Last digit (auto-calculated)
Usage: Small product packaging

UPC-A

Universal Product Code (UPC-A) is the standard barcode for retail in the United States and Canada. Consists of 12 digits with the last digit being a check digit.

Character Set: Numeric only (0-9)
Length: 12 digits (enter 11)
Check Digit: Last digit (auto-calculated)
Usage: US/Canada retail

ITF-14

Interleaved 2 of 5 (ITF-14) is used for carton and pallet identification. The 14-digit code includes a check digit as the last digit and can be printed directly on corrugated cardboard.

Character Set: Numeric only (0-9)
Length: 14 digits (enter 13)
Check Digit: Last digit (auto-calculated)
Usage: Logistics packaging, shipping cartons

MSI (Modified Plessey)

MSI (Modified Plessey) barcode is primarily used for warehouse shelf labeling and inventory management. Supports various check digit algorithms.

Character Set: Numeric only (0-9)
Length: Variable length
Check Digit: Mod 10 check
Usage: Warehouse, inventory management

Pharmacode

Pharmacode is designed specifically for the pharmaceutical industry, used in automated production lines for drug packaging. Can only encode integers between 3 and 131070.

Character Set: Integer (3-131070)
Range: 3 - 131070
Check Digit: None
Usage: Pharmaceutical packaging, production lines

Codabar

Codabar is an older barcode format primarily used in libraries, blood banks, and courier package tracking. Requires A, B, C, or D as start/stop characters.

Character Set: 0-9, -$:/.+ and A/B/C/D
Length: Variable length
Check Digit: Optional
Usage: Libraries, blood banks, courier

Use Cases

Retail: Product pricing and inventory management
Logistics: Package tracking and sorting
Healthcare: Patient identification and medication management
Library: Book lending management
Manufacturing: Production line tracking and quality control
Warehouse: Shelf labeling and inventory counting

Best Practices

  • Ensure adequate contrast (dark bars on light background)
  • Maintain appropriate barcode size for scanner compatibility
  • Keep sufficient quiet zone (white space) around the barcode
  • Always test barcode readability before printing
  • Choose a barcode format compatible with your application

Quick Menu

No recent tools