Barcode generator

Code 128, EAN-13, UPC-A, Code 39 and more, ready to download as SVG or PNG.

Preview

How to use it

  1. Type the value you want to encode, like a SKU or product number.
  2. Pick a format. Use Code 128 for anything internal; use EAN-13 or UPC-A only for registered retail product numbers.
  3. Adjust bar width, height and colors. The preview updates as you type.
  4. Download SVG for print (it stays sharp at any size) or PNG for documents and websites.

Questions

Which barcode format should I use?

For shipping labels, inventory and anything that stays inside your business, Code 128: it holds letters, numbers and symbols and is compact. For products sold in shops you need an EAN-13 (most of the world) or UPC-A (US and Canada) number issued by GS1.

Why does EAN-13 say my number is invalid?

The last digit of an EAN-13 is a check digit calculated from the first twelve. Enter just the first 12 digits and the check digit is added for you, or fix the 13th digit.

Will the barcode scan when printed?

Yes, if you keep dark bars on a light background, leave the quiet zone (margin) on both sides, and don't shrink it too far. Download SVG for print so the bars stay crisp.

Is my data sent anywhere?

No. The barcode is drawn by your browser; nothing is uploaded.