Barcode Generator
Generate standard retail and logistics barcodes. Check digits are calculated for you, and you can download PNG or SVG.
How to use the Barcode Generator
- 1Pick the barcode format you need.
- 2Type the value — the tool tells you immediately if it is not valid for that format.
- 3Adjust bar width, height and whether the text is shown underneath.
- 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.