Barcode generator

Make a barcode for products, stock, labels or cartons. EAN and UPC check digits are worked out for you. Download it as PNG or SVG.

FreeNo sign-upRuns on your device

Loading the tool…

How to use it

  1. Choose the barcode type. Code 128 suits most labels. EAN-13 and UPC-A are for retail products.
  2. Type your number or text. For EAN, UPC and ITF-14 you can leave off the last digit and we'll add it.
  3. Pick a size and whether to show the number under the bars.
  4. Download a PNG or SVG and do a test print before printing in bulk.

Which barcode type to use

Code 128 is the most flexible. It holds letters, numbers and symbols, and it's compact, so it's a good choice for stock labels, asset tags, shipping and anything used only inside your own business. Code 39 is older and holds only capital letters, numbers and a few symbols. Use it if an existing system or scanner requires it.

EAN-13 is the standard retail barcode used around the world. UPC-A is its 12-digit version, used mainly in the US and Canada. ITF-14 holds a 14-digit number and is printed on outer cartons and cases. These three are used with GS1 numbers, which identify your product in shops and online marketplaces.

Check digits

The last digit of an EAN-13, UPC-A or ITF-14 number is a check digit. It's worked out from the other digits so a scanner can tell when a number has been misread. The rule is the same for all three: starting from the right, multiply the digits alternately by 3 and 1, add them up, and the check digit is whatever brings the total up to the next multiple of 10.

Type all the digits but the last and the tool adds the check digit for you. Type the full number and it checks the last digit and tells you if it's wrong, which often catches a typo before you print 1,000 labels.

Selling in shops? You need GS1 numbers

The barcode is only the picture of a number. To sell through retailers or marketplaces that ask for EAN or UPC codes, the number itself has to be registered to your business by GS1, the organisation that runs the system. Join your country's GS1 office to get a company prefix or single numbers, then make the barcodes here. A made-up number will scan, but it may belong to another product and can be rejected.

For printing, use the SVG, keep the white space on both sides of the bars, print in black on white, and don't squash the barcode to fit. Test it with a scanner or a phone scanning app before a big print run.

Questions

Is this barcode generator free?

Yes. Make as many barcodes as you like and use them commercially. There's no sign-up and no watermark.

How is the EAN-13 check digit calculated?

From the right, multiply the first 12 digits alternately by 3 and 1, add them up, and the check digit is the amount needed to reach the next multiple of 10. The tool does it for you.

Can I make my own UPC or EAN numbers?

You can make the barcode for any number, but to sell in shops the number must be registered to your business through GS1.

Which barcode should I use for stock labels?

Code 128. It's compact, holds letters and numbers, and nearly every scanner reads it.

What's the difference between UPC-A and EAN-13?

UPC-A has 12 digits and is used mainly in North America. EAN-13 has 13 digits and is used worldwide. A UPC-A number is the same as an EAN-13 with a leading zero.