Barcode Generator

Choose a barcode type, type the content and download the barcode. Check digits are calculated for you.

How to make a barcode

  1. Choose the barcode type: EAN-13 or UPC-A for products in shops, Code 128 for your own labels.
  2. Type the number or text. The preview updates instantly and warns you if the value is not valid.
  3. Adjust height, bar width, colours and whether the number is shown below the bars.
  4. Download a PNG for documents or a SVG for print and design programs.

Which barcode type do I need?

  • EAN-13 – the standard product barcode in most countries.
  • UPC-A – the product barcode used in the USA and Canada.
  • EAN-8 – a short version for very small packages.
  • Code 128 – any text, ideal for inventory, shipping labels and asset tags.
  • Code 39 – older industrial standard with capital letters and digits.
  • ITF-14 – for outer cartons and pallets.

Important for selling products

A barcode generator only draws the bars. To sell in shops and on most marketplaces, your product numbers must be officially registered with GS1 (the organisation that issues EAN and UPC numbers) in your country. For your own stock, library or warehouse labels, any number in Code 128 works.

Print dark bars on a light background and test the printed code with a scanner or phone before printing many labels.

Frequently asked questions

Is the check digit added automatically?

Yes. For EAN-13, EAN-8, UPC-A and ITF-14 you can type the number without the last digit and it is calculated. If you type the full number, the last digit is checked.

Can I use these barcodes commercially?

Yes, the images are yours to use for free. For retail product numbers you still need registered GS1 numbers.

PNG or SVG?

SVG stays perfectly sharp at any size and is best for printing. PNG is easier to insert into documents; it is exported at three times the preview size.

Why will my barcode not scan?

Common causes are low contrast, bars printed too small, a light bar colour or too little white space around the code. Keep the default black on white for the best results.

Related tools