Learning how to make a barcode is simpler than most people expect, and you can do it in minutes with the right numbers and tools. A barcode is just a visual way to store product or inventory data so scanners can read it instantly at checkout, in a warehouse, or during shipping. You do not need special software or design skills to start.
In this article you will learn which barcode type to pick, where to get a valid number, how to generate the image, and how to print a label that scans reliably. I will also cover sizing, common printing mistakes, testing methods, and free versus paid tools so you can create barcodes for retail, small business inventory, books, or personal organization with confidence.
What a Barcode Actually Does
A barcode encodes numbers or characters into a pattern of bars or squares that a scanner can decode. When scanned, it pulls up the linked information in your point-of-sale system, inventory app, or spreadsheet. The image itself does not hold prices or descriptions, it simply acts as a fast key to that record.
Retailers, warehouses, libraries, and small sellers all use the same basic idea to reduce typing errors and speed up checkout. Once you link a barcode number to a product in your system, anyone with a scanner can identify that item in under a second.
How Barcodes Store Information
Linear barcodes like UPC and Code 128 store data in varying widths of black bars and white spaces. A laser scanner reads the contrast and spacing to reconstruct the number. These codes work well for short numeric strings and are still standard in grocery and retail.
Two-dimensional codes like QR Code and Data Matrix store data in both directions using squares and dots. They can hold website links, longer text, and more error correction, which means they still scan even if slightly damaged.
Linear Versus 2D Codes in Daily Use
Linear codes are best when you need compatibility with older retail scanners and simple product identification. Most checkout systems expect UPC, EAN, or Code 128 and will not read a QR code as a product ID. Stick with linear formats for anything sold in physical stores.
Use 2D codes when you need to share more information or link to digital content. A QR code on packaging can open setup instructions, while a Data Matrix on a small electronic part can fit tracking data in very little space.
Common Barcode Types and When to Use Each
UPC-A is the standard for products sold in the United States and Canada, encoding 12 digits. EAN-13 is used internationally and holds 13 digits. Both require an officially licensed company prefix if you sell through major retailers like Amazon or Walmart.
Code 39, Code 128, and ITF-14 are common for internal inventory, boxes, and logistics. Code 128 is compact and reliable for warehouse labels, while ITF-14 is designed for corrugated cartons. QR codes are separate and best for marketing links rather than checkout scanning.
Retail Product Codes Explained
Choose UPC-A if you sell packaged goods in North America and need retail acceptance. Choose EAN-13 if you sell in Europe, the UK, Australia, or on international marketplaces. Both need quiet zones and specific height requirements to scan at checkout speed.
ISBN barcodes for books are based on EAN-13 with a book-specific prefix and price add-on. If you publish books, get your ISBN from the official agency in your country rather than generating a random number.
Inventory and Internal Tracking Codes
For warehouse bins, office assets, or Etsy shop organization, Code 128 is usually the best choice. It supports letters and numbers, stays compact, and scans well with handheld and phone scanners. You can create your own sequential numbers without buying a retail prefix.
Code 39 is older and takes up more space, but some legacy systems still require it. Check what your inventory software supports before you commit. [Internal Link: Inventory Management System Setup] fits naturally here if you already track stock in software and want to link new labels directly to existing SKUs.
Key Facts for Beginners
- A barcode image alone does nothing until you link the number to a product in your system
- Retail barcodes need officially licensed numbers, internal labels do not
- UPC-A holds 12 digits, EAN-13 holds 13 digits, Code 128 holds letters and numbers
- White background with black bars scans most reliably
- Size, contrast, and quiet zones affect scan success more than color or design flair
- Always test with a real scanner before printing hundreds of labels
Getting a Valid Barcode Number
The number matters more than the image. For internal use, you can invent a logical system such as SKU-1001, BIN-A12, or 200001 upward. Keep numbers unique, avoid leading confusion like O versus 0, and record them in a spreadsheet before generating images.
For retail, you need a globally unique number from GS1. In the US, you license a company prefix from GS1 US, then assign product numbers underneath it. Resold or cheap numbers from auction sites often cause listing rejections on Amazon, so buy direct.
When You Need a GS1 Prefix
You need GS1 if you sell in major grocery chains, Target, Walmart, or through Amazon Brand Registry. These retailers validate your company prefix against the GS1 database. A single GTIN is affordable for one product, while a 10-pack prefix makes sense for small brands with a growing catalog.
If you only sell direct at farmers markets, on your own website, or through Etsy, you can often use internal SKUs with Code 128. Confirm with your sales channel first, since requirements vary widely.
Creating Your Own SKU Logic
Good SKUs are short, consistent, and meaningful without being too clever. Try category plus sequence, like TSH-BLK-M-001 for a black medium t-shirt. Keep it under 20 characters for Code 128 so the printed barcode stays compact.
Document your system in one master sheet with columns for barcode number, product name, variant, and date created. That sheet becomes the source of truth when you reprint labels or add new products later.
Step-by-Step Barcode Creation With an Online Generator
Online generators are the fastest way for beginners because there is no installation. Reputable options include the GS1 US Data Hub, Avery label tools, TEC-IT, and Barcode Generator sites built for business use. Avoid random image downloads that do not show the encoded number below the bars.
Before you generate, confirm the symbology, enter the full number including check digit if required, and set output to high-resolution PNG, SVG, or EPS for print. Low-resolution JPG files look fuzzy and cause scan failures.
Prepare Your Data Correctly
Double-check every digit before you click generate. For UPC and EAN, many generators calculate the final check digit automatically if you enter the first 11 or 12 digits. Copy the number from your spreadsheet rather than typing it to prevent transposition errors.
For Code 128, decide if you need numbers only or alphanumeric data. Keep the text short to keep bars clear. Save the file name to match the number, such as 850001234567.png, so you can find it later.
1. Choose Code 128 for internal tracking or UPC-A and EAN-13 for retail packaging
2. Enter your licensed or internal number exactly as stored in your system
3. Set size to at least 300 DPI and select PNG, SVG, or EPS for printing
4. Add human-readable text below the bars with the full number
5. Download and rename the file with the product SKU for easy organization
6. Scan the digital file with a phone app to confirm it decodes correctly
7. Place the image on your label layout with proper quiet zones before printing
Generating Barcodes in Excel or Google Sheets
If you manage dozens of SKUs, a spreadsheet add-on saves time. In Excel, you can use a barcode font like Libre Barcode 128 paired with a formula, or an add-in such as TBarCode. In Google Sheets, add-ons can generate Code 128 or QR codes in bulk from a column of numbers.
Spreadsheet fonts require exact start and stop characters to work, so follow the font instructions carefully. Always verify a few samples with a physical scanner, since screen previews can look fine while printing too thin.
Using Point of Sale and Inventory Software
Many systems like Shopify, Square, Lightspeed, and Sortly can generate barcodes automatically when you create a product. This is ideal because the number, label, and stock record stay linked without manual entry. Look for Print Labels or Generate Barcode under the product menu.
If your platform exports a CSV of products, you can mail-merge those numbers into Avery templates or Dymo software. That workflow prevents duplicates and keeps packaging consistent across variants.
Designing a Scannable Barcode Label
A clean label scans faster than a decorative one. Use black bars on a white matte background, leave clear quiet zones on both sides, and keep human-readable numbers underneath. Avoid placing barcodes over seams, folds, or glossy reflections.
Size matters. A standard UPC on packaging is about 1.5 inches wide by 1 inch tall including quiet zones. Do not shrink below 80 percent of standard size for retail, and keep Code 128 at least 1 inch wide for handheld scanners to read easily.
Ideal Sizing and Placement Rules
Place retail barcodes on the lower right back of packaging, away from edges and crimps. Keep at least 0.25 inches of white space left and right, plus 0.125 inches above and below. Never stretch the image disproportionately, only scale proportionally.
For small items like lip balm or vials, use a flag label or extended hang tag to gain space. Truncating height too much reduces scan distance. Test at actual checkout distance rather than holding the scanner extremely close.
Color and Background Best Practices
Black on white gives the highest contrast and works with every scanner. Dark blue, dark green, or black on matte white, cream, or light yellow also work. Avoid red bars or red backgrounds because red lasers often cannot see red ink.
Matte labels outperform glossy labels under store lights. If you must use gloss, leave the barcode area matte with a white patch. [Internal Link: Custom Product Label Design Tips] can help if you want branded packaging that still keeps the scan area clean and compliant.
Printing Barcodes That Scan Every Time
Use a laser printer or thermal transfer printer for crisp edges. Inkjet ink can bleed on plain paper and create fuzzy bars that scanners misread. For shipping and warehouse use, a direct thermal printer like Dymo, Rollo, or Zebra is fast and cost-effective.
Set print quality to Best or 300 DPI minimum and disable any toner-save mode. Print a single proof first, then scan it from multiple angles and distances before running the full batch.
Choosing Paper and Printer Settings
Matte white polyester or paper labels with permanent adhesive work for most products. Use weatherproof labels for outdoor gear, cold storage, or bath products. Thermal direct labels fade in heat and sunlight, so use thermal transfer with ribbon for long-term inventory.
In printer settings, select Actual Size instead of Fit to Page to prevent accidental shrinking. Turn off dithering or image smoothing for barcodes, since those features blur sharp edges.
Pre-Print Checklist
- Confirm barcode number matches spreadsheet and product record
- Use vector SVG or 300 DPI PNG, not low-resolution web images
- Print at 100 percent scale on matte white labels
- Keep quiet zones clear with no text, borders, or logos intruding
- Scan proof with phone app and handheld scanner if available
- Check readability in store lighting, not just office light
- Store original files in a labeled folder for reprints
Verifying Quality and Fixing Scan Problems
Test every new barcode before bulk printing. Use a free scanner app like ScanLife or the built-in camera on newer phones, plus a USB handheld scanner if you have access to one. Scan from 4 to 12 inches away, the typical range at checkout.
If scans fail, check size, contrast, and quiet zones first. Blurry edges usually mean low resolution or ink bleed. Partial scans often mean the code is too close to a box edge or curved around a bottle.
Common Scan Failures and Fixes
Narrow bars filling in is the top issue with inkjet printers and cheap paper. Switch to laser or thermal printing and increase bar width slightly if your software allows. Curved surfaces distort linear codes, so rotate the label or move to a flatter area.
Glare causes failures on laminated pouches and glossy boxes. Add a matte varnish patch over the code or reposition it away from direct light. If numbers smudge when rubbed, change to smudge-resistant labels or thermal transfer ribbon.
Tools for Professional Verification
For retail distribution, consider a verifier that grades barcodes from A to F based on ISO standards. Many packaging printers offer verification services for a small fee. Grade B or higher is generally accepted by grocery and big-box retailers.
At minimum, keep a log of test scans with device type, distance, and result. Recheck after any change in printer, label stock, or packaging design. Small shifts in materials can turn a working barcode into a failing one.
Free and Paid Barcode Tools Compared
Free generators are perfect for one-off labels, Etsy shops, and internal bins. Paid tools make sense when you need bulk generation, GS1 management, label design, and verification in one place. Choose based on volume and retail requirements, not just price.
Look for SVG export, batch CSV import, sequential numbering, and templates for Avery, Dymo, and Zebra. Avoid tools that watermark images or lock high-resolution downloads behind unclear subscriptions.
Popular Creation Methods at a Glance
Method: Free online generator
Best for: 1 to 20 codes, quick tests
Cost: Free
Pros: No install, fast, easy for beginners
Cons: Limited bulk features, manual organization
Method: Spreadsheet with barcode font
Best for: 20 to 500 internal SKUs
Cost: Free to low cost
Pros: Bulk creation, full control of data
Cons: Setup learning curve, formatting errors possible
Method: Inventory or POS built-in generator
Best for: Stores already using Shopify, Square, Lightspeed
Cost: Included with plan
Pros: Auto-linked to stock, easy reprints
Cons: Limited symbology choices
Method: Professional label software
Best for: Retail brands, warehouses, 500 plus labels
Cost: Monthly or one-time license
Pros: Batch design, GS1 tools, verifier support
Cons: Higher cost, more features than hobby users need
Saving Money Without Risking Rejection
Use free tools for internal tracking and QR codes without worry. Spend money where it protects retail acceptance, namely GS1 prefix licensing and high-quality label printing. A ten-dollar pack of proper matte labels often fixes more scan problems than expensive software.
Keep backups of every number and image. If a marketplace flags your listing, you will need proof of GS1 ownership and a clean, correctly sized image to resolve it quickly.
Conclusion
Reliable barcodes come down to correct numbers, the right symbology, and clean printing rather than fancy design. Pick UPC or EAN for retail with licensed GS1 numbers, use Code 128 for internal tracking, generate high-resolution images, and always test before bulk printing. Keep quiet zones clear and labels matte for best results.
Once your first batch scans smoothly, document the process so reorders stay consistent. Anyone learning how to make a barcode can repeat this workflow for new products, variants, and warehouse locations without starting from scratch each time.
Frequently Asked Questions
Can I Create a Barcode for Free?
Yes, you can create barcodes for free with online generators and spreadsheet fonts. Free tools work well for internal inventory and QR codes, but retail products still need licensed GS1 numbers.
Do I Need to Buy a Barcode Number?
You need to license numbers from GS1 for major retail and Amazon listings. For internal warehouse, office, or personal use, you can create your own unique SKU numbers at no cost.
Best Barcode Type for Small Business Inventory?
Code 128 is usually best for small business inventory because it is compact, supports letters and numbers, and scans reliably. It works with most handheld scanners and phone apps without retail registration.
Why My Printed Barcode Will Not Scan?
The most common causes are low resolution, wrong size, poor contrast, and missing quiet zones. Reprint at 300 DPI on matte white labels, keep clear margins, and test again.
How to Put a Barcode on Packaging?
Place a high-resolution image on the back lower right with clear white margins. Print at actual size on matte labels, include human-readable numbers below, and test with a real scanner before production.
