Barcode Generator
Enter a value and pick a format to generate a scannable barcode.
About the Barcode Generator
The Barcode Generator creates a scannable barcode from text or numbers and lets you download it as an image. It supports Code 128, which can encode letters, digits and symbols and is widely used for inventory labels and shipping, as well as the retail formats EAN-13 and UPC, which encode fixed-length numeric product codes.
Retail barcodes end with a check digit calculated from the other digits, which scanners use to detect misreads. Code 128 also includes a check character that is added automatically. Because the bars are drawn in your browser, you can make as many labels as you like without any upload.
How to use it
- Type the value to encode.
- Choose the format: Code128 for any text, EAN-13 for 13 digits, or UPC-A for 12 digits.
- Check the preview; the tool tells you if the value does not fit the format.
- Press Download PNG and print the image or place it in your document.
Tips and good to know
- Real products need numbers issued through GS1 or your national agency; a generated EAN is fine for testing and internal use but is not a registered product code.
- Print at a sufficient size with dark bars on a light background and leave a blank margin around the code.
- Always test the printed result with a scanner or phone before producing many labels.
Frequently asked questions
Which type should I pick for warehouse labels?
Code 128 is the usual choice because it handles letters and numbers compactly.
Why does the tool reject my EAN number?
EAN-13 expects exactly 13 digits and UPC-A exactly 12, and the last digit is a check digit that must be valid for the others.
Can I generate QR codes here?
QR codes have their own tool, the QR Code Generator.