Skip to content
Utilboxes

Barcode Generator

Generate standard retail and logistics barcodes. Check digits are calculated for you, and you can download PNG or SVG.

Runs entirely in your browser

How to use the Barcode Generator

  1. 1Pick the barcode format you need.
  2. 2Type the value — the tool tells you immediately if it is not valid for that format.
  3. 3Adjust bar width, height and whether the text is shown underneath.
  4. 4Download as PNG or SVG.

How it works

Each format encodes characters as a pattern of bars and spaces of varying widths, and each has its own rules about what it can hold. CODE128 takes any ASCII text and is the workhorse for shipping and internal labels. EAN-13 and UPC-A are the fixed-length retail formats you see on products, and both require a check digit.

The check digit is calculated for you. It comes from a weighted sum of the other digits, and it lets a scanner detect a misread rather than silently returning the wrong product. Type twelve digits for an EAN-13 and the thirteenth is added automatically; type all thirteen and the tool verifies it.

For real retail use, the number itself has to be allocated to you by GS1 — a barcode you invent will scan, but it will not identify your product in any retailer's system. For internal stock control, warehouse labels and asset tags, any value you like is fine.

Frequently asked questions

Which barcode format should I use?
CODE128 for internal labels, shipping and anything alphanumeric. EAN-13 for retail products outside North America, UPC-A inside it. ITF-14 for outer cartons.
What is a check digit?
A final digit computed from the others so scanners can catch misreads. This tool calculates it automatically and validates one if you supply it.
Can I use these barcodes on products I sell in shops?
Only with a number allocated to you by GS1. The barcode will scan regardless, but retail systems identify products by the number, and unregistered numbers are not recognised.
Why is my value rejected?
Each format has strict rules — EAN-13 needs exactly 12 or 13 digits, UPC-A needs 11 or 12, and CODE39 accepts only a limited character set. The message under the field explains what is expected.