Which barcode do you need?
| Kind | Holds | Used for |
|---|---|---|
| EAN-13 | 13 digits | Retail products around the world |
| UPC-A | 12 digits | Retail products in the US and Canada |
| EAN-8 | 8 digits | Small packs with little room for a code |
| UPC-E | 8 digits (a shortened UPC-A) | Small US packs |
| ITF-14 | 14 digits | Outer cases and cartons |
| Code 128 | Letters, digits and symbols | Shipping labels, inventory, serial numbers |
| Code 39 | Capitals, digits and a few symbols | Asset tags and older scanners |
If a shop, a distributor or a marketplace asked for a barcode on your product, they usually mean an EAN-13 or a UPC-A carrying your product's GTIN (Global Trade Item Number). For a carton of several products, the GTIN-14 goes in an ITF-14. For anything that stays inside your own business, such as stock labels, asset tags or tickets, Code 128 is the usual choice: it holds letters as well as digits and stays compact.
The number in a retail barcode
A retail barcode is only as good as the number in it. That number, the GTIN, identifies your product in shops' and marketplaces' systems, and it must be unique. GS1 UK says it plainly: if you sell your products in store or online, you need a barcode number, and GS1 is the only authorised provider of unique GTINs. GS1 US issues them in the United States, one at a time or in blocks.
This tool doesn't issue numbers: it draws the barcode for a number you already have. Get the number from GS1 (or from the retailer, for their own-brand codes), then come here to make the barcode at the size you need.
Check digits
The last digit of an EAN, UPC or ITF-14 number is a check digit, worked out from the others so that a scanner can catch a misread. Leave it off and the tool works it out and adds it; type it and the tool checks it, and tells you the right digit if it doesn't match. A UPC-E's check digit comes from the full UPC-A number it stands for, which the tool works out too.
Getting the print size right
A barcode is measured in modules: the width of its narrowest bar, called the X-dimension. The tool lets you pick it from 0.25 mm to 1 mm, and the bar height in millimetres, then shows the size of the whole code with its quiet zones. The SVG is drawn in millimetres, so it prints at exactly that size from a design or label program. The PNG gives every bar a whole number of pixels at 300 or 600 dpi, so the edges stay sharp; the tool shows the bar width that results.
- Keep the quiet zones. The white space at each end tells the scanner where the code starts and stops. Don't crop it or print over it.
- Dark bars on a light background. GS1 US asks for dark bars and advises against red or reddish ones: scanners use red light, and red bars can look like the background. The tool warns you about pale, inverted or red bars.
- Don't stretch a retail code out of shape. GS1 US notes that a UPC's height and width are linked, and that shrinking or enlarging the art can stop it scanning. Change the X-dimension here instead and download it again.
- ITF-14 comes with bearer bars, a thick frame around the code and its quiet zones. The tool draws it for you.
Before you print a whole run of labels or packaging, print one and scan it with the scanner, app or till that will read it. For labels with your logo and product details around the code, place the SVG on a design in Layquil's editor.
Updated