How to use it
- Pick the format
EAN-13 or UPC-A for retail products, Code 128 for anything else.
- Enter the value
For EAN and UPC, leave out the last digit and we calculate it.
- Download or print
PNG for documents, SVG for print designers, or a sheet of labels.
Which barcode do I need?
- EAN-13: the standard retail barcode in most of the world, including Egypt, the Gulf and Europe. 13 digits; the last is a check digit.
- UPC-A: the retail barcode in the USA and Canada. 12 digits.
- EAN-8: a short version for very small packages.
- ITF-14: printed on outer cartons and cases of products.
- Code 128: letters, digits and symbols, compact. Good for inventory, shipping labels, asset tags and serial numbers.
- Code 39: upper-case letters and digits. Older, but still required by some industrial and government systems.
Important: barcode numbers for retail products
This tool draws barcodes. It does not give you a product number. To sell in supermarkets or on marketplaces such as Amazon, you need a registered company prefix from GS1 (in Egypt, GS1 Egypt; in Saudi Arabia, GS1 Saudi Arabia). Made-up EAN numbers may clash with another product and get rejected. For your own shop, warehouse or library, any Code 128 value works.
Check digits
The last digit of EAN, UPC and ITF-14 codes is calculated from the others (GS1 modulo 10). It lets scanners catch a misread. If you type one digit fewer than the format needs, we add the check digit; if you type all digits and the last one is wrong, we tell you what it should be.
Printing tips
Print in black on white or a light colour, never red bars (scanners use red light and cannot see them). Keep the white space on the left and right. Do not stretch the barcode unevenly. SVG keeps bars perfectly sharp at any size. Need a code people scan with their phones? Use a QR code instead.