Barcode Generator

Pick a barcode type, type the value and download the barcode as a PNG or SVG.

Loading tool…

  • Free
  • No sign-up
  • Runs in your browser

How to use the barcode generator

  1. Choose the barcode type. Use Code 128 if you are not sure.
  2. Type the value. Check digits are added for you where the format needs one.
  3. Adjust the bar width and height.
  4. Press Download PNG, Download SVG or Print.

Which barcode type should I use?

TypeHoldsTypical use
Code 128Letters, numbers and symbolsInternal stock labels, shipping, asset tags. The best general choice
EAN-1313 digitsRetail products outside North America, and books (ISBN)
UPC-A12 digitsRetail products in the United States and Canada
EAN-88 digitsVery small retail packages
Code 39A to Z, 0 to 9 and a few symbolsOlder industrial and government systems
ITF-1414 digitsOuter cartons and cases
CodabarDigits and a few symbolsLibraries, blood banks, older courier labels

Selling in shops? You need real numbers

A barcode is only a picture of a number. For retail, the number itself has to be a GTIN licensed to your company by GS1, the organization that manages product numbers worldwide. Retailers and marketplaces such as Amazon check that the number belongs to you. Get your numbers from GS1 first, then use this page to turn them into barcodes.

For anything internal, such as warehouse shelves, equipment tags, membership cards or event tickets, you can invent your own values and Code 128 is the usual choice.

Printing a barcode that scans

  • Print black bars on a white or very light background.
  • Leave clear space on the left and right of the bars.
  • Do not stretch the image sideways. Resize it in proportion.
  • Use the SVG file for professional printing so the edges stay sharp.
  • Always test a printed sample with a real scanner or a phone app before printing a large batch.

Frequently asked questions

What is the check digit?

It is the last digit of an EAN or UPC number, calculated from the others so that scanners can detect a misread. Enter the number without it and the tool adds it.

Can I make a barcode for my product for free?

You can make the image for free here. To sell in retail stores you also need a GS1-licensed number, which GS1 charges for.

What is the difference between a barcode and a QR code?

A barcode stores a short number or code in one direction. A QR code stores much more, such as a full web link, in two directions and can be read by any phone camera.

Is it free?

Yes. There is no account, no limit and no watermark.

Related tools