Barcode generator

Make scannable barcodes for products, stock labels, tickets and libraries. Check digits are calculated for you.

  • Free
  • Private
  • No sign-up
Barcode type
Barcode type
Letters, numbers and symbols. Up to 80 characters.
Stays on this device. Network requests since you started: 0 How to check this yourself

How your text and data are handled

  1. Your text and dataRead from your device
  2. Worked on in this tabBy code running in your browser
  3. Ready to copyNothing is stored

Never sent to a server. See how to check

How to use it

  1. Choose the barcode type.

  2. Enter the data (for EAN-13, the first 12 digits).

  3. Adjust size and colours, then download PNG or SVG and test-scan before printing.

About this tool

Code 128 encodes letters, numbers and symbols compactly and is the usual choice for shipping labels, asset tags and internal stock codes. EAN-13 (used worldwide) and UPC-A (North America) are the retail product barcodes found on packaging; their last digit is a check digit calculated from the others, which this tool adds or verifies.

Important: to sell products in shops you need officially registered numbers. In the UAE and most countries these come from your national GS1 organisation. Generating an EAN or UPC image does not register the number, and using a number that belongs to another company causes scanning errors and listing problems with retailers and marketplaces.

For reliable scanning, print dark bars on a light background, keep the white margins (quiet zones) around the code, and test with a scanner or phone before printing in bulk. The encoder is checked against an independent open-source library in our automated tests.

Good to know

  • Code 128 supports printable ASCII characters only.
  • This tool does not issue or register GS1 product numbers.
  • For QR codes, use the QR code generator.

Frequently asked questions

Can I use these barcodes on products I sell?

The image will scan, but retail barcodes must use numbers licensed to your company by GS1. Buy or apply for numbers from GS1, then generate the barcode here.

What is the difference between EAN-13 and UPC-A?

UPC-A has 12 digits and is common in the US and Canada; EAN-13 has 13 and is used internationally. A UPC-A is an EAN-13 starting with 0.

Should I download PNG or SVG?

SVG for printing and design software (it stays sharp at any size); PNG for documents and websites.

You might also need