Barcode Generator: Create Code 128, EAN-13, UPC-A and Other Barcodes

Generate barcodes online for products, stock, labels and shipments. Pick Code 128, EAN-13, UPC-A, EAN-8, Code 39 or ITF-14, set the size and colours, and save a crisp PNG or a print-ready vector SVG.

  • Six barcode formats
  • PNG and SVG
  • Check digit calculated

Encoded:

How to use the Barcode Generator tool

  1. Select a formatCode 128 suits mixed text and numbers, EAN-13 or UPC-A suit retail goods, and ITF-14 suits outer cartons.
  2. Type the valueEnter your text or number; EAN, UPC and ITF check digits are worked out automatically.
  3. Adjust the lookChange bar width, height and colours, and choose whether the digits appear below.
  4. Save the barcodeDownload PNG for documents and label printers, or SVG for professional print jobs.

Barcode generator features

  • Code 128 barcodesThe most versatile 1D symbology, covering letters, digits and symbols, and compact for long numbers.
  • EAN-13 and UPC-ARetail barcodes with proper guard bars and the standard printed number layout.
  • EAN-8, Code 39 and ITF-14For tiny packs, ID badges and industrial tags, plus shipping cases with bearer bars.
  • Automatic check digitsCalculated for you, and an incorrect check digit is flagged.
  • Print-quality outputVector SVG stays sharp at any size, while PNG exports at triple resolution.
  • Free and privateCreated in your browser, with no account and no watermark.

Choosing the right barcode type

  • Code 128 is the go-to option for warehouse stock, asset labels, order references and courier labels. It accepts every keyboard character and squeezes long runs of digits into a compact form.
  • EAN-13 is the product barcode used across India, Europe and most countries. Its 13 digits combine a GS1 country prefix (890 for India), a company number, an item number and a check digit.
  • UPC-A is the 12-digit retail barcode common in the United States and Canada.
  • EAN-8 is a shortened version for very small packaging.
  • Code 39 is an older, straightforward format still seen on ID badges, in car manufacturing and in US defence logistics, supporting capitals, digits and a handful of symbols.
  • ITF-14 identifies outer boxes and cases in the supply chain, and its thick “bearer bar” border helps scanners read it on corrugated cardboard.

Barcodes for retail and online marketplaces

You can turn any number into an EAN-13 or UPC image, but shops and marketplaces only accept product numbers registered to your business. In India those come from GS1 India, and elsewhere from the national GS1 body. Once you own registered numbers, create the barcode artwork for your packaging here. For in-house purposes such as stock rooms or library books, any Code 128 value is fine.

Barcode printing tips

  • Print dark bars on a white or pale background; red bars or dark backgrounds defeat most scanners.
  • Leave the blank margin (quiet zone) on each side intact; it’s already part of the downloaded image.
  • Never stretch the barcode in one direction only. Scale it proportionally and test a printed sample before running a full batch of labels.
  • Send printers and packaging suppliers the SVG, since a vector file prints cleanly at any size.

Need a QR code instead?

A linear barcode holds a short number or string in a single row of bars. To share a link, a contact card or a Wi-Fi password, a 2D code is better: create one with the QR Code Generator and read one with the QR Code Scanner.

Frequently asked questions

Is the barcode generator free?
Yes. Make and download as many barcodes as you need, for personal or commercial use, without a watermark.
Can I create a barcode to sell products on Amazon or in stores?
You can make the image here, but retailers only accept GS1-registered product numbers, which in India are issued by GS1 India.
What is a check digit?
It’s the final digit of EAN, UPC and ITF codes, calculated from the others so scanners can catch misreads. It’s added automatically.
Which file format is best for printing barcodes?
SVG, because it’s vector and stays crisp at any size. PNG works well for documents and label software.
Why won’t my barcode scan?
Check the contrast (dark bars on a light background), make sure the side margins aren’t cropped, and avoid printing it too small.