Free tool · SVG & PNG

Barcode Generator

Make Code 128, EAN-13 and UPC-A barcodes for products, stock and labels. Check digits are added for you.

Selling products online?

Get an online store that runs itself.

I build fast online stores with stock management, barcodes and automated orders, so you spend less time on admin.

See my services

Barcode types explained

  • Code 128: the most flexible barcode. It holds letters, numbers and symbols, and is used for shipping labels, inventory and asset tags.
  • EAN-13: the 13-digit code on retail products worldwide. The last digit is a check digit.
  • UPC-A: the 12-digit retail code used mainly in the USA and Canada.

Need a code people scan with their phone camera to open a link? Use the QR Code Generator instead.

Frequently asked questions

Which barcode type should I use?

Use EAN-13 (or UPC-A in the USA and Canada) for retail products sold in shops. Use Code 128 for anything else: stock labels, shipping, asset tags, order numbers and internal codes, because it accepts letters, numbers and symbols.

Do I need to buy barcode numbers?

To sell products in stores you normally need official numbers from GS1, the organisation that issues EAN and UPC codes. For your own stock, inventory or internal use you can make up any Code 128 value.

What is the check digit?

EAN-13 and UPC-A end with a check digit calculated from the other digits, so scanners can spot typing mistakes. Enter 12 digits (or 11 for UPC-A) and the tool adds it, or enter the full number and it checks it for you.

SVG or PNG?

SVG stays perfectly sharp at any size, so it is best for printing and packaging design. PNG is easiest for documents, spreadsheets and label software.

Will the barcode scan?

Yes, these are standard barcodes. Print with dark bars on a light background, keep the white space around them, and don't shrink them too much. Test with a phone scanner app before printing in bulk.

More business tools