If you sell anything physical, barcodes are not optional. They are the shared language that your suppliers, couriers, warehouses, point-of-sale systems and marketplaces all speak fluently. Get them right and your inventory scans itself into accuracy. Get them wrong and a single mislabelled pallet can cost you a weekend.
This guide walks through exactly how to generate retail-ready barcodes using a free online barcode generator — and which format to use for each situation.
The Five Barcode Formats Retail Actually Uses
- UPC-A (12 digits) — The standard in North American retail. Walmart, Target, and most US supermarkets require it.
- EAN-13 (13 digits) — The global cousin of UPC. Standard across Europe, Asia, and anywhere outside North America.
- EAN-8 (8 digits) — A shorter EAN, used when packaging is too small for a full code.
- Code 128 — The workhorse for internal warehouse labels, shipping, and logistics. Encodes letters, numbers, symbols.
- ITF-14 — Printed on shipping cartons to identify case quantities.
Step-by-Step: Generate a Retail Barcode
- Choose the format. If you are listing on a marketplace, check which standard they require — almost always UPC or EAN.
- Enter your digits. Paste the 12 or 13 digit number. Our generator validates check digits automatically.
- Set the dimensions. Retail scanners need a minimum bar width and a "quiet zone" (white space) on each side.
- Choose black-on-white. Seriously. Save the creativity for your packaging — scanners hate anything else.
- Download as SVG. Always vector, always high-resolution, always print-ready.
Barcodes for Inventory and Internal Use
Not every barcode needs to be a public UPC. For internal inventory — stock rooms, warehouses, asset tagging — Code 128 is the right tool. It is compact, dense, and can encode any ASCII characters, so you can bake in your own SKU scheme.
Use Code 128 when:
- You are tracking stock within your own warehouse.
- You need a barcode that encodes letters as well as numbers.
- You want compact labels on small bins or shelves.
Five Rules for Print-Ready Retail Barcodes
1. Keep a quiet zone. Leave at least 10× the narrow bar width of empty space on each side. Without it, scanners refuse to read.
2. Never scale to less than 80%. Shrinking a UPC below 80% of its standard size kills scannability.
3. Use SVG, not PNG. Raster images blur at high print resolutions. Vector stays razor-sharp.
4. Test on a real scanner. Print the label, scan it with your phone (using any free scanner app) before committing to a full print run.
5. Avoid reflective surfaces. Glossy foil confuses scanners. Matte is always safer.