Skip to content
Engyna

Barcode Generator

Create EAN-13, UPC, Code 128, ITF-14 and more barcodes as SVG or PNG.

How to use the Barcode Generator

  1. 1Pick a format like EAN-13 or Code 128 and enter your value.
  2. 2Adjust bar size, text and colors. Check digits are added for you.
  3. 3Download as SVG or PNG, or export a whole batch.

About Barcode Generator

The Barcode Generator creates 1D barcodes in 12 formats: EAN-13, EAN-8, UPC-A, UPC-E, Code 128, Code 39, Code 93, ITF-14, ITF (Interleaved 2 of 5), Codabar, MSI and Pharmacode. It checks your input against each format's rules, adds the check digit for EAN, UPC and ITF-14 numbers when you leave it out, and tells you when an entered check digit is wrong.

You can set the bar width, height and quiet zone, turn the human-readable text on or off, pick its font, size, weight and position, print a custom label instead of the value, and use extended guard bars for EAN and UPC. Bar and background colors are adjustable, and the background can be transparent. Each barcode downloads as an SVG or as a PNG at the resolution you choose. In batch mode you enter a list of values and the barcode maker validates each one and exports all valid codes as a ZIP of SVG or PNG files.

It is useful for product labels, shelf and inventory tags, shipping cartons, asset and library labels, and for testing barcode scanners or point-of-sale systems. Small shops and warehouses can print their own Code 128 labels for internal stock.

Frequently asked questions

How is the EAN-13 check digit calculated?

Multiply the first 12 digits alternately by 1 and 3, starting with 1, and add the results. The check digit is the amount needed to reach the next multiple of 10, or 0 if the sum already is one. UPC-A, EAN-8 and ITF-14 use the same GS1 method.

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

UPC-A has 12 digits and is used mainly in the US and Canada; EAN-13 has 13 digits and is used worldwide. A UPC-A code is the same as an EAN-13 code with a leading 0, so modern retail scanners read both.

Can I create my own EAN or UPC numbers for retail?

The generator draws any valid number, but products sold through retailers and marketplaces need numbers from a company prefix licensed by GS1. For internal use, such as stock or asset labels, Code 128 with your own IDs is the simpler choice.

Which barcode should I use for inventory labels?

Code 128 is compact and encodes all ASCII characters, so it fits mixed IDs like ABC-1042. Code 39 is wider and only supports uppercase letters, digits and a few symbols, but older scanners read it everywhere. ITF-14 is meant for shipping cartons.