Barcode generator
Draw a scannable EAN-13, UPC-A or Code 128 barcode at the correct physical size, check a GTIN check digit, and download SVG or PNG. The same encoder that prints label sheets inside Teseo.
This tool cannot give you an official barcode number. Nothing can, except GS1. There are three different jobs here and they get confused constantly:
- Getting a number · a GTIN with a company prefix, from GS1. Paid, and the only legitimate source.
- Checking a number · verifying the check digit of a number you have. This tool does that, and it is just arithmetic.
- Drawing a number · turning it into bars at the right size. This tool does that too.
A whole list at once
Which one do you need
| Symbology | Length | Where it is used | Who gives you the number |
|---|---|---|---|
| EAN-13 | 13 digits | Retail, worldwide | GS1 prefix, then you number your own products |
| UPC-A | 12 digits | Retail, mainly North America | GS1 prefix, same as above |
| Code 128 | 1 to 48 characters | Your own stockroom, logistics, internal labels | You. No registration, no fee. |
Starting out and nobody has asked for a GTIN? Use Code 128 with your own references. It scans with any reader, it costs nothing, and you can register with GS1 the day a stockist needs it · the two can coexist on the same product.
Questions
Can this give me an official barcode number?
No, and neither can any other software. An official product number · a GTIN, which is what EAN-13 and UPC-A encode · starts with a company prefix issued by GS1, the organisation that keeps the global register. You apply to your national GS1 member organisation, you pay a fee, and the prefix is yours.
Anything that hands you a "free EAN" is either selling you a number from a prefix registered to somebody else, or inventing one. Both cause the same problem later: the number resolves to another company, or to nobody, and a retailer rejects the line.
So what does this tool actually do?
Three separate things, and it is worth keeping them apart:
- It draws. Give it a number you already own and it produces the bars, at the right physical size, as SVG or PNG.
- It checks. It verifies the check digit · the last digit, which is computed from the others. If you have the first 12 digits it can work out the 13th, because that is arithmetic, not registration.
- It encodes your own codes. Code 128 takes any reference you invented and makes it scannable, for your own stockroom.
Do I even need a barcode?
Not to sell on your own site. You need one when somebody else sells your product: most department stores, large online marketplaces and distributors require a GTIN, and they will ask for it before anything else.
For your own stockroom, your own references in Code 128 scan perfectly well and cost nothing. Many brands run for years on internal codes and only register with GS1 when the first stockist asks.
EAN-13, UPC-A, GTIN, SKU · what is the difference?
GTIN is the number. EAN-13 and UPC-A are two ways of printing it · UPC-A is a 12-digit GTIN used mainly in North America, EAN-13 is the 13-digit form used everywhere. A UPC-A is in fact an EAN-13 whose first digit is zero, which is why a scanner reads both.
A SKU is something else entirely: your own internal code, which you invent and nobody else needs to recognise. You need SKUs from day one. Full explanation in the barcode guide.
What size should I print it?
The standard sets the narrowest bar · the module · at 0.330 mm for a full-size symbol, and 0.264 mm as the smallest that still reads. Below that, printing spread makes the narrow bars merge and the scanner gives up. The tool shows you the printed size in millimetres as you move the slider.
Keep the quiet zone · the empty margin either side. It is part of the symbol, not decoration, and covering it is the most common reason a barcode will not scan.
Is my data sent anywhere?
No. The encoder runs in your browser · it is the same one that prints label sheets inside Teseo, bundled into this page. No account, no upload, no request.
Barcodes belong to sizes, not to products
A ring in gold in size 52 needs its own number · the same ring in 54 needs another. In Teseo, each size of each variant carries its own code, label sheets print from the product library, and a size you remove keeps its number in case it comes back.