Skip to content
All tools
English

Barcode generator

Type the number and pick the format. We add or check the check digit so the code scans at the till.

Your files never leave your device

Retail barcodes need a registered number from GS1. This tool draws the code; it does not issue numbers.

Preview

How to use it

  1. Pick the format

    EAN-13 or UPC-A for retail products, Code 128 for anything else.

  2. Enter the value

    For EAN and UPC, leave out the last digit and we calculate it.

  3. 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.

Frequently asked questions

Can I get an EAN number from this site?
No. Official product numbers come from GS1 in your country. This tool turns a number you already have into a barcode image.
Can a barcode contain Arabic text?
No. Linear barcodes only carry digits or Latin characters. Use a QR code for Arabic text.
What size should I print it?
EAN-13 at 100% is about 37 × 26 mm. You can print between 80% and 200% of that. Smaller than 80% may not scan.