Create scannable 1D barcodes in Code 128, UPC-A, and EAN-13 formats.
How it works
Each barcode format encodes characters as patterns of black and white bars of specific widths. Code 128 uses three code sets (A, B, C) and computes a weighted modulo-103 checksum across symbol values. EAN-13 and UPC-A encode each digit as a 7-module pattern using L, G, and R parity tables; the last digit is a check digit derived from alternating weight sums (×1 and ×3). The tool builds the bit pattern, adds mandatory quiet zones, and renders it to a high-resolution canvas for clean downloads.
FAQ
What's the difference between Code 128, UPC-A, and EAN-13?
Code 128 supports full ASCII and is used for shipping labels and logistics. UPC-A is a 12-digit code for North American retail. EAN-13 is the 13-digit international version. Use Code 128 for general text, UPC-A/EAN-13 for product SKUs.
Does this tool produce scannable barcodes?
Yes. Barcodes follow the official specifications with correct checksums and quiet zones. The PNG download is high resolution for printing. Keep the printed width above 30mm for reliable scanning.
How is the EAN-13 check digit calculated?
Sum odd-positioned digits (1st, 3rd, 5th… 12th) plus three times the sum of even-positioned digits. The check digit is (10 − (sum mod 10)) mod 10. Code 128 uses a weighted modulo-103 checksum over symbol values instead.