How to generate a barcode
- Enter the value (digits or text depending on format).
- Choose a barcode format such as Code 128 or EAN-13.
- Adjust height if needed, then download the PNG.
EAN-13 needs 12–13 digits; UPC-A needs 11–12 digits. Code 128 accepts most text.
FAQ
Code 128 vs EAN-13?
Code 128 is flexible for logistics and internal SKUs. EAN-13 / UPC are retail product barcodes with fixed digit lengths and check digits.
Does the check digit get added?
Yes for formats that require it (EAN/UPC). Enter 12 digits for EAN-13 and the library computes the check digit when needed.