One-Dimensional Barcode Standards: Code 128 & EAN-13
One-dimensional (linear) barcodes encode data by varying the widths and spacings of parallel black and white lines. Designed for high-speed scanning through optical laser diodes, they remain the dominant identification mechanism in warehousing, distribution, and point-of-sale retail.
Code 128 is a self-checking symbol capable of encoding alphanumeric data and ASCII control characters, providing high density for packaging slips. EAN-13 incorporates an exact 13-digit sequence featuring manufacturer country codes, item numbers, and a calculated modulo check digit.
Frequently Asked Questions
What is the difference between Code 128 and EAN-13 barcodes?
Code 128 is a versatile high-density format that supports all 128 ASCII characters (letters, numbers, and symbols), making it ideal for shipping and logistics. EAN-13 is an international 13-digit standard strictly used for retail product packaging.
Can I scan these barcodes with standard commercial scanners?
Yes. The generated barcodes adhere to standard dimensional guard bars and quiet-zone ratios, rendering them scannable by physical laser scanners and smartphone camera apps.
What happens if I enter letters for an EAN-13 barcode?
EAN-13 strictly requires 12 or 13 numeric digits. If invalid characters are entered or if the length differs, the tool alerts you to provide the appropriate numeric format.
Are the barcodes generated securely in the browser?
Yes. All barcode patterns are calculated and painted using client-side HTML5 canvas algorithms without transmitting your SKU or product codes to any server.