Barcode Generator

CODE128: Supports all ASCII characters

px
px
Text Position::
Foreground:
Background:
Barcode Preview
Barcode Preview

Usage Guide

Format Guide

  • EAN-13:EAN-13: 13 digits (last digit is check digit)
  • EAN-8:EAN-8: 8 digits (last digit is check digit)
  • UPC-A:UPC-A: 12 digits (last digit is check digit)
  • UPC-E:UPC-E: 6-8 digits
  • CODE128:CODE128: Supports all ASCII characters
  • CODE39:CODE39: Uppercase letters, digits, and -.$/+%*space
  • ITF:ITF: Only supports even number of digits
  • MSI:MSI: Only supports digits
  • Pharmacode:Pharmacode: Number between 3-131070
  • Codabar:Codabar: Digits and -$:+/. characters
  • CODE93:CODE93: Similar to CODE39 but more compact

Tips

  • EAN-13 and UPC-A formats require specific digit counts
  • CODE128 supports the full ASCII character set
  • CODE39 supports uppercase letters, digits, and limited special characters
  • ITF requires an even number of digits
  • MSI only supports digits

Barcode Generator

Online barcode generator and recognizer

Runs locally · Nothing uploaded

Overview

A comprehensive online barcode generator and recognizer that supports multiple international standard barcode formats. Whether you need to generate product barcodes, logistics labels, or inventory management tags, you can quickly create high-quality barcode images. Customize colors, dimensions, and text styles to meet various needs.

Features

  • Supports multiple barcode formats (EAN-13, EAN-8, UPC-A, UPC-E, CODE128, CODE39, ITF, MSI, Pharmacode, Codabar, CODE93)
  • Customizable dimensions, height, and line width
  • Show/hide text option
  • Adjustable text position, margin, font, and size
  • Custom foreground and background colors
  • Download in PNG and SVG formats
  • Barcode recognition (requires browser support for BarcodeDetector API)
  • History saving

How It Works

  1. 1 Enter barcode content in the input field
  2. 2 Select the appropriate barcode format
  3. 3 Adjust width, height, line width, and other parameters
  4. 4 Set text visibility and style options
  5. 5 Choose foreground and background colors
  6. 6 Click generate to create the barcode
  7. 7 Download in PNG or SVG format

Tips

  • Use CODE128 format for the highest data density and compatibility
  • Test the generated barcode with a real scanner to ensure readability
  • Use high-resolution printers when printing barcodes to avoid scaling distortion
  • Reserve enough quiet zone (blank area on both sides) for product barcodes - at least 10x line width

Related tools

Tags BarcodeEANUPCCODE128

FAQ

What is a check digit?

The check digit is the last digit of the barcode that verifies its accuracy. Formats like EAN-13 and UPC-A automatically calculate the check digit - you only need to enter the first 12 digits.

Which format is right for my needs?

EAN-13 is for international product barcodes, UPC-A for North American products, CODE128 for logistics and shipping labels, CODE39 for industrial applications, and ITF for carton packaging.

Can barcodes contain letters?

It depends on the format. CODE128 and CODE39 support both letters and numbers, while EAN-13, UPC-A, ITF, and similar formats only support digits.

How to ensure barcodes are scannable?

Maintain appropriate dimensions (width and height), ensure sufficient contrast (dark barcode on light background), avoid blurring or distortion, and leave enough quiet zone (blank area).