Barcode Generator – Code 128, EAN-13, UPC-A & More

Create barcodes for products, inventory, labels and shipping. Choose Code 128, EAN-13, UPC-A, EAN-8, Code 39 or ITF-14, adjust the size and colors, and download a sharp PNG or a vector SVG for print.

  • 6 barcode types
  • PNG & SVG
  • Check digit added automatically

Encoded:

How to use the Barcode Generator tool

  1. Choose the typeCode 128 for text and numbers, EAN-13 or UPC-A for retail products, ITF-14 for cartons.
  2. Enter the contentType the text or number. For EAN, UPC and ITF codes, the check digit is calculated for you.
  3. Style itChange the bar width, height and colors, and show or hide the number underneath.
  4. DownloadSave it as PNG for documents and labels, or SVG for professional printing.

Features

  • Code 128The most flexible 1D barcode: letters, numbers and symbols, compact for long numbers.
  • EAN-13 & UPC-ARetail product barcodes with correct guard bars and the human-readable number layout.
  • EAN-8, Code 39, ITF-14For small packs, ID cards and industrial labels, and shipping cartons with bearer bars.
  • Check digitsCalculated automatically, and a wrong check digit is pointed out.
  • Print qualitySVG is vector, so it stays perfectly sharp at any size. PNG is exported at 3× resolution.
  • Free and privateGenerated in your browser. No sign-up and no watermark.

Which barcode type should I use?

  • Code 128 is the best general-purpose choice for inventory, asset tags, order numbers and shipping labels. It encodes any keyboard character and switches to a compact mode for runs of digits.
  • EAN-13 is the standard product barcode in India, Europe and most of the world. It holds 13 digits: a GS1 country prefix (890 for India), your company number, the product number and a check digit.
  • UPC-A is the 12-digit product barcode used mainly in the USA and Canada.
  • EAN-8 is a short version for very small packages.
  • Code 39 is an older, simple format still used on ID cards, in the automotive industry and by the US Department of Defense. It supports capital letters, digits and a few symbols.
  • ITF-14 marks outer cartons and cases in the supply chain. It has a thick “bearer bar” frame that helps scanning on corrugated boxes.

Selling products in shops or online?

You can generate an EAN-13 or UPC barcode for any number, but retailers and marketplaces only accept product numbers that are registered to your company. In India these are issued by GS1 India; in other countries by the local GS1 organisation. Once you have your registered numbers, use this tool to create the barcode images for your packaging. For internal use, such as stock in your own warehouse or library books, any Code 128 value works.

Printing tips

  • Use black bars on a white or light background. Red bars or dark backgrounds can’t be read by most scanners.
  • Keep the white space (quiet zone) on both sides; it is included in the downloaded image.
  • Don’t squash the barcode. Change the size evenly and test-scan a printed sample before printing labels in bulk.
  • For print shops and packaging, download the SVG: it is a vector file that prints sharply at any size.

Need a QR code instead?

Barcodes store a short number or text in one line of bars. To share a link, contact card or Wi-Fi password, use a 2D code: try our QR Code Generator, and our QR Code Scanner to read one.

Frequently asked questions

Are the barcodes free to use?
Yes. Generate and download as many as you like, for personal or commercial use, with no watermark.
Can I make a barcode for my product to sell on Amazon or in shops?
You can create the image here, but the number itself must be a GS1-registered product number (from GS1 India in India) to be accepted by retailers.
What is the check digit?
The last digit of EAN, UPC and ITF codes, calculated from the other digits so scanners can detect reading errors. It is added automatically.
Which format is best for printing?
SVG, because it is a vector file and stays sharp at any size. PNG is fine for documents and label software.
Why won’t my barcode scan?
Make sure there is enough contrast (dark bars on a light background), the white margins are not cut off, and the barcode is not printed too small.