Which barcode do I need?
| You want to… | Use | Why |
|---|---|---|
| Sell products in shops outside North America | EAN-13 (EAN-8 for very small packs) | The standard retail barcode. Needs a GS1 number |
| Sell products in shops in the USA or Canada | UPC-A (UPC-E for small packs) | The North American retail barcode. Needs a GS1 number |
| Label stock, assets, files or parcels for your own use | Code 128 | Compact, any letters and numbers, read by every scanner |
| Match an existing system that asks for it | Code 39 | Older and wider, but still common in industry and government |
| Share a link or lots of data | A QR code | Barcodes hold a short code. QR codes can hold whole web addresses |
Retail barcodes need a registered number
To sell through shops and marketplaces, a product needs a GTIN: a globally unique number allocated through GS1, the not-for-profit organisation that runs the system, via your national member such as GS1 UK or GS1 US. We turn your number into a correct, scannable barcode. We don’t, and can’t, issue numbers, and made-up numbers can clash with real products.
For internal use (stock rooms, libraries, asset tracking), use Code 128 with any numbering you like. No registration is needed.
Getting the size right
Retail barcodes have standard sizes. At 100% magnification the narrowest bar of an EAN-13 or UPC-A is 0.33 mm wide, and the GS1 General Specifications allow roughly 80% to 200% of that. We show the exact bar width as you change the size, and SVG downloads are drawn at true size in millimetres, so they print correctly at 100%. Don’t shorten the bars to save space: low-height barcodes can fail at the till.
Leave the blank margins (quiet zones) either side clear. The small > and < marks on EAN and UPC barcodes show where those margins end.
Things to know
- Every barcode is decoded on your device before you can download it, but that proves it’s readable on screen. For retail, also test a printed sample. If your retailer asks for a verification report, use a GS1 verification service.
- Black bars on a white background are the most reliable. Red bars can’t be read by red-light laser scanners.
Sources
- GS1 UK, GS1 UK (barcode numbers for UK businesses). Accessed 2026-11-29.
- GS1 US, Barcodes Powered by GS1 Standards. Accessed 2026-11-29.
Reviewed on by Richard Pryn.